No cpu temperature on Atom D510

Bug #799237 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Low
Dustin Kirkland 

Bug Description

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

Revision history for this message
Marcin Juszkiewicz (hrw) wrote : Binaries.txt

apport information

tags: added: apport-collected natty
description: updated
Revision history for this message
Marcin Juszkiewicz (hrw) wrote : Dependencies.txt

apport information

Revision history for this message
Marcin Juszkiewicz (hrw) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks for the fix! Committed.

Changed in byobu (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Dustin Kirkland (kirkland)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 4.17-0ubuntu1

---------------
byobu (4.17-0ubuntu1) oneiric; urgency=low

  * usr/bin/byobu-launch: LP: #802646
    - ensure that .profile gets sourced if launching byobu by default,
      but also make sure that we won't recurse, using a variable flag
  * usr/lib/byobu/cpu_temp: LP: #799237, #802819
    - fix temperature on Atom D510
  * usr/bin/byobu-status:
    - deprecated RUNDIR
  * debian/postinst, etc/byobu/socketdir, experimental/byobu-aggregate-
    status, experimental/byobu-status-all, === modified symlink
    usr/share/byobu/keybindings/common, === target was uf-keys,
    usr/bin/byobu, usr/bin/byobu-config, usr/bin/byobu-ctrl-a,
    usr/bin/byobu-disable, usr/bin/byobu-enable, usr/bin/byobu-export,
    usr/bin/byobu-janitor, usr/bin/byobu-launch, usr/bin/byobu-launcher,
    usr/bin/byobu-launcher-install, usr/bin/byobu-launcher-uninstall,
    usr/bin/byobu-quiet, usr/bin/byobu-reconnect-sockets, usr/bin/byobu-
    select-profile, usr/bin/byobu-shell, usr/bin/byobu-silent,
    usr/bin/byobu-status, usr/bin/byobu-status-detail, usr/bin/byobu-
    ugraph, usr/bin/byobu-ulevel, usr/lib/byobu/.common,
    usr/lib/byobu/.constants, usr/lib/byobu/custom,
    usr/lib/byobu/disk_io, usr/lib/byobu/ec2_cost,
    usr/lib/byobu/ip_address, usr/lib/byobu/logo,
    usr/lib/byobu/Makefile.am, usr/lib/byobu/mem_available,
    usr/lib/byobu/menu, usr/lib/byobu/network,
    usr/lib/byobu/.notify_osd, usr/lib/byobu/reboot_required,
    usr/lib/byobu/services, usr/lib/byobu/.shutil,
    usr/lib/byobu/updates_available, usr/share/byobu/keybindings/f-keys,
    usr/share/byobu/profiles/common, usr/share/man/man1/byobu.1,
    usr/share/man/man1/byobu-select-session.1: LP: #802122
    - massive reworking to globalize and standardize the use of
      + BYOBU_RUN_DIR, which is typically /var/run/screen/S-$USER/byobu
      + BYOBU_CONFIG_DIR, which is typically $HOME/.byobu
    - this rework should more easily allow us to support users who's
      SOCKETDIR is not /var/run/screen, and XDG_USER_DIRS users
  * usr/lib/byobu/.constants:
    - should probably export those
  * usr/bin/byobu-ctrl-a:
    - whitespace
  * etc/byobu/statusrc, usr/share/byobu/keybindings/f-keys,
    usr/share/byobu/keybindings/screen-escape-keys,
    usr/share/byobu/profiles/byoburc, usr/share/byobu/profiles/common,
    usr/share/byobu/profiles/screenrc, usr/share/man/man1/byobu.1:
    - fix up a few more references to BYOBU_CONFIG_DIR
  * usr/bin/byobu-ctrl-a, usr/bin/byobu-quiet, usr/bin/byobu-select-
    profile, usr/bin/byobu-select-session, usr/bin/byobu-silent,
    usr/bin/byobu-status:
    - fix up a few more $HOME/.$PKG refs to $BYOBU_CONFIG_DIR
  * usr/bin/byobu-janitor, usr/lib/byobu/.constants:
    - LP: #553105, #780081: support XDG user dirs
  * usr/lib/byobu/.shutil:
    - quiet printing of metadata service test
  * usr/bin/byobu-select-session:
    - need to use the screen binary, LP: #800496
  * debian/control:
    - modernized description
 -- Dustin Kirkland <email address hidden> Mon, 27 Jun 2011 14:14:17 +0000

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
William King (quentusrex) wrote :

backport the fix to natty?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.