* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
@ 2006-07-06 14:34 ` Rudolf Marek
2006-07-06 15:11 ` mikepolniak
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Rudolf Marek @ 2006-07-06 14:34 UTC (permalink / raw)
To: lm-sensors
Hi Mike,
> 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.
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
2006-07-06 14:34 ` Rudolf Marek
@ 2006-07-06 15:11 ` mikepolniak
2006-07-06 15:17 ` Rudolf Marek
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-06 15:11 UTC (permalink / raw)
To: lm-sensors
On 16:34 Thu 06 Jul , Rudolf Marek wrote:
> Hi Mike,
>
> > 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.
>
> 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.
> (just copy to the email output of "sensors" command)
10:54 >>sensors
it8716-isa-0290
Adapter: ISA adapter
> 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.
> 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
>
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
2006-07-06 14:34 ` Rudolf Marek
2006-07-06 15:11 ` mikepolniak
@ 2006-07-06 15:17 ` Rudolf Marek
2006-07-06 18:26 ` mikepolniak
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Rudolf Marek @ 2006-07-06 15:17 UTC (permalink / raw)
To: lm-sensors
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (2 preceding siblings ...)
2006-07-06 15:17 ` Rudolf Marek
@ 2006-07-06 18:26 ` mikepolniak
2006-07-06 19:17 ` Rudolf Marek
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-06 18:26 UTC (permalink / raw)
To: lm-sensors
On 17:17 Thu 06 Jul , Rudolf Marek wrote:
> 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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (3 preceding siblings ...)
2006-07-06 18:26 ` mikepolniak
@ 2006-07-06 19:17 ` Rudolf Marek
2006-07-06 19:28 ` mikepolniak
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Rudolf Marek @ 2006-07-06 19:17 UTC (permalink / raw)
To: lm-sensors
Hello again,
> Probing for TE IT8712F'
> Trying address 0x0290... Failed!
> Probing for TE IT8716F'
> Trying address 0x0290... Failed!
Please can you send me output of:
isadump 0x295 0x296
Thanks,
Regards
Rudolf
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (4 preceding siblings ...)
2006-07-06 19:17 ` Rudolf Marek
@ 2006-07-06 19:28 ` mikepolniak
2006-07-09 19:30 ` Rudolf Marek
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-06 19:28 UTC (permalink / raw)
To: lm-sensors
On 21:17 Thu 06 Jul , Rudolf Marek wrote:
> Hello again,
>
> > Probing for TE IT8712F'
> > Trying address 0x0290... Failed!
> > Probing for TE IT8716F'
> > Trying address 0x0290... Failed!
>
> Please can you send me output of:
> isadump 0x295 0x296
>
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (5 preceding siblings ...)
2006-07-06 19:28 ` mikepolniak
@ 2006-07-09 19:30 ` Rudolf Marek
2006-07-09 20:29 ` mikepolniak
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Rudolf Marek @ 2006-07-09 19:30 UTC (permalink / raw)
To: lm-sensors
Hello Mike,
Please always CC to the list.
> 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... Failed!
> ..........................
>
Hmmm I did something wrong perhaps?
> 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
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (6 preceding siblings ...)
2006-07-09 19:30 ` Rudolf Marek
@ 2006-07-09 20:29 ` mikepolniak
2006-07-11 14:11 ` Rudolf Marek
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-09 20:29 UTC (permalink / raw)
To: lm-sensors
On 21:30 Sun 09 Jul , Rudolf Marek wrote:
> Hello Mike,
>
> > Success... found at address 0x0290
>
> 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
>
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (7 preceding siblings ...)
2006-07-09 20:29 ` mikepolniak
@ 2006-07-11 14:11 ` Rudolf Marek
2006-07-11 15:03 ` mikepolniak
2006-07-11 22:10 ` mikepolniak
10 siblings, 0 replies; 12+ messages in thread
From: Rudolf Marek @ 2006-07-11 14:11 UTC (permalink / raw)
To: lm-sensors
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (8 preceding siblings ...)
2006-07-11 14:11 ` Rudolf Marek
@ 2006-07-11 15:03 ` mikepolniak
2006-07-11 22:10 ` mikepolniak
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-11 15:03 UTC (permalink / raw)
To: lm-sensors
On 16:11 Tue 11 Jul , Rudolf Marek wrote:
> 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.
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards
2006-07-05 20:20 [lm-sensors] it87 driver supports ITE8716 chip on new AM2 boards mikepolniak
` (9 preceding siblings ...)
2006-07-11 15:03 ` mikepolniak
@ 2006-07-11 22:10 ` mikepolniak
10 siblings, 0 replies; 12+ messages in thread
From: mikepolniak @ 2006-07-11 22:10 UTC (permalink / raw)
To: lm-sensors
On 23:45 Tue 11 Jul , Rudolf Marek wrote:
> 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----
^ permalink raw reply [flat|nested] 12+ messages in thread