-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wifi card turn off -> thinkfan gives error and exits #39
Comments
I worked on an ugly workaround. Now autostart of thinkfan service is disabled and it is started after user logs in, by a script called thinkfanLauncher.sh. It creates the conf file first (coppied below). In my machine this workaround solves following issues: 1- locate the hwmon folders (they change after each boot) code is here with extension changed to txt |
Well, I'm not sure whether I just want to ignore whether a sensor has disappeared because I can imagine situations where that might lead to damage. On the other hand, if you enable it via a commandline option, it's fine... |
I encounter the same problem and need the option for optional sensors. That would be so great! Thank you! |
anyone who wants this, please try out the optional-sensors branch. I need some feedback on how that is working for you so I can make it part of the next release. |
It's merged in the |
Hey there!
thinkfan.conf.yaml
|
Has been implemented in master for a while now, and will be part of upcoming release. |
I observe the following error in two scenarios :
1- If I disable wifi manually to save battery
2- Thinkpad bios has option to disable wifi card hardware if ethernet connected
Then the hwmon file becomes unreadable and therefore thinkfan gives the following error and exits:
thinkfan[19319]: /sys/devices/virtual/hwmon/hwmon4/temp1_input: Input/output error
thinkfan[19319]: A sensor has vanished! Exiting since there's no safe way of handling this.
I wanted to exclude wifi temperature sensor from the .conf file but the virtual hwmonXX changes in every boot.
One nice solution to this (and also to changing hwmonX folders) would be to replace the sensors with device-names in conf file. The conf file would use something like :
device pch_skylake-virtual-0
instead of
hwmon /sys/devices/virtual/hwmon/hwmon4/temp1_input
I have no idea if that is possible or easy to develop...
The text was updated successfully, but these errors were encountered: