[Bug 435571] [NEW] Conky looks in the wrong sysfs dir for hwmon temperature info

Ricardo Teixeira ricardo at ctrler.eu
Thu Sep 24 00:32:46 UTC 2009


Public bug reported:

Binary package hint: conky

ctrler at jupiter:~$ lsb_release -d
Description:	Ubuntu karmic (development branch)

ctrler at jupiter:~$ apt-cache policy conky
conky:
  Installed: (none)
  Candidate: 1.7.2-0ubuntu1
  Version table:
     1.7.2-0ubuntu1 0
        500 http://pt.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status


When I add the following line in .conkyrc to get my cpu temperature from hwmon:

CPU Temp: ${hwmon 0 temp 1}°Cr

I get the following error when starting conky:

Conky: can't open '/sys/class/hwmon/hwmon0/device/temp1_input': No such file or directory
please check your device or remove this var from Conky
Conky: X Error: type 0 Display 9ee7788 XID 0 serial 25 error_code 3 request_code 61 minor_code 0 other Display: 9ee7788
Aborted (core dumped)

What I think is happening Conky is looking in the wrong place because
there is nothing in /sys/class/hwmon/hwmon0/device/temp1_input:

ctrler at jupiter:~$ cat /sys/class/hwmon/hwmon0/device/temp1_input
cat: /sys/class/hwmon/hwmon0/device/temp1_input: No such file or directory

and the file with the temperature information is actually in
/sys/class/hwmon/hwmon0/temp1_input as you can see here:

ctrler at jupiter:~$ cat /sys/class/hwmon/hwmon0/temp1_input
34000
ctrler at jupiter:~$ cat /sys/class/hwmon/hwmon0/temp1_label 
CPU Temperature

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

-- 
Conky looks in the wrong sysfs dir for hwmon temperature info
https://bugs.launchpad.net/bugs/435571
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list