Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Persistent temperature monitors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Mon Sep 04, 2017 12:19 pm    Post subject: Persistent temperature monitors Reply with quote

Quote:
/sys/devices/platform/coretemp.0/hwmon/hwmon[0..3]

is not persistent through reboot, so temperature monitoring config
files (especially thinkfan) have trouble from boot to boot

Where are the persistent temperature monitors?

Will
Code:
/sys/devices/virtual/thermal
stay the same from boot to boot?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5017
Location: Dark side of the mood

PostPosted: Sat Sep 09, 2017 2:13 pm    Post subject: Reply with quote

What do you mean "non persistent" ? Do you mean *names* are not preserved over reboots?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Sun Sep 10, 2017 11:29 am    Post subject: Reply with quote

Quote:
What do you mean "non persistent" ? Do you mean *names* are not preserved over reboots?


I mean that after rebooting the system apparently randomly switches between

Code:
/sys/devices/platform/coretemp.0/hwmon/hwmon2


and


Code:
/sys/devices/platform/coretemp.0/hwmon/hwmon3


Sadly, thinkfan's config file is not smart enough to just use any
available temperature monitor - if for example hwmon2 does not
exist then thinkfan won't start.

this is as you say just a change in name - the temperatures reported
are the same.

Why doesn't sys always use the same name? Can it be forced to?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5017
Location: Dark side of the mood

PostPosted: Sun Sep 10, 2017 1:21 pm    Post subject: Reply with quote

I see. I don't have the answer but what I'd suggest is to create a UDEV rule that would create some symbolic link at a location you control... provided it is possible of course. I *think* it should be. Normally device items in /sys always have a directory that point to the physical bus device. Maybe use it from there?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum