Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5313

General discussion • Re: Detect RPi 5 Best Practices?

$
0
0
Note that /proc/device-tree/compatible actually contains NULL-separated strings, so the output you get from a plain "cat" command is slightly misleading. This shows the two strings a bit better:

Code:

$ cat /proc/device-tree/compatible | tr '\0' '\n'raspberrypi,4-model-bbrcm,bcm2711

Statistics: Posted by AndrewS — Thu Jan 25, 2024 3:51 pm



Viewing all articles
Browse latest Browse all 5313

Trending Articles