Public bug reported:

Binary package hint: byobu

On my router powered by Atom D510 byobu does not give CPU temperature
information. Fix is easy:

hrw@krzys:/usr/lib/byobu$ diff -u cpu_temp.orig cpu_temp
--- cpu_temp.orig       2011-06-18 22:24:18.670550693 +0200
+++ cpu_temp    2011-06-18 22:24:20.660550718 +0200
@@ -33,7 +33,7 @@
        exit 0
 fi
 
-for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/temp*_input 
/proc/acpi/ibm/thermal $DIR/*/temperature; do
+for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/device/temp*_input 
/proc/acpi/ibm/thermal $DIR/*/temperature; do
        case "$i" in
                *temp*_input)
                        [ -s "$i" ] && t=$(awk '{printf "%0.f",$1/1000}' "$i")
--- 
Architecture: amd64
DistroRelease: Ubuntu 11.04
Package: byobu 3.33-0ubuntu1 [modified: usr/lib/byobu/cpu_temp]
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 3.0-1.2-server 3.0.0-rc3
ScreenRC:
 
Tags:  natty
Uname: Linux 3.0-1-server x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm sudo

** Affects: byobu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected natty patch

** Tags added: apport-collected natty

** Description changed:

  Binary package hint: byobu
  
  On my router powered by Atom D510 byobu does not give CPU temperature
  information. Fix is easy:
  
  hrw@krzys:/usr/lib/byobu$ diff -u cpu_temp.orig cpu_temp
  --- cpu_temp.orig       2011-06-18 22:24:18.670550693 +0200
  +++ cpu_temp    2011-06-18 22:24:20.660550718 +0200
  @@ -33,7 +33,7 @@
          exit 0
   fi
   
  -for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/temp*_input 
/proc/acpi/ibm/thermal $DIR/*/temperature; do
  +for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/device/temp*_input 
/proc/acpi/ibm/thermal $DIR/*/temperature; do
          case "$i" in
                  *temp*_input)
                          [ -s "$i" ] && t=$(awk '{printf "%0.f",$1/1000}' "$i")
+ --- 
+ Architecture: amd64
+ DistroRelease: Ubuntu 11.04
+ Package: byobu 3.33-0ubuntu1 [modified: usr/lib/byobu/cpu_temp]
+ PackageArchitecture: all
+ ProcEnviron:
+  SHELL=/bin/bash
+  LANG=pl_PL.UTF-8
+ ProcVersionSignature: Ubuntu 3.0-1.2-server 3.0.0-rc3
+ ScreenRC:
+  
+ Tags:  natty
+ Uname: Linux 3.0-1-server x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm sudo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799237

Title:
  No cpu temperature on Atom D510

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/799237/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to