Go to advanced search

by mikerr
Wed Jun 26, 2019 3:35 pm
Forum: General discussion
Topic: (again) Raspberry Pi sleep/standby modes software support
Replies: 2
Views: 60

Re: (again) Raspberry Pi sleep/standby modes software support

Some more info in this thread:
https://www.raspberrypi.org/forums/view ... 3&t=243421
but although the pi4 is better than previous models - it shuts down to 20 mA - there is no standby/sleep as yet.
by mikerr
Wed Jun 26, 2019 9:52 am
Forum: General discussion
Topic: Raspberry Pi 4 - Sleep Mode
Replies: 7
Views: 661

Re: Raspberry Pi 4 - Sleep Mode

Other Pi models continue to draw ~100mA in shutdown/halt. There is a minor mod to the 3B+ to get 11mA in shutdown state https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=207961&p=1287499#p1286828 but that doesn't work on the 4B The 4B by default shuts down to a decent 20mA draw When the 4B is ...
by mikerr
Tue Jun 25, 2019 4:06 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7249

Re: A Pi Pie Chart

Asus Tinkerboard gcc --version gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 ./pichart-openmp -t "Asus Tinkerboard" pichart -- Raspberry Pi Performance OPENMP version 30 Prime Sieve P=14630843 Workers=4 Sec=0.907341 Mops=1029.74 Merge Sort N=16777216 Workers=8 Sec=0.80095 Mops=502.72 Fourier Transform...
by mikerr
Tue Jun 25, 2019 3:41 pm
Forum: General discussion
Topic: PI4 identify 1,2 or 4GB version
Replies: 2
Views: 311

Re: PI4 identify 1,2 or 4GB version

Oops on my 4GB pi 4B

Code: Select all

 vcgencmd get_mem arm
arm=948M
So better use meminfo:

Code: Select all

grep MemTotal /proc/meminfo
MemTotal:        3999792 kB
by mikerr
Tue Jun 25, 2019 2:55 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 100
Views: 7249

Re: A Pi Pie Chart

Pi4B results (Just with raspbian's preinstalled gcc) gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 make gcc -std=gnu99 -O3 -mtune=native -march=native -Wall -o pichart-serial pichart.c util.c sieve.c merge.c fourier.c lorenz.c -lm gcc -std=gnu99 -O3 -mtune=native -march=native -Wall -fopenmp -o pi...
by mikerr
Tue Jun 25, 2019 2:39 pm
Forum: General discussion
Topic: Pi4 Sysbench results
Replies: 0
Views: 119

Pi4 Sysbench results

I previously ran sysbench to compare Pi3B and Asus Tinkerboard, so added pi4 to the mix: sysbench --num-threads=4 --test=cpu --cpu-max-prime=20000 --validate run Number of threads: 4 Pi 3B total time: 129.6265s per-request statistics: min: 47.69ms avg: 48.12ms Asus Tinkerboard total time: 82.5418s p...
by mikerr
Tue Jun 25, 2019 12:07 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 428
Views: 21445

Re: Raspberry Pi 4 Thread - general discussion

Have my hands on a pi4 now - yay ! So onto some quick power draw tests Idling on raspbian desktop: 562 mA 4 cores in use * 1005 mA Shutdown with sudo shutdown -h 20 mA *Quick way to busy the 4 cores: cat /dev/zero >/dev/null & cat /dev/zero >/dev/null & cat /dev/zero >/dev/null & cat /dev/zero >/dev...
by mikerr
Mon Jun 24, 2019 9:46 am
Forum: Teaching and learning resources
Topic: Scratch 3.0 please fix it NOW
Replies: 36
Views: 1208

Re: Scratch 3.0 please fix it NOW

Fixed in hardware (pi4) - hehe
by mikerr
Mon Jun 24, 2019 9:23 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 428
Views: 21445

Re: Raspberry Pi 4 Thread - general discussion

Fantastic news, got my 4GB order in earlier ! Looks like everything I wanted is there: - Faster CPU - Proper gigabit ethernet - USB3 - Oodles of RAM - Buster Struggling to find minor cons, but: - No IR (but cheap to add on) - No SATA ( USB3 - SATA is cheap though) - Single CSI (so compute module sti...
by mikerr
Sat Jun 22, 2019 2:14 pm
Forum: Python
Topic: Pythonanywhere
Replies: 4
Views: 694

Mikerr

Yes it's great for non interactive / graphical stuff.

Also take a look at trinket.io if you want to use pygame in browser ( or tkinter with a subscription)
by mikerr
Sun Jun 16, 2019 11:18 am
Forum: Off topic discussion
Topic: how heavy is raspbian ?
Replies: 30
Views: 1982

Re: how heavy is raspbian ?

There is a bare desktop download if you don't want all the apps preinstalled, or even raspbian lite if you don't even want the desktop. Raspbian stretch full desktop & all apps: 2GB download, 5.6GB installed Raspbian stretch desktop: 1GB download, 3.4GB installed Raspbian Lite: 400MB download, 1.9GB...
by mikerr
Tue May 28, 2019 11:27 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Debian x86 RPi Desktop and PiServer
Replies: 35
Views: 8630

Re: Debian x86 RPi Desktop and PiServer

Extract the boot & root filesystems from your premade .img : sudo kpartx -a yourOS.img mkdir boot root sudo mount /dev/mapper/loop0p1 boot sudo mount /dev/mapper/loop0p2 root sudo tar -C boot -cJf boot.xz . sudo tar -C root -cJf root.xz . Run those files through the piserver merger: piserver/scripts...
by mikerr
Sat Apr 27, 2019 11:12 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Brightness settings using GUI
Replies: 10
Views: 3685

Re: Brightness settings using GUI

Save it as brightness.py and run it with

Code: Select all

python brightness.py
by mikerr
Sun Apr 14, 2019 9:26 am
Forum: General discussion
Topic: how to change the logo boot ?
Replies: 15
Views: 1158

Re: how to change the logo boot ?

Replace the file /usr/share/plymouth/themes/pix/splash.png with your own (or just remove it for a blank screen)

Add logo.nologo to the end of the line in /boot/cmdline.txt to remove the four raspberries (on pi3)
by mikerr
Fri Mar 22, 2019 8:51 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 1450

Re: Sharing an existing folder using Samba

The whole page is full of errors and needs rewriting, I have offered to do this, but I will not do it on git-hub[...] If rpi would like me rewrite its Samba page, they only have to ask, but it will be written in the form of a text document Please post it here or a link to somewhere with it rewritte...
by mikerr
Thu Mar 21, 2019 7:14 pm
Forum: General discussion
Topic: Nexdock 2 - another shot
Replies: 9
Views: 725

Re: Nexdock 2 - another shot

I have the original NexDock here, and its been fine,
seems they have addressed the main drawback of that:
bluetooth keyboard&trackpad (which aren't the best and can't be used pre-boot)

The new one connects the keybaord and trackpad by USB
by mikerr
Thu Mar 21, 2019 11:57 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 1450

Re: Sharing an existing folder using Samba

I'd be happy to accept a pull request on changes to the docs in this area. And I would be quite willing to totally rewrite your Samba page, just not on git-hub , we left there and went to git-lab. I am a member of the Samba team and I have been trying, for some time, to point out to the Rpi team th...
by mikerr
Sun Mar 17, 2019 7:30 pm
Forum: Python
Topic: running two functions simultaneously
Replies: 16
Views: 914

Re: running two functions simultaneously

Python multiprocessing is now very easy to use. I used that in a practical way to ping the local subnet to discover all hosts: https://github.com/mikerr/Pingu Relevent part code is: def ping: .... hosts = [] for i in range(255): hosts.append("192.168.0." + str(i)) pool = ThreadPool(100) results = po...
by mikerr
Sat Mar 16, 2019 2:52 pm
Forum: General discussion
Topic: Graph & timeline of Pi Sales
Replies: 81
Views: 24358

Re: Graph & timeline of Pi Sales

Now 25 Million Pi, with > 9 million of them being pi3

https://www.raspberrypi.org/blog/raspbe ... le-now-35/ [ >9 million pi3 03/2018 ]
https://blog.adafruit.com/2019/03/15/25 ... spberrypi/ [ 25 million pi 15/03/2019]
by mikerr
Fri Mar 15, 2019 9:15 pm
Forum: General discussion
Topic: number of raspberry pi 3 made?
Replies: 18
Views: 1526

Re: number of raspberry pi 3 made?

Last actual reported figure was 23million, but that was a few months back...

Have a look here:
viewtopic.php?f=63&t=75996
by mikerr
Thu Mar 14, 2019 9:20 am
Forum: Other projects
Topic: Creating a stack of white elephants.
Replies: 8
Views: 773

Re: Creating a stack of white elephants.

Bitscope do ready made 10 pi clusters:

Image

http://my.bitscope.com/store/?p=view&i=item+4
by mikerr
Tue Jan 01, 2019 9:17 am
Forum: General discussion
Topic: Password storage idea
Replies: 16
Views: 982

Re: Password storage idea

Yes chrome extensions work on any Chrome browser, on any OS or platform, ARM or x86, same for Firefox.

I use lastpass and it works fine on the pi via chrome extension
by mikerr
Sat Dec 15, 2018 8:56 am
Forum: General discussion
Topic: Reflash Pi Zero W factory rom?
Replies: 18
Views: 1145

Re: Reflash Pi Zero W factory rom?

If it has the wrong revision, and so loading the wrong dtb,
would renaming the dtb file on SD work?
(Obviously just as an awful hack to get a working unit)

Go to advanced search