fourcube / detect-rpi

Detects if node is running on a Raspberry Pi.
MIT License
18 stars 6 forks source link

Raspberry Pi 4 Model B Rev 1.1 not recognised #6

Open voidbrain opened 3 months ago

voidbrain commented 3 months ago

cat /proc/cpuinfo doesn't show me the Hardware entry or the microprocessor model. 'Raspberry Pi 4 Model B Rev 1.1' is readable on Model so it should be included to the PI_MODEL_NO array.

'BCM2711', // Raspberry Pi 4B
'Raspberry Pi 4 Model B Rev 1.1', // Raspberry Pi 4 Model B Rev 1.1
'BCM2712' // Raspberry Pi 5
fourcube commented 3 months ago

Hi, thank you for reaching out.

Can you please provide the complete output of cat /proc/cpuinfo?

MaartenBent commented 3 months ago

I encountered the same problem. Apparently /proc/cpuinfo doesn't include Hardware anymore for 64bit Raspberry Pi OS Bookworm. https://forums.raspberrypi.com/viewtopic.php?t=361462 https://github.com/raspberrypi/bookworm-feedback/issues/129