Winbond 792 source codes for lm_sensor

Jean Delvare khali at linux-fr.org
Fri Feb 18 11:19:06 CET 2005


Hi Chunhao,

> As to the voltage factor, after a further study to the 792 data sheet
> and /etc/sensors.conf, I find that the interface vol_factor in /proc
> can really be removed from the 792 driver. The calculation has been
> transferred into /etc/sensors.conf, instead of in the 792 driver.
> (...)
> So, in my previous 792 driver, I had to calculate the voltage in
> the driver, instead of in /etc/sensors.conf
>
> But now, I find that as to in0-in6, the factors of voltage limit
> are the 4 times to the one of measured value.
> (...)
> And voltage factors for measured value are added into /etc/sensors.conf.

This is really good news! It is very great that you managed to have this
chip fit in the common model the other drivers follow for voltage
computations. This will make your code much easier to integrate and
it'll also make things easier for long-time lm_sensors users which
happen to have a W83792D on their new hardware - things will work the
same way they were used to!

Thanks a lot,
--
Jean Delvare



More information about the lm-sensors mailing list