You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
/proc/cpuinfo in Ubuntu Core and Server does not contain "Hardware" and "Serial" fields. Instead some other files should be queried.
To get device model we can read /proc/device-tree/model. It contains data like Raspberry Pi 3 Model B Plus Rev 1.3\0 (notice the null byte at the end). Serial number is at /proc/device-tree/serial-number. Also /proc/device-tree/compatible contains info in such format: raspberrypi,3-model-b-plus brcm,bcm2837.
The text was updated successfully, but these errors were encountered:
/proc/cpuinfo
in Ubuntu Core and Server does not contain "Hardware" and "Serial" fields. Instead some other files should be queried.To get device model we can read
/proc/device-tree/model
. It contains data likeRaspberry Pi 3 Model B Plus Rev 1.3\0
(notice the null byte at the end). Serial number is at/proc/device-tree/serial-number
. Also/proc/device-tree/compatible
contains info in such format:raspberrypi,3-model-b-plus brcm,bcm2837
.The text was updated successfully, but these errors were encountered: