Question about chip driver policy
Morris, John
John.Morris at spirentcom.com
Sat Aug 30 07:14:27 CEST 2003
> -----Original Message-----
> From: Mark M. Hoffman [mailto:mhoffman at lightlink.com]
> > I think that what
> > the documentation tries to prevent there is hardcoding resistor values
> > for +5V, +12V, -12V and -5V. These values are likely to change from
> > motherboard to motherboard, and that's why they are set in
> > /etc/sensors.conf. For the rest, drivers tend to convert from registers
> > to "real" values (that is, values that make direct sense for a human
> > being).
>
> There is a method to the madness: those conversions which are specified
> in the sensor chip datasheet and which *cannot* vary from one board to
> the next are performed by the driver. If other conversions
> are necessary, they are performed in user-space.
Yes, that all makes perfect sense. Thanks.
John.
More information about the lm-sensors
mailing list