It could be evaluating `/proc/device-tree/soc/ranges` incorrectly, but
it looks good on line 86 in c_gpio.c from rpi.gpio_0.6.5 from example
(https://www.iot-programmer.com/index.php/books/22-raspberry-pi-and-the-
iot-in-c/chapters-raspberry-pi-and-the-iot-in-c/59-raspberry-pi-and-the-
iot-in-c-memory-mapped-gpio?start=1).

I note that your `$ cat /proc/cpuinfo` shows the expected hardware
`Hardware : BCM2835` as per line 100 of c_gpio.c of rpi.gpio_0.6.5
(https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/rpi.gpio/0.6.5-1ubuntu0.18.04.1/rpi.gpio_0.6.5.orig.tar.gz)...
suggesting ARM1176JZF-S is on board.

What I notice of as mentioned line 100 is it expects a tab between
"Hardware" and the semicolon. Did you doctor your cat output in any way?
Maybe the whitespace separator unexpectedly changed and it could not get
the value from "/proc/device-tree/soc/ranges"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902177

Title:
  Pi 4B rev 1.4 not recognized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpi.gpio/+bug/1902177/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to