mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-17 10:59:31 +00:00
perfectly with the adm1023, but didn't take advantage of it's extra precision for the remote temp sensor. Now, if an adm1023 is detected, it will. For example, my adm1021 remote_temp looks like this: phil@penn phil]$ cat /proc/sys/dev/sensors/adm1021*/remote_temp 60 20 23 My 1023 looks like this: [root@penn lm_sensors2]# cat /proc/sys/dev/sensors/adm1023-i2c-2-2a/remote_temp 60.125 20.250 1.500 20.875 (Both from the same inserted driver) Notice the extra 3 digit precision (actually, it's in increments of 0.125). And, also notice the extra 'limit'. It's actually an offset register. Right now it's adding 1.5 degrees to the reading for the remote_temp. This same functionality could easily be done by editing /etc/sensors.conf, but Analog Devices decided to put it into the chip instead. :') Things to do: edit the default sensors.conf, and sensors-detect for this new chip. Oh, I also added SENSORS_INSMOD_7 into sensors.h. This was the first driver to need it, apparently. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@904 7894878c-1315-0410-8ee3-d5d059ff63e0