Go to advanced search

by lpsw
Tue Nov 16, 2021 7:09 pm
Forum: Python
Topic: Python 3.9 Bullseye
Replies: 17
Views: 773

Re: Python 3.9 Bullseye

If I am right, it seems that invoking python will do different things depending on what OS variant has been installed? Very confusing indeed. This is going to cause many problems, starting with this thread. IMO python2 should be immediately removed from the full image, so that its all consistent. O...
by lpsw
Sun Nov 07, 2021 5:21 pm
Forum: General discussion
Topic: The Raspberry Pi Zero 2 W Thread
Replies: 378
Views: 18811

Re: The Raspberry Pi Zero 2 W Thread

There's also the no-solder "hammer" headers for the solder-challenged.

TBH, I haven't tried them but I know of others that have, with success.
by lpsw
Sun Oct 31, 2021 6:01 am
Forum: Troubleshooting
Topic: RPI 0 W : Connecting to Bluetooth error
Replies: 3
Views: 167

Re: RPI 0 W : Connecting to Bluetooth error

Thanks for the info, good to know.
by lpsw
Sat Oct 30, 2021 5:36 pm
Forum: Raspberry Pi OS
Topic: Known-good Stretch image won't boot on Zero 2 - PARTIAL SOLUTION
Replies: 4
Views: 341

Re: Known-good Stretch image won't boot on Zero 2 - PARTIAL SOLUTION

It is a drop-in , from a form factor point of view.
Older distributions of the Raspberry Pi OS are not indented to run on the Zero 2 W.
Different silicon.
by lpsw
Sat Oct 30, 2021 3:57 am
Forum: Troubleshooting
Topic: RPI 0 W : Connecting to Bluetooth error
Replies: 3
Views: 167

Re: RPI 0 W : Connecting to Bluetooth error

Which OS/version?

Code: Select all

uname -a
cat /etc/os-release
by lpsw
Fri Oct 29, 2021 9:27 pm
Forum: General discussion
Topic: The Raspberry Pi Zero 2 W Thread
Replies: 378
Views: 18811

Re: The Raspberry Pi Zero 2 W Thread

9pi wrote:
Fri Oct 29, 2021 9:17 pm
Is there a label which can be used in config.txt to filter settings for Pi Zero 2 W only? Settings labelled with [pi0w] are applied also to Pi Zero 2 W, but some settings (eg kernel=) will not be appropriate for both!
viewtopic.php?t=322587&hilit=filter
by lpsw
Fri Oct 29, 2021 6:49 am
Forum: Raspberry Pi OS
Topic: Optimized OS for running python code
Replies: 8
Views: 498

Re: Optimized OS for running python code

or..."Compile once, debug everywhere" :D
by lpsw
Thu Oct 28, 2021 3:36 pm
Forum: General discussion
Topic: The Raspberry Pi Zero 2 W Thread
Replies: 378
Views: 18811

Re: The Raspberry Pi Zero 2 W Thread

Sweet. Nice work all. Mine is on the boat already.
by lpsw
Wed Oct 27, 2021 3:16 am
Forum: Networking and servers
Topic: Can't use all ram on my raspberry pi 4
Replies: 6
Views: 327

Re: Can't use all ram on my raspberry pi 4

The free command is a snapshot in time.
In a (separate) terminal window,

Code: Select all

free -s 5
...and keep an eye on the output of free while you start up Minecraft in a separate session.
by lpsw
Mon Oct 18, 2021 5:08 pm
Forum: Beginners
Topic: Raspberry pi pico not detected as HID
Replies: 5
Views: 210

Re: Raspberry pi pico not detected as HID

pidd wrote:
Mon Oct 18, 2021 1:58 pm
What program have you got loaded on the pico?
Good question.
Hopefully not a Rubber Ducky (perchance the term "victim" was on the spot)
by lpsw
Thu Oct 14, 2021 8:57 pm
Forum: General discussion
Topic: Why is the pi 4 nearly 10 times slower than Intel XEON 2.4 Ghz chips?
Replies: 50
Views: 2865

Re: Why is the pi 4 nearly 10 times slower than Intel XEON 2.4 Ghz chips?

I appreciate all the contributions to this interesting thread.

My benchmark (at my advanced age) is comprised of, in no particular order:
1) Does the machine do what I want it to do in a reasonable fashion
2) Does it fit in my pocket (normal bluejeans pocket)
3) Does it fit in my budget

Pi wins.
by lpsw
Wed Oct 13, 2021 6:56 pm
Forum: Beginners
Topic: sudo: unable to resolve host raspbian30: Name or service not known
Replies: 12
Views: 474

Re: sudo: unable to resolve host raspbian30: Name or service not known

