ADT7490 Support
Hi all,
Referring to the recent thread on the ADT7490 (on Intel's new P55 desktop motherboards). I'd like to register a request for such a driver, and offer to help with testing as needed. Is anyone currently working on a driver for this chip?
Cheers,
James
Signature · 11 lines
James Spooner Maxeler Technologies E-mail: [email protected] Tel: +44 (0) 208 762 6120 Web: www.maxeler.com _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi James,
Quoted 4 lines · James Spooner
Referring to the recent thread on the ADT7490 (on Intel's new P55 desktop motherboards). I'd like to register a request for such a driver, and offer to help with testing as needed. Is anyone currently working on a driver for this chip?
I have added your request to the wiki. I am not aware of anyone working on support for the ADT7490. I would be happy to work on it if only I had a board with this chip (hint, hint!)
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
[lm-sensors] ADT7490 support
In reply to James SpoonerJustin, James,
I have added support for the ADT7490 to the adt7475 driver. My current work is available for you to test if you are still interested:
http://khali.linux-fr.org/devel/misc/adt7490/
This is a standalone driver, you'll need a proper build environment then type "make" the load the driver.
If you prefer, I can also provide a patch for whatever kernel version you're running.
There are still a few configuration cases that aren't properly supported, I'll work on that later as my time permits.
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] ADT7490 support
In reply to James SpoonerQuoted 7 lines · Jean Delvare
Justin, James,
I have added support for the ADT7490 to the adt7475 driver. My current work is available for you to test if you are still interested:
Quoted 13 lines
This is a standalone driver, you'll need a proper build environment then type "make" the load the driver.
If you prefer, I can also provide a patch for whatever kernel version you're running.
There are still a few configuration cases that aren't properly supported, I'll work on that later as my time permits.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html
Hello,
First test run is as follows:
$ make CC [M] /home/user/a/adt7475.o Building modules, stage 2. MODPOST 1 modules CC /home/user/a/adt7475.mod.o LD [M] /home/user/a/adt7475.ko 0.44user 0.12system 0:01.73elapsed 32%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (12major+93517minor)pagefaults 0swaps
$ sudo insmod adt7475.ko $
$ sensors
adt7490-i2c-0-2c
Adapter: SMBus I801 adapter at 7000
in0: +1.52 V (min = +0.00 V, max = +3.31 V) in1: +0.87 V (min = +0.00 V, max = +2.99 V) in2: +3.31 V (min = +0.00 V, max = +4.39 V) in3: +5.12 V (min = +0.00 V, max = +6.68 V) in4: +12.01 V (min = +0.00 V, max = +15.69 V) in5: +2.21 V (min = +0.00 V, max = +4.48 V) fan1: 1345 RPM (min = 0 RPM)
fan2: 1415 RPM (min = 0 RPM)
fan3: 767 RPM (min = 0 RPM)
fan4: 978 RPM (min = 0 RPM)
temp1: FAULT (low = -127.0°C, high = +127.0°C) ALARM
(crit = +100.0°C, hyst = +100.0°C)
temp2: +42.2°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)
temp3: +46.0°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)Why does temp1 say fault? All of the temps in the BIOS report properly.
James, does this happen to you too?
Justin.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] ADT7490 support
In reply to James SpoonerHi Justin,
Quoted 40 lines · Justin Piszcz
Quoted 5 lines · Jean Delvare
I have added support for the ADT7490 to the adt7475 driver. My current work is available for you to test if you are still interested:
Quoted 8 lines
This is a standalone driver, you'll need a proper build environment then type "make" the load the driver.
If you prefer, I can also provide a patch for whatever kernel version you're running.
There are still a few configuration cases that aren't properly supported, I'll work on that later as my time permits.
First test run is as follows:
$ make CC [M] /home/user/a/adt7475.o Building modules, stage 2. MODPOST 1 modules CC /home/user/a/adt7475.mod.o LD [M] /home/user/a/adt7475.ko 0.44user 0.12system 0:01.73elapsed 32%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (12major+93517minor)pagefaults 0swaps$ sudo insmod adt7475.ko $$ sensors adt7490-i2c-0-2c Adapter: SMBus I801 adapter at 7000 in0: +1.52 V (min = +0.00 V, max = +3.31 V) in1: +0.87 V (min = +0.00 V, max = +2.99 V) in2: +3.31 V (min = +0.00 V, max = +4.39 V) in3: +5.12 V (min = +0.00 V, max = +6.68 V) in4: +12.01 V (min = +0.00 V, max = +15.69 V) in5: +2.21 V (min = +0.00 V, max = +4.48 V) fan1: 1345 RPM (min = 0 RPM) fan2: 1415 RPM (min = 0 RPM)
Quoted 8 lines
fan3: 767 RPM (min = 0 RPM)
fan4: 978 RPM (min = 0 RPM)
temp1: FAULT (low = -127.0°C, high = +127.0°C) ALARM
(crit = +100.0°C, hyst = +100.0°C)
temp2: +42.2°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)
temp3: +46.0°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)Thanks for the fast test and report. Looks overall OK. Do you actually have 4 fans in this system?
Quoted 1 line
Why does temp1 say fault?
The driver merely reports what the chip says. According to the dump you sent on October 16th, register 0x25 has value 0x80, bits [3:2] of register 0x76 have value 11b, this is a temperature value of -127.25°C. The fault is confirmed by bit 4 of register 0x41 (1b) and bit 6 of register 0x42 (1b) which stand for temp1 out of limits and temp1 open or short circuit, respectively.
Quoted 1 line
All of the temps in the BIOS report properly.
Can you please copy all the information reported by the BIOS and send it over? It will be interesting to compare what the BIOS says with what the adt7475 driver reports.
The above output suggests that temp1 isn't used on your system, temp2 is internal to the ADT7490 so it would be the motherboard temperature, while temp3 would likely be the CPU temperature. Does the BIOS report more than 2 temperature values?
I think we can use the following as the default configuration for the ADT7490:
chip "adt7490-*"
label in1 "Vcore"
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
set in2_min 3.3 * 0.90
set in2_max 3.3 * 1.10
set in3_min 5.0 * 0.90
set in3_max 5.0 * 1.10
set in4_min 12.0 * 0.90
set in4_max 12.0 * 1.10
label temp2 "M/B Temp"Quoted 1 line
James, does this happen to you too?
James, if/when you report the results of your tests with the modified adt7475 driver, please also send a dump of your chip (using the i2c-dev driver and i2cdump from the i2c-tools package.)
Thanks,
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] ADT7490 support
In reply to James SpoonerQuoted 4 lines · Jean Delvare
Hi Justin,
Thanks for the fast test and report. Looks overall OK. Do you actually have 4 fans in this system?
I have 8 or so fans in the system with at least two-three connected via the on-board fan connectors.
Quoted 10 lines
Quoted 2 lines
Why does temp1 say fault?
The driver merely reports what the chip says. According to the dump you sent on October 16th, register
0x25has value0x80, bits [3:2] of register0x76have value 11b, this is a temperature value of -127.25°C. The fault is confirmed by bit 4 of register0x41(1b) and bit 6 of register0x42(1b) which stand for temp1 out of limits and temp1 open or short circuit, respectively.
Quoted 5 lines
Quoted 1 line
All of the temps in the BIOS report properly.
Can you please copy all the information reported by the BIOS and send it over? It will be interesting to compare what the BIOS says with what the adt7475 driver reports.
Here is a screenshot of nearly every screen in the BIOS:
longurl="http://home.comcast.net/~jpiszcz/20091130"
wget $longurl/intel-p55kg-system-boot-display-options.jpg wget $longurl/intel-p55kg-system-boot-menu.jpg
wget $longurl/intel-p55kg-system-configuration-sata-drives.jpg wget $longurl/intel-p55kg-system-exit-menu.jpg
wget $longurl/intel-p55kg-system-setup-configuration.jpg wget $longurl/intel-p55kg-system-setup-configuration-onboard-devices.jpg wget $longurl/intel-p55kg-system-setup-event-log-configuration.jpg wget $longurl/intel-p55kg-system-setup-fan-options.jpg
wget $longurl/intel-p55kg-system-setup-main.jpg
wget $longurl/intel-p55kg-system-setup-password-menu.jpg wget $longurl/intel-p55kg-system-setup-pci-add-in-slots.jpg wget $longurl/intel-p55kg-system-setup-performance-menu.jpg wget $longurl/intel-p55kg-system-setup-power-menu.jpg
wget $longurl/intel-p55kg-system-setup-realtime-hardware-monitoring.jpg wget $longurl/intel-p55kg-system-setup-video.jpg
The one that shows the temperatures and fan speeds is labeled:
intel-p55kg-system-setup-realtime-hardware-monitoring.jpg
Quoted 5 lines
The above output suggests that temp1 isn't used on your system, temp2 is internal to the ADT7490 so it would be the motherboard temperature, while temp3 would likely be the CPU temperature. Does the BIOS report more than 2 temperature values?
Yes but the top one is the thermal margin, so you are correct, the first temperature for this board needs to be disabled so lm-sensors does not look for it, see: intel-p55kg-system-setup-realtime-hardware-monitoring.jpg
Quoted 6 lines
I think we can use the following as the default configuration for the ADT7490:
chip "adt7490-*"
Quoted 13 lines
label in1 "Vcore" label in2 "+3.3V" label in3 "+5V" label in4 "+12V" set in2_min 3.3 * 0.90 set in2_max 3.3 * 1.10 set in3_min 5.0 * 0.90 set in3_max 5.0 * 1.10 set in4_min 12.0 * 0.90 set in4_max 12.0 * 1.10 label temp2 "M/B Temp"
Please let me know if you need anything else, thanks.
Justin.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] ADT7490 support
In reply to James SpoonerQuoted 2 lines · Justin Piszcz
The one that shows the temperatures and fan speeds is labeled:
intel-p55kg-system-setup-realtime-hardware-monitoring.jpg
This seems to match the output of "sensors" except for the missing thermal margin value. It certainly comes from the PECI input, for which we have no support.
Quoted 7 lines
Quoted 4 lines
The above output suggests that temp1 isn't used on your system, temp2 is internal to the ADT7490 so it would be the motherboard temperature, while temp3 would likely be the CPU temperature. Does the BIOS report more than 2 temperature values?
Yes but the top one is the thermal margin, so you are correct, the first temperature for this board needs to be disabled so lm-sensors does not look for it, see: intel-p55kg-system-setup-realtime-hardware-monitoring.jpg
This isn't the driver's job, as it can't tell the difference between a permanently unused input and an actual sensor breakage. If you want to hide temp1, just add the following to your sensors3.conf's adt7475 section:
ignore temp1
As for the thermal margin, we lack support for this in libsensors at the moment. How this could be implemented is still under discussion. Until it settles, I can't add support to the adt7475 driver.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] ADT7490 support
In reply to James SpoonerQuoted 21 lines · Jean Delvare
Quoted 2 lines · Justin Piszcz
The one that shows the temperatures and fan speeds is labeled:
intel-p55kg-system-setup-realtime-hardware-monitoring.jpgThis seems to match the output of "sensors" except for the missing thermal margin value. It certainly comes from the PECI input, for which we have no support.
Quoted 7 lines
Quoted 4 lines
The above output suggests that temp1 isn't used on your system, temp2 is internal to the ADT7490 so it would be the motherboard temperature, while temp3 would likely be the CPU temperature. Does the BIOS report more than 2 temperature values?
Yes but the top one is the thermal margin, so you are correct, the first temperature for this board needs to be disabled so lm-sensors does not look for it, see: intel-p55kg-system-setup-realtime-hardware-monitoring.jpg
This isn't the driver's job, as it can't tell the difference between a permanently unused input and an actual sensor breakage. If you want to hide temp1, just add the following to your sensors3.conf's adt7475 section:
Quoted 9 lines
ignore temp1
As for the thermal margin, we lack support for this in libsensors at the moment. How this could be implemented is still under discussion. Until it settles, I can't add support to the adt7475 driver.
Signature · 1 line
Jean Delvare
Thanks,
I added the ignore temp1 and also tried your latest release:
adt7490-i2c-0-2c
Adapter: SMBus I801 adapter at 7000
in0: +1.52 V (min = +0.00 V, max = +3.31 V) Vcore: +1.26 V (min = +0.00 V, max = +2.99 V) +3.3V: +3.31 V (min = +0.00 V, max = +4.39 V) +5V: +5.11 V (min = +0.00 V, max = +6.68 V) +12V: +12.00 V (min = +0.00 V, max = +15.69 V) in5: +2.22 V (min = +0.00 V, max = +4.48 V) fan1: 1345 RPM (min = 0 RPM)
fan2: 1308 RPM (min = 0 RPM)
fan3: 729 RPM (min = 0 RPM)
fan4: 933 RPM (min = 0 RPM)
M/B Temp: +41.8°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)
temp3: +45.2°C (low = -127.0°C, high = +127.0°C)
(crit = +65.0°C, hyst = +61.0°C)Looks good, thanks.
Justin.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors