vmatare / thinkfan

The minimalist fan control program
GNU General Public License v3.0
534 stars 61 forks source link

temperature input value of feature 'temp2' of chip 'thinkpad-isa-0000' is unavailable #222

Open plkrnr opened 1 year ago

plkrnr commented 1 year ago

Hi, small issue I think, but it's a confusing one. Using latest code in the repo.

(relevant) sensors:

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM
CPU:          +40.0°C  
GPU:              N/A  
temp3:        +40.0°C  
temp4:         +0.0°C  
temp5:        +40.0°C  
temp6:        +40.0°C  
temp7:        +40.0°C  
temp8:            N/A 

(relevant) config:

sensors:
  - chip: thinkpad-isa-0000
    ids: [ CPU, GPU, temp3, temp4, temp5, temp6, temp7, temp8 ]

output:

sudo thinkfan -nv
ERROR: temperature input value of feature 'temp2' of chip 'thinkpad-isa-0000' is unavailable: Can't read

expected output: ERROR: temperature input value of feature 'GPU' (GPU instead of temp2)

(if I would put GPU at the end of the ids array it would also say 'temp2') (removing GPU and temp8 from my config fixed the issue for me)