Question about chip driver policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----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.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux