Describe the bug
The path which I assing the CPU temperature module to read from changes from time to time. By changing I mean:
/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
to
/sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input
Expected behavior
Would it be possible to add a regex pattern of the form
/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input ?
Then, raise an error if the pattern matches 0 or more than 1 files (or in that latter cas eonly use the first one, and then raise a warning)
I wanted to do a pull request but I wasn't able to make it working. I was using ls to oputput the file and Glib.spawn_command_line_sync, but I got no nice results.
Desktop (please complete the following information):
Describe the bug The path which I assing the CPU temperature module to read from changes from time to time. By changing I mean:
/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
to/sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input
Expected behavior Would it be possible to add a regex pattern of the form
/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input
? Then, raise an error if the pattern matches 0 or more than 1 files (or in that latter cas eonly use the first one, and then raise a warning) I wanted to do a pull request but I wasn't able to make it working. I was usingls
to oputput the file andGlib.spawn_command_line_sync
, but I got no nice results.Desktop (please complete the following information):