Go to advanced search

by jahboater
Tue Feb 25, 2020 2:36 pm
Forum: Advanced users
Topic: minimum voltage (arm) ?
Replies: 2
Views: 58

Re: minimum voltage (arm) ?

Just curious, the base arm voltage is (reported as) 0.80125 without special over_voltage set. Is this the nominal (or close) volts specified for the Pi4 SoC ? Is this base voltage also a hard minimum, or else will the Arm tolerate some amount of under_voltage (aka "negative" over_voltage), and if i...
by jahboater
Tue Feb 25, 2020 2:32 pm
Forum: Beginners
Topic: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?
Replies: 5
Views: 257

Re: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?

Thanks. Speaking of the power button, is it more convenience if I have it? I'd wait until you have used the Pi for a bit. My Pi's are very rarely powered off - only when I need to do something physical (such as replacing the SD card). If you want to work with the GPIO, or fiddle with heatsinks/fans...
by jahboater
Mon Feb 24, 2020 11:32 pm
Forum: Beginners
Topic: Heatsink placement on 3B+
Replies: 5
Views: 159

Re: Heatsink placement on 3B+

I also agree with jahboater that simple vertical mounting is a great solution. I made a quick and dirty mount out of popsicle sticks as a temporary fix but ended up doing it for most of my home Pi setups. For a few friends and family members too. Look at this simple mount on the cover of the MagPi ...
by jahboater
Mon Feb 24, 2020 3:27 pm
Forum: Beginners
Topic: Running console command at startup
Replies: 14
Views: 242

Re: Running console command at startup

Where is "prowl_key.txt" ?
Perhaps you should supply the full path.

Also, does "prowl.pl" have a shebang line?
And does it have execute permission ?
by jahboater
Mon Feb 24, 2020 9:31 am
Forum: Beginners
Topic: Heatsink placement on 3B+
Replies: 5
Views: 159

Re: Heatsink placement on 3B+

+1 Also mount the board on edge in the open air. Mount the heat sinks with the fins aligned vertically (put the biggest one on the SoC). This months MagPi magazine has a handy plastic mount to hold a Pi vertically, free of charge! Be very careful with the thermal tape. There have been cases where th...
by jahboater
Sun Feb 23, 2020 7:38 pm
Forum: Advanced users
Topic: Is it possible to adjust when a Pi3 boosts CPU speed under load?
Replies: 2
Views: 102

Re: Is it possible to adjust when a Pi3 boosts CPU speed under load?

Chimneyfactory wrote:
Sun Feb 23, 2020 7:27 pm
Is it possible to modify these sort of settings within stock Raspbian Buster?
Take a look in

/sys/devices/system/cpu/cpufreq/ondemand

you can change the settings just by writing to the files.

echo 20 >up_threshold

may work. You will need root access of course.
by jahboater
Sun Feb 23, 2020 7:26 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

Heater wrote:
Sun Feb 23, 2020 7:19 pm
When a beginner is flashing a Raspberry Pi SD card for the first time they should not need to know anything about that. In which case Etcher works very well.
Of course it does.

The thread title starts with "What is a good replacement for Etcher", so we are looking for alternatives.
by jahboater
Sun Feb 23, 2020 7:23 pm
Forum: General discussion
Topic: To perform single task at a time on raspberry-pi
Replies: 10
Views: 285

Re: To perform single task at a time on raspberry-pi

As for the "nice" command, I suggest you read the man page for it. Type "man nice" into that terminal you have open. Or do a google search form "man nice" which will find the same online. That man page is not too helpful for increased priority. sudo nice --20 command note the two dashes. Its round ...
by jahboater
Sun Feb 23, 2020 7:10 pm
Forum: Python
Topic: Run the python interpreter nicer...
Replies: 3
Views: 136

Re: Run the python interpreter nicer...

Yes indeed.
I love the old UNIX commands - the name is actually meaningful.

If you have a quad core Pi then it should not be needed - there are three spare cores to run other programs.
by jahboater
Sun Feb 23, 2020 6:54 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: Unzipping in a pipeline

I'm not the one who is confused here. Granted, this discussion has reached kind of a high level, so the outcome is not surprising. Well, I'm confused. I did not understand what you are talking about. What we want is a nice tool to flash SD cards. You were commenting on internet services. As far as ...
by jahboater
Sun Feb 23, 2020 4:36 pm
Forum: General discussion
Topic: To perform single task at a time on raspberry-pi
Replies: 10
Views: 285

Re: To perform single task at a time on raspberry-pi

Thank you sir, for your reply, as you told that ensure that nothing run on machine while running my code....as I am very new to these coding languages and raspberry pi....please tell me how to do that Secondly how to use 'nice' command?? @Heater has answered this question well, with the same points...
by jahboater
Sun Feb 23, 2020 12:27 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

So I'm not sure if " unzip " is always there. gzip , of course, will always be there. Another advantage of gzip over unzip is that it accepts input from stdin. That is, you could I think (never tried it) do:- # curl URL | gzip -dc >/dev/sda Download, unzip, and write - all in one go! (without using...
by jahboater
Sun Feb 23, 2020 10:58 am
Forum: Beginners
Topic: SDcard
Replies: 1
Views: 77

Re: SDcard

Is a Sandisk Extreme 32 GB a good option? If you mean: https://www.amazon.co.uk/SanDisk-Extreme-microSDXC-Adapter-Performance/dp/B06XWMQ81P/ref=sr_1_3?crid=26WN26WDBB5ME&keywords=sandisk%2Bextreme%2B64gb%2Bmicrosdxc&qid=1582455393&sprefix=sandisk%2Bextreme%2Caps%2C168&sr=8-3&th=1 Yes I think they a...
by jahboater
Sun Feb 23, 2020 8:19 am
Forum: Beginners
Topic: Headless login practices?
Replies: 14
Views: 338

Re: Headless login practices?

To set the static IP address from the Pi, edit:

/etc/dhcpcd.conf

it has examples.
by jahboater
Sun Feb 23, 2020 8:13 am
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

It is great we have alternatives, but deriding a product to promote an alternative leaves a sour taste. Maybe Google's ChromeOS SD Card Creator is a good alternative ? https://www.raspberrypi.org/documentation/installation/installing-images/chromeos.md Err no that would send Analytics to Alphabet !...
by jahboater
Sun Feb 23, 2020 8:01 am
Forum: Beginners
Topic: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?
Replies: 5
Views: 257

Re: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?

I got the Desktop kit mostly because it comes with the micro HDMI cables, power supply and case. The keyboard with built in USB hub is nice. My only complaint is the giant full size mouse. I wish the mouse was smaller I wish the keyboard was bigger! My Pi4 came from here: https://thepihut.com/produ...
by jahboater
Sat Feb 22, 2020 11:59 pm
Forum: General discussion
Topic: Raspberry Pi Zero: please use with a CPU cooler!
Replies: 29
Views: 959

Re: Raspberry Pi Zero: please use with a CPU cooler!

Look at the run queue length for an indication of the load. The two commands "uptime" and "top" (and htop) both show the load averages for 1, 5, and 15 minutes. The load average is really the average run queue length which is the number of "runnable" jobs waiting for a CPU. CPU's are always either i...
by jahboater
Sat Feb 22, 2020 7:03 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

This is all very interesting. I used blockdev to get the info for the Pi's SD card (64GB Sandisk A1 class) For writes it may be more interesting to see if your card reports the erase block size, e.g.: $ cat /sys/block/mmcblk0/device/preferred_erase_size 4194304 Its the same as yours, 4MiB Does that...
by jahboater
Sat Feb 22, 2020 5:59 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

Earlier I speculated that cp's choice of 128KB for its block size was somehow related to the kernels readahead.

// readahead (in 512-byte sectors)
pi@raspberrypi:~ $ sudo blockdev --getfra /dev/mmcblk0
256

That is 128KB !! cool.

You learn something every day here.
by jahboater
Sat Feb 22, 2020 5:51 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

This is all very interesting. I used blockdev to get the info for the Pi's SD card (64GB Sandisk A1 class) // block size in bytes pi@raspberrypi:~ $ sudo blockdev --getbsz /dev/mmcblk0 4096 // physical block (sector) size pi@raspberrypi:~ $ sudo blockdev --getpbsz /dev/mmcblk0 512 // logical sector ...
by jahboater
Sat Feb 22, 2020 4:48 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

That doesn't really matter. It will pre-read blocks in advance as long as you don't tell it not to. So it will keep the destination device busy. You can try it yourself. You will see there is not a huge difference between 128 KiB and 1 or 4 MiB ;) The later is what i usually use for block sizes and...
by jahboater
Sat Feb 22, 2020 3:30 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

I prefer dd over cp/cat because you can control the block size. NAND flash has large pages these days so it's a good idea to write in blocks a multiple of the page size. It's faster and causes less wear. What block size do you suggest? cp and cat use 128KB blocks which seem reasonable to me. I avoi...
by jahboater
Sat Feb 22, 2020 3:12 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

Note that I'm never quite sure what is and isn't installed-by-default in Raspbian. Several perfectly obvious, for all practical purposes essential, utilities are not installed-by-default (I always have to manually install them when setting up a new system). So I'm not sure if " unzip " is always th...
by jahboater
Sat Feb 22, 2020 11:44 am
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

GlowInTheDark wrote:
Sat Feb 22, 2020 10:51 am

Code: Select all

# cat /path/to/image.img > /dev/sda
or

Code: Select all

# unzip -p /path/to/image.img >/dev/sda
which does the unzip and copy in one go (like etcher).

To be fair, one must double check sda is the right disk.
by jahboater
Sat Feb 22, 2020 9:27 am
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 9169

Re: What is a good replacement for Etcher (ads and ignores privacy)

I think people are upset about the fact that it (apparently) requires a network connection to run - and can be seen to be doing network communication while running (if you use something like Wireshark or tcpdump on it). Given what the program does, there is no reason for it to be doing any network ...

Go to advanced search