Closed okanisis closed 8 years ago
Hi,
I had the same problem. It looks there is a typo in sprintf and removing d (as u already formats everything correctly), so I changed the line 583 from:
return sprintf(buf, "%llud\n", value*1000);
to:
return sprintf(buf, "%llu\n", value*1000);
After the change everything works just fine.
fixed, thx
The /usr/sbin/fancontrol script from lm_sensors package has trouble reading the GFX temperature value in lines 537, 539, and 543.
The error for each of those lines is
((: 43000d: value too great for base (error token is "43000d")
.It looks like the string is literally 43000d but maybe lm_sensors expects it to be parsed to 43000 (without the 'd').
I don't know if this is a problem with asus-fan or lm_sensors not formatting the string properly for the needed variable in the fancontrol script. If it's a bug report for lm_sensors, please close and I can file it there for upstream fix.
But it looks like the gfx_temp var is the only one with a 'd' appended to it:
Here it looks like it's the gfx_temp is the only value loaded from the asus-fan module (that I'm using in my /etc/fancontrol config):
I'm running lm_sensors 3.4.0 and asus-fan-dkms-git 0.9.1 (r6.g2472ad6).