Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #912306

Bug#905911: Conky does not work because hwmon path is not persistent !

From Carmelo C <carmelo.debian@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#905911: Conky does not work because hwmon path is not persistent !
Date 2018-08-11 17:10 +0200
Message-ID <wlDGF-6x2-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: linux-image-4.9.0-7-amd64
Version: 4.9.110-3+deb9u1
Severity: normal


<< Dear Maintainer,

I installed from scratch firmware-9.4.0-amd64-netinst.iso

I installed conky to display the sensors in the desktop.

The modules that load on the desktop are:

coretemp (Temp)
it8772 (Temp, Fan)
nouveau (Temp, In)
dell_smm (Fan, Temp)

With the coretemp, it8772 modules I'm not having any problem, the problem
concerns the modules nouveau and dell_smm because they are loaded randomly
in the paths:

/sys/class/hwmon/hwmon4
/sys/class/hwmon/hwmon3

Given that on conky I use the following code:

nouveau: $ {offset 2} Temp1: $ {hwmon 4 temp 1} ° C $ {offset 10} Core GPU:
$ {hwmon 4 in 0} V dell_smm: $ {offset 2} Fan Processor: $ {hwmon 3 fan 1}
RPM $ {offset 10} Motherboard Fan: $ {hwmon 3 fan 2} RPM $ {offset 10}
Other: $ {hwmon 3 temp 2} ° C

I have to make debian load the modules in persistent paths, otherwise the
following errors are generated:

conky: desktop window (c00003) is subwindow of root window (4dd)
conky: window type - override
conky: drawing to created window (0x3200001)
conky: drawing to double buffer
conky: can not open '/sys/class/hwmon/hwmon4/temp1_input': File or
directory does not exist please check your device or remove this from conky
conky: can not open '/sys/class/hwmon/hwmon4/in0_input': File or directory
does not exist please check your device or remove this from conky
conky: can not open '/sys/class/hwmon/hwmon3/fan1_input': File or directory
does not exist please check your device or remove this from conky
conky: can not open '/sys/class/hwmon/hwmon3/fan2_input': File or directory
does not exist please check your device or remove this from conky
conky: can not open '/sys/class/hwmon/hwmon3/temp2_input': File or
directory does not exist please check your device or remove this from conky
conky: forked to background, pid is 1007

>>

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#905911: Conky does not work because hwmon path is not persistent ! Carmelo C <carmelo.debian@gmail.com> - 2018-08-11 17:10 +0200

csiph-web