it87 driver supports ITE8716 chip on new AM2 boards
I just got a new AM2 motherboard (Gigabyte GA-M55plus-S3g) that has a ITE8716 sensors chip. I am using kernel 2.6.16 and modified the source it87.c by replacing all instances of 8712 with 8716. Then recompiled the driver and ran modprobe it87. Surprise it works !! Apparently its a clone of the ITE8712 because i get all the fan, temp and voltage readings. This ITE8716 is also in the top end ASUS M2N32-SLI DELUXE motherboard and probably more. So many will be looking for it.
Hi Mike,
Quoted 7 lines
I just got a new AM2 motherboard (Gigabyte GA-M55plus-S3g) that has a ITE8716 sensors chip. I am using kernel 2.6.16 and modified the source
it87.cby replacing all instances of 8712 with 8716. Then recompiled the driver and ran modprobe it87. Surprise it works !! Apparently its a clone of the ITE8712 because i get all the fan, temp and voltage readings. This ITE8716 is also in the top end ASUS M2N32-SLI DELUXE motherboard and probably more. So many will be looking for it.
Heh thanks for the info. I think it would work without your change too. Please can you tell me if the driver is using the i2c access or isa access?
(just copy to the email output of "sensors" command) and also output of sensors-detect
I suspect that it works because
1) the hw monitoring block has same ID as it8712
2) superio detection failed, but I2C fallback worked
I will fix the sensors detect and the driver so it will work for ASUS people for sure ;) I hope you will help me with testing.
Please post the output of the requested commands and in meanwhile I will fix the sensors-detect and it87.c
Regards
Rudolf
Quoted 10 lines · Rudolf Marek
Hi Mike,
Quoted 7 lines
I just got a new AM2 motherboard (Gigabyte GA-M55plus-S3g) that has a ITE8716 sensors chip. I am using kernel 2.6.16 and modified the source
it87.cby replacing all instances of 8712 with 8716. Then recompiled the driver and ran modprobe it87. Surprise it works !! Apparently its a clone of the ITE8712 because i get all the fan, temp and voltage readings. This ITE8716 is also in the top end ASUS M2N32-SLI DELUXE motherboard and probably more. So many will be looking for it.
Quoted 3 lines
Heh thanks for the info. I think it would work without your change too. Please can you tell me if the driver is using the i2c access or isa access?
My original m/b has ITE8712 so i had set modprobe i2c-isa it87. When i switched to the new Gigabyte m/b this did not work because there was no /sys/devices/platform/i2c-9191/9191-0290/ created.
Quoted 1 line
(just copy to the email output of "sensors" command)
10:54 >>sensors
it8716-isa-0290
Adapter: ISA adapter
Quoted 2 lines
and also output of sensors-detect
Do you want to scan the ISA bus? (YES/no):
......................
Probing for TE IT8712F'
Trying address 0x0290... Failed!
Probing for TE IT8705F / SiS 950'
Trying address 0x0290... Failed!
.......................
Do you want to scan for Super I/O sensors? (YES/no):
Probing for TE 8702F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8705F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8712F Super IO Sensors'
Failed! (0x8716)
.......................
Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for TE 8702F Super IO Sensors'
Failed! (skipping family)
........................
Sorry, no chips were detected.
Quoted 13 lines
I suspect that it works because
1) the hw monitoring block has same ID as it8712
2) superio detection failed, but I2C fallback workedI will fix the sensors detect and the driver so it will work for ASUS people for sure ;) I hope you will help me with testing.
Please post the output of the requested commands and in meanwhile I will fix the sensors-detect and
it87.cRegards
Rudolf
Hello Mike,
Thanks for quick reply. Please can you send me your (modified driver) so I know what has been changed?
#define IT8712F_DEVID 0x8712
I guess you had changed this line to make it work.
Regards
Rudolf
Quoted 11 lines · Rudolf Marek
Hello Mike,
Thanks for quick reply. Please can you send me your (modified driver) so I know what has been changed?
#define
IT8712F_DEVID0x8712I guess you had changed this line to make it work.
Regards
Rudolf
Hello again,
Quoted 4 lines
Probing for TE IT8712F'
Trying address0x0290... Failed!
Probing for TE IT8716F'
Trying address0x0290... Failed!
Please can you send me output of:
isadump 0x295 0x296
Thanks,
Regards
Rudolf
Quoted 10 lines · Rudolf Marek
Hello again,
Quoted 4 lines
Probing for TE IT8712F'
Trying address0x0290... Failed!
Probing for TE IT8716F'
Trying address0x0290... Failed!Please can you send me output of:
isadump0x2950x296
15:27 >>isadump 0x295 0x296
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x295 and data register 0x296. Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 11 10 00 00 37 ff 00 37 ff 87 00 09 07 89 ff 00
10: ff ff ff 33 d7 82 80 c2 02 ff 00 ff ff ff ff ff
20: 46 77 d0 b9 bc c8 2c ba c2 29 24 15 8c 05 05 05
30: ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00
40: 7f 7f 7f 7f 46 7f 00 0d 2d ff ff ff ff ff ff ff
50: ff 1c 7f 7f 7f 50 e4 e4 90 e4 03 12 04 00 00 00
60: ff 14 00 27 90 03 ff ff ff 14 00 20 90 03 ff ff
70: ff 14 00 20 90 03 ff ff ff ff ff ff ff ff ff ff
80: 00 00 00 00 ff ff ff ff 00 00 ff ca 02 00 99 99
90: 7f 7f 7f 00 00 7f ff ff 7f 7f 7f 00 00 7f ff ff
a0: 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Hello Mike,
Please always CC to the list.
Quoted 8 lines
Do you want to scan the ISA bus? (YES/no)
.........................
Probing for TE IT8712F'
Trying address0x0290... Failed!
Probing for TE IT8716F'
Trying address0x0290... Failed!
..........................
Hmmm I did something wrong perhaps?
Quoted 10 lines
Do you want to scan for Super I/O sensors? (YES/no):
.........................
Probing for TE 8702F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8705F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8712F Super IO Sensors'
Failed! (0x8716)
Probing for TE IT8716F Super IO Sensors'
Success... found at address0x0290
This works.
Ok so only one problem left in sub ite_isa_detect
Please can you take a look to that routine and find out which return it takes? (I don't know much perl but I guess you will be able to hack out some "printf" there)
moreover please can you provide me a dump of
isadump -f 0x290
Maybe there is some problem with the initial detection.
Thanks,
Regards
Rudolf
Quoted 6 lines · Rudolf Marek
Hello Mike,
Quoted 1 line
Success... found at address
0x0290This works.
Quoted 9 lines
Ok so only one problem left in sub
ite_isa_detectPlease can you take a look to that routine and find out which return it takes? (I don't know much perl but I guess you will be able to hack out some "printf" there)
moreover please can you provide me a dump of
isadump -f0x290
16:28 >>isadump -f 0x290
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address range 0x200 to 0x2ff.
Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0210: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0220: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0230: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0240: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0250: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0260: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0270: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0290: ff ff ff ff 00 0a 00 00 ff ff ff ff ff ff ff ff 02a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Hello Mike,
Thanks for the chip dump.
I would like to know what happen now:
(unload the it87 module)
rmmod it87
isadump -y -f 0x290
isaset -y -f 0x295 0x58
isadump -y -f 0x290
isaset -y -f 0x295 0x55
isadump -y -f 0x290
isaset -y -f 0x295 0xAA
isadump -y -f 0x290
I need this so I can fix the detection script.
Thanks,
Regards
Rudolf
Quoted 15 lines · Rudolf Marek
Hello Mike,
Thanks for the chip dump.
I would like to know what happen now:
(unload the it87 module)
rmmod it87
isadump -y -f0x290
isaset -y -f0x2950x58
isadump -y -f0x290
isaset -y -f0x2950x55
isadump -y -f0x290
isaset -y -f0x2950xAA
isadump -y -f0x290
Quoted 1 line
I need this so I can fix the detection script.
9:46 >>rmmod it87
10:55 >>isadump -y -f 0x290
0 1 2 3 4 5 6 7 8 9 a b c d e f
0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0210: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0220: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0230: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0240: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0250: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0260: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0270: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0290: ff ff ff ff ff aa ff ff ff ff ff ff ff ff ff ff 02a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 10:55 >>isaset -y -f 0x295 0x58
10:55 >> isadump -y -f 0x290
0 1 2 3 4 5 6 7 8 9 a b c d e f
0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0210: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0220: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0230: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0240: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0250: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0260: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0270: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0290: ff ff ff ff 90 58 90 90 ff ff ff ff ff ff ff ff 02a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 10:55 >> isaset -y -f 0x295 0x55
10:56 >> isadump -y -f 0x290
0 1 2 3 4 5 6 7 8 9 a b c d e f
0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0210: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0220: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0230: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0240: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0250: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0260: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0270: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0290: ff ff ff ff 50 55 50 50 ff ff ff ff ff ff ff ff 02a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 10:57 >>isaset -y -f 0x295 0xAA
10:57 >>isadump -y -f 0x290
0 1 2 3 4 5 6 7 8 9 a b c d e f
0200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0210: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0220: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0230: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0240: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0250: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0260: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0270: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0290: ff ff ff ff ff aa ff ff ff ff ff ff ff ff ff ff 02a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Quoted 5 lines · Rudolf Marek
Thanks Mike,
I'm attaching fixed sensors-detect.
DOes it find the IT8716F on isa and on superIO?
Yes...success!
Do you want to scan the ISA bus? (YES/no):
Probing for TE IT8712F'
Trying address 0x0290... Failed!
Probing for TE IT8716F'
Trying address 0x0290... Success!
(confidence 7, driver t87')
....................
Do you want to scan for Super I/O sensors? (YES/no):
Probing for TE 8702F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8705F Super IO Sensors'
Failed! (0x8716)
Probing for TE 8712F Super IO Sensors'
Failed! (0x8716)
Probing for TE IT8716F Super IO Sensors'
Success... found at address 0x0290
.....................
Driver t87' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver 2c-isa')
Chip TE IT8716F Super IO Sensors' (confidence: 9)
I will now generate the commands needed to load the I2C modules.
To make the sensors modules behave correctly, add these lines to /etc/modules.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe it87
# sleep 2 # optional /usr/local/bin/sensors -s # recommended #----cut here----