Patch to add support for Raspberry Pi CPU Temp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Raspberry Pi has a cpu temperature value available at /sys/class/
Tested on a Raspberry Pi 3, but sys class value dates back to 2013 (Raspberry Pi 1) and should run on all RPis.
The attached patch adds this value to /usr/lib/
--- /usr/lib/
+++ /usr/lib/
@@ -21,7 +21,7 @@
__cpu_
local i
- for i in $MONITORED_TEMP /sys/class/
+ for i in $MONITORED_TEMP /sys/class/
[ -r "$i" ] || continue
cat "$i"/*
@@ -30,9 +30,9 @@
__cpu_temp() {
local i t unit
- for i in $MONITORED_TEMP /sys/class/
+ for i in $MONITORED_TEMP /sys/class/
- *temp*_input)
+ *temp*_
Related branches
Changed in byobu: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
bzr commit -m '* usr/lib/ byobu/cpu_ temp: LP: #1587139 src/byobu/ byobu/ byobu/cpu_ temp
- add cpu temp support for rpi1, rpi2, and rpi3' --fixes 'lp:1587139'
Committing to: /srv/media/
modified debian/changelog
modified usr/lib/
Committed revision 2515.