PS...note that the hostname command is effective only until the next reboot.
See

Code: Select all

man hostname
by lpsw
Wed Oct 13, 2021 5:59 pm
Forum: Beginners
Topic: sudo: unable to resolve host raspbian30: Name or service not known
Replies: 12
Views: 474

Re: sudo: unable to resolve host raspbian30: Name or service not known

Did you reboot after changing the hostname?
In general, in the last a couple years, perhaps we are moving forward too fast, and it introduced a lot of other strange issues into the Raspbian
Care to elaborate?
by lpsw
Mon Oct 04, 2021 2:08 am
Forum: Ubuntu
Topic: Ubuntu 20.04 i2c failed
Replies: 1
Views: 190

Re: Ubuntu 20.04 i2c failed

Have you checked Ubuntu/canonical?
by lpsw
Mon Oct 04, 2021 2:05 am
Forum: Troubleshooting
Topic: Brand new SSH issue
Replies: 18
Views: 771

Re: Brand new SSH issue

Understood. You've probably done this...but have you checked your router's current address assignments for an address conflict?
by lpsw
Mon Oct 04, 2021 1:44 am
Forum: Troubleshooting
Topic: Brand new SSH issue
Replies: 18
Views: 771

Re: Brand new SSH issue

Any chance your DHCP server had already assigned .165 to something else?
by lpsw
Tue Sep 28, 2021 5:08 pm
Forum: Beginners
Topic: Why do software versions that come with PiOS seem old?
Replies: 19
Views: 1678

Re: Why do software versions that come with PiOS seem old?

AIUI the original and still current goal of the RPF is to introduce young folk to computer science (software and hardware, using scratch/python/gpio, etc.). In this case, Debian was the logical choice. Bleeding edge stuff would have conflicted with that goal. There are alternate operating systems fo...
by lpsw
Thu Sep 23, 2021 7:05 pm
Forum: General discussion
Topic: Buying Pi Products in the U.S.
Replies: 3
Views: 335

Re: Buying Pi Products in the U.S.

https://chicagodist.com
Sill has some pi4 4GB (at the time of this writing).

Pretty much everyone running (out or will be soon).
by lpsw
Thu Sep 23, 2021 1:41 pm
Forum: Troubleshooting
Topic: horizontal noise on boot
Replies: 2
Views: 136

Re: horizontal noise on boot

HDMI cable?
Are you using an HDMI adapter?
by lpsw
Sat Sep 18, 2021 5:28 pm
Forum: Troubleshooting
Topic: Poor performance when booting from HDD.
Replies: 6
Views: 316

Re: Poor performance when booting from HDD.

the HDD now reads at about 80MB/s and is consistently detected.
How did you test this?
by lpsw
Tue Sep 14, 2021 5:56 pm
Forum: General discussion
Topic: CPU frequency
Replies: 33
Views: 2110

Re: CPU frequency

kcajminer2312 wrote: ↑ Mon Sep 06, 2021 4:39 pm I ran all of them, there was no output Sudo -i just su does the same thing Ummm, no they are not the same thing Also you never said run the as root "Permission denied" should have been a clue... I'm still curious as to how scaling_governor g...
by lpsw
Sat Sep 11, 2021 4:28 pm
Forum: General discussion
Topic: CPU frequency
Replies: 33
Views: 2110

Re: CPU frequency

Somehow, by some means, your setting for scaling_governor changed from the default (ondemand) to performance.
Any idea how that happened?
by lpsw
Sat Sep 11, 2021 4:02 pm
Forum: General discussion
Topic: CPU frequency
Replies: 33
Views: 2110

Re: CPU frequency

Incorrect. ondemand is the default.

Code: Select all

pi@pi-3:~ $ uname -a
Linux pi-3 5.10.52+ #1441 Tue Aug 3 18:08:18 BST 2021 armv6l GNU/Linux

pi@pi-3:~ $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ondemand
by lpsw
Sat Sep 11, 2021 2:50 pm
Forum: General discussion
Topic: CPU frequency
Replies: 33
Views: 2110

Re: CPU frequency

echo ondemand > scaling_governor
...which, IIRC, is the default.
by lpsw
Sat Sep 11, 2021 1:40 pm
Forum: Raspberry Pi OS
Topic: Suggestion: remove NOPASSWD for pi
Replies: 43
Views: 2343

Re: Suggestion: remove NOPASSWD for pi

It appears to me that one of the guiding principles of RasPiOS is simplicity, but with more than a modest degree of security. Since NOPASSWD makes the system more difficult to use for new users, I'd suggest leaving it out by default, and adding a new option to raspi-config to change it. People lear...

Go to advanced search