Go to advanced search

by Milliways
Sun Nov 14, 2021 4:36 am
Forum: Beginners
Topic: Very New, Very Frustrated
Replies: 26
Views: 1391

Re: Very New, Very Frustrated

This may not be a popular comment, and I expect adverse comments, but the Pi Zero (all models) are cheap rubbish, like the toys that came in cereal packets, designed to be given away free on a magazine cover. They use a collection of non-standard connectors (requiring adapters). The layout is poor (...
by Milliways
Sat Nov 13, 2021 3:57 am
Forum: General discussion
Topic: Feedback on website split
Replies: 92
Views: 4749

Re: Feedback on website split

jamesh wrote:
Thu Oct 07, 2021 8:43 am
trejan wrote:
Wed Oct 06, 2021 4:58 pm
cleverca22 wrote:
Wed Oct 06, 2021 4:56 pm
i suspect its a theme specific bug
Ah. If you're using prosilver then yes, it is missing since it is part of theme. Web team needs to edit the theme to add that link or use the favicon.ico fallback.
They are aware, should be fixed today.
It DID work, but seems to be broken again.
by Milliways
Thu Nov 11, 2021 1:57 am
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 488
Views: 27206

gpioinfo broken

I installed gpiod, libgpiod-dev & python3-libgpiod (on Pi3B+) fully updated

Running gpioinfo virtually all "lines" show the same, no meaningful information

Code: Select all

line   0:      unnamed       unused   input  active-high 
by Milliways
Wed Nov 10, 2021 6:21 am
Forum: Advanced users
Topic: Bullseye ssh host keys
Replies: 21
Views: 784

Re: Bullseye ssh host keys

Previous images have dated the files the day I installed them.

As I said this doesn't inspire confidence, and it wouldn't be the first image with errors.

Including the date in fake-rtc file in the image is also an error, although trivial.
by Milliways
Wed Nov 10, 2021 1:05 am
Forum: Raspberry Pi OS
Topic: STICKY: Bullseye - Comments and bug reports thread.
Replies: 488
Views: 27206

dtparam=act_led_trigger=heartbeat does not work (on Pi3B+)

I added

Code: Select all

dtparam=act_led_trigger=heartbeat
to config.txt but this seems to have no effect.

If I run the following it works

Code: Select all

echo heartbeat | sudo tee /sys/class/leds/led0/trigger
by Milliways
Tue Nov 09, 2021 11:45 pm
Forum: Advanced users
Topic: Bullseye ssh host keys
Replies: 21
Views: 784

Re: Bullseye ssh host keys

I have installed Bullseye and in the process of configuring ssh I noted that host keys in /etc/ssh are all dated 2021-10-30. This is the save date as the image, and seems to imply that the keys are part of the image so everyone will have the same. I had always thought the host keys were generated o...
by Milliways
Tue Nov 09, 2021 11:06 pm
Forum: Advanced users
Topic: Bullseye ssh host keys
Replies: 21
Views: 784

Bullseye ssh host keys

I have installed Bullseye and in the process of configuring ssh I noted that host keys in /etc/ssh are all dated 2021-10-30. This is the save date as the image, and seems to imply that the keys are part of the image so everyone will have the same. I had always thought the host keys were generated on...
by Milliways
Tue Nov 09, 2021 10:37 am
Forum: Raspberry Pi OS
Topic: STICKY - How to upgrade a Buster image to Bullseye
Replies: 82
Views: 25584

Re: STICKY - How to upgrade a Buster image to Bullseye

I had used RonR's script to upgrade for testing on a fresh Buster. I just did an fresh installation of the release image. The Fresh install & reinstall apps took considerably less time and effort. There were a few other differences I noted. WiringPi is missing from fresh install (as expected). T...
by Milliways
Thu Nov 04, 2021 12:24 pm
Forum: General discussion
Topic: Getting started, Python or C
Replies: 45
Views: 1287

Re: Getting started, Python or C

If you are going to use wiring pi then look at https://github.com/WiringPi the future development of it. Have you ACTUALLY tried this? It is a laudable ambition to keep WiringPi going but this definitely isn't it. It might work for older processors but fails to support BCM2711 which has significant...
by Milliways
Wed Nov 03, 2021 11:41 pm
Forum: General discussion
Topic: Getting started, Python or C
Replies: 45
Views: 1287

Re: Getting started, Python or C

I have tried and used dozens of languages, starting with Fortran 4 & COBOL 68. The trick is to pick the right one for the task; of course you need to develop some expertise to do this. A couple of case histories. I was working with a colleague to resurrect some 1970 computer hardware. I still ha...
by Milliways
Wed Nov 03, 2021 11:17 pm
Forum: General discussion
Topic: Getting started, Python or C
Replies: 45
Views: 1287

Re: Getting started, Python or C

thanks, i've already started writing some stuff using wiringPi http://wiringpi.com/ which is built in to the OS so i guess that's the recommended way? seems easy enough so far but i've just done some basic IO. not sure how well the support will be when i start interfacing things like motion sensors...
by Milliways
Tue Nov 02, 2021 3:32 am
Forum: Troubleshooting
Topic: Pi 0 2 w does not work with 64 Bit Raspberry Pi OS
Replies: 48
Views: 2313

Re: Pi 0 2 w does not work with 64 Bit Raspberry Pi OS

Just tried out the latest available 64 bit OS build for Pi OS: https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip It gets stuck on a rainbow screen. I tried the 32 bit image, it worked just fine. What possible reason is there to use a...
by Milliways
Mon Nov 01, 2021 11:11 pm
Forum: Raspberry Pi OS
Topic: When will Raspberry Pi OS be taken seriously by the foundation?
Replies: 18
Views: 1470

Re: When will Raspberry Pi OS be taken seriously by the foundation?

Bullsye has been in development for years, with a frozen status for months before going 'stable'. Before anyone calls out I can contribute,, I've already commited a respectable amount of code back to the community and RPi projects, but I don't have the manpower to fix everything that is delayed/bro...
by Milliways
Tue Oct 26, 2021 8:43 am
Forum: Device Tree
Topic: Incompatibility between gpiochip and Device Tree
Replies: 7
Views: 443

Re: Incompatibility between gpiochip and Device Tree

Thanks. I will have to study further to see what pinctrl does. It doesn't change the fact that gpiochip lies in reporting function! No, GPIO just doesn't know about alternative functions. Recollecting conversations with PhilE, it was a thing that Nokia pushed for in separating pin muxing and GPIO. ...
by Milliways
Mon Oct 25, 2021 10:54 pm
Forum: Device Tree
Topic: Incompatibility between gpiochip and Device Tree
Replies: 7
Views: 443

Re: Incompatibility between gpiochip and Device Tree

This suggests there are some issues/incompatibility between gpiochip and Device Tree Difference between pinctrl and gpio. Function muxing is down to pinctrl. gpio is only worried about input or output, and high or low. "sudo cat /sys/kernel/debug/pinctrl/fe200000.gpio-pinctrl-bcm2711/pinmux-pi...
by Milliways
Mon Oct 25, 2021 1:48 am
Forum: Device Tree
Topic: Incompatibility between gpiochip and Device Tree
Replies: 7
Views: 443

Incompatibility between gpiochip and Device Tree

I have been experimenting with using UART2 on the Pi4. Initially I was sceptical as GPIO 0/1 are used for HATs and used to be marked as Reserved. Using the following it appears to work. force_eeprom_read=0 dtoverlay=uart2 Using chipline.py from http://abyz.me.uk/lg/py_lgpio.html shows:- offset=0 fla...
by Milliways
Wed Oct 13, 2021 10:18 am
Forum: Advanced users
Topic: [SOLVED] where is 19.2 MHz PWM clock set?
Replies: 5
Views: 443

Re: where is 19.2 MHz PWM clock set?

Page 105 of https://datasheets.raspberrypi.org/bcm2835/bcm2835-peripherals.pdf is the primary source for clock info. The rest I found sprinkled around sites/code/documents I don't remember. I am intimately familiar with this document, even if much of it is obscure. I am used to working with devices...
by Milliways
Tue Oct 12, 2021 11:51 pm
Forum: Advanced users
Topic: [SOLVED] where is 19.2 MHz PWM clock set?
Replies: 5
Views: 443

Re: where is 19.2 MHz PWM clock set?

19.2 MHz is the crystal. Remember the Pi4 variants have a 54 MHz crystal. Some info in my source here http://abyz.me.uk/rpi/pigpio/examples.html#Misc_minimal_clk The PWM clock is set in exactly the same way as all the other clocks. Thanks Joan Unfortunately I don't "remember" and AFAIK ha...
by Milliways
Tue Oct 12, 2021 6:54 am
Forum: Advanced users
Topic: [SOLVED] where is 19.2 MHz PWM clock set?
Replies: 5
Views: 443

[SOLVED] where is 19.2 MHz PWM clock set?

I have been writing some code using hardware PWM. It is working, and doing what I expected. The Peripherals documentation states "Both modes clocked by clk_pwm which is nominally 100MHz, but can be varied by the clock manager." and "PWM clock source and frequency is controlled in CPRM...
by Milliways
Thu Sep 30, 2021 4:29 am
Forum: Advanced users
Topic: ssh - omit remote host identification for RPi
Replies: 7
Views: 639

Re: ssh - omit remote host identification for RPi

I have about 20 SD Cards and many Pi, all of which can boot from any SD (assuming the Pi model supports the OS). I do this by the simple expedient of ensuring all SD have the same host keys (which I refresh from time to time). After a fresh OS install I backup #PBackup ssh host keys cd /etc/ssh sudo...
by Milliways
Tue Sep 28, 2021 1:07 am
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3458

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

dpc wrote:
Mon Sep 27, 2021 8:40 pm
Also, the raspi-config for "predictable network i/f names" is still broken with this update.
It is possible to restore eth0 etc with the option net.ifnames=0 in cmdline.txt
by Milliways
Sun Sep 26, 2021 8:01 am
Forum: Advanced users
Topic: /proc/device-tree/soc/ranges documentation
Replies: 3
Views: 360

[SOLVED] /proc/device-tree/soc/ranges documentation

Thanks, I had kind of figured some of this out, but was (and still am) confused by the Pi4. I had written some code to print out but will enhance with additional properties. I will have to do some more reading of the spec, but my initial interpretation is that ranges would be required by any DT that...
by Milliways
Sun Sep 26, 2021 5:41 am
Forum: Advanced users
Topic: /proc/device-tree/soc/ranges documentation
Replies: 3
Views: 360

/proc/device-tree/soc/ranges documentation

A number of popular libraries use /proc/device-tree/soc/ranges to determine the peripheral base address.

Is there any documentation for this?
Is it specific to Raspberry Pi OS?
by Milliways
Tue Sep 07, 2021 4:41 am
Forum: General discussion
Topic: Documentation stuffup
Replies: 53
Views: 3357

vcgencmd Documentation stuffup

Running vcgencmd produces the following link to a non-existent page

For further documentation please see
https://www.raspberrypi.org/documentati ... cgencmd.md

Go to advanced search