snip / OGN-receiver-RPI-image

Process to create a Raspberry Pi SD image for OGN receiver
GNU General Public License v3.0
17 stars 7 forks source link

Detect under-voltage power #10

Open snip opened 6 years ago

snip commented 6 years ago

https://www.raspberrypi.org/forums/viewtopic.php?t=158777 https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts#L1175 https://github.com/raspberrypi/linux/issues/1332 https://raspberrypi.stackexchange.com/questions/41087/how-to-know-the-input-voltage-on-raspbian

Still need to find how to report it.

snip commented 6 years ago

Remark: OS already detect under-voltage. See output of dmesg:

[ 3741.927786] Under-voltage detected! (0x00050005) [ 3766.887894] Voltage normalised (0x00000000) [ 3771.054320] Under-voltage detected! (0x00050005) [ 3875.048332] Voltage normalised (0x00000000)

snip commented 6 years ago

Maybe interesting to read: https://github.com/raspberrypi/linux/issues/2367

snip commented 6 years ago

And: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790

snip commented 2 years ago

vcgencmd get_throttled https://www.raspberrypi.com/documentation/computers/os.html#vcgencmd