Psychlist
Posts: 12
Joined: Wed Nov 21, 2018 11:41 am

How to find the serial number of a Pi 4?

Thu Aug 29, 2019 5:53 pm

How do I determine the serial number of a Raspberry Pi 4? The usual 'cat /proc/cpuinfo' method doesn't appear to work for a Pi 4.

Thanks,
Peter

trejan
Posts: 3606
Joined: Tue Jul 02, 2019 2:28 pm

Re: How to find the serial number of a Pi 4?

Thu Aug 29, 2019 5:57 pm

/proc/cpuinfo shows it here. Are you using a 64 bit kernel? /proc/cpuinfo works slightly differently there.

You can look in /sys/firmware/devicetree/base/serial-number as well

Psychlist
Posts: 12
Joined: Wed Nov 21, 2018 11:41 am

Re: How to find the serial number of a Pi 4?

Thu Aug 29, 2019 6:16 pm

Yes, it's a 64-bit kernel. Good catch. The alternative method works -- thanks for your help.

Cheers,
Peter

Return to “General discussion”