lm_sensors + max1668
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Hurky,
Sorry for the delay, please CC the list too. I'm CCing the driver author.
Quoted 15 lines · Hurky
Hello Rudolf,
I've two Maxim max1668 temperature sensors on the SMBus and by now I cannot read them out under linux. I've searched a lot of time for a solution but it seems that there is no finished and running kernel module avialable. I've tryed with Christophs module script but I'm still novice in the part of compiling and doing this kind of stuff.
http://lists.lm-sensors.org/pipermail/lm-sensors/2007-February/018784.html
sensors-detect give me this output:
Driver `max1668' (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 5000'
Quoted 7 lines
Busdriver `i2c-nforce2', I2C address 0x18 Chip `Maxim MAX1668' (confidence: 7) * Bus `SMBus nForce2 adapter at 5000' Busdriver `i2c-nforce2', I2C address 0x19 Chip `Maxim MAX1668' (confidence: 7)Did YOU have success charging the module and reading out the maxim's ?
Lets try this:
modprobe i2c-dev
i2cdump -l
This should list your busses, take a number from that which corresponds to bus above. I will take 0 as example
then do:
i2cdump -y 0 0x18
i2cdump -y 0 0x19
And send it back here. We can take a look what is wrong.
Quoted 1 line
If yes please help me a little bit to get it work.
Yep we will ;)
Quoted 1 line
Thank you! and regards from Spain,
Greetings from Prague, Czech Republic!
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuq0j3J9wPJqZRNURAnWcAKCakca6+TWvA9nspfpjykbrA+LlRQCgvqC4 /6PN9QoDjZ7HgL4efoWiSJ8=lNHk
-----END PGP SIGNATURE-----
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
Sorry for the delay, I'm quite busy with other stuff.
Hmm seems I forgot to CC him :/ Anyway here are both mails you send me in private:
Quoted 3 lines
Hi Rudolf, thank's for your help;
I don't know how to CC as a reply to the same thread of the list..
Just reply to this mail, leaving all on CC.
Quoted 48 lines
sensors-detect now give me adresses
0x29and0x2a;Hurky:/# i2cdetect -l i2c-2 i2c B2C2 FlexCop device i2c-1 smbus SMBus nForce2 adapter at 5040 i2c-0 smbus SMBus nForce2 adapter at 5000Hurky:/# i2cdump -y 0 0x29 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 1c 31 24 28 1e 80 00 00 7f c9 7f c9 7f c9 7f c9 ?1$(??..???????? 10: 7f c9 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 20: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 30: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 40: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 50: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 60: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 70: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 80: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 90: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? a0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? b0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? c0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? d0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? e0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? f0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 4d 03 ??????????????M?Hurky:/# i2cdump -y 0 0x2a No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 1b 36 7f 7f 2f 98 14 00 7f c9 7f c9 7f c9 7f c9 ?6??/??.???????? 10: 7f c9 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 20: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 30: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 40: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 50: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 60: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 70: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 80: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? 90: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? a0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? b0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? c0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? d0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? e0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 ???????????????? f0: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 4d 03 ??????????????M?
Quoted 2 lines
Regards, Hurky.
And the second one:
Quoted 36 lines
Hi again, yesterday I think my SMBus get corrupted, I redetected the Maxims con
0x18and0x19with the folowing dumps:Thanks !
Hurky:/home/hurky# i2cdump -y 0 0x18 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 1d 33 25 29 1f 80 00 00 7f c9 7f c9 7f c9 7f c9 ?3%)??..???????? 10: 7f c9 03 03 03 03 03 03 03 03 03 03 03 03 XX XX ??????????????XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXXHurky:/home/hurky# i2cdump -y 0 0x19 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 1c 37 7f 7f 30 98 14 00 7f c9 7f c9 7f c9 7f c9 ?7??0??.???????? 10: 7f c9 03 03 03 03 03 03 03 03 03 03 03 03 XX XX ??????????????XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
Quoted 8 lines
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
So I dont know what could possibly do the address shift by one? Are you sure that bus electrical condition is OK? Have you possibility to measure the bus with oscilloscope to check the signal integrity?
It seems the bus will lock after a while and this is the reason why the driver does not detect the chip. The chip ID should be at offset 0xff and 0xfe.
Have you any chance to use some parallel port adapter? Like one described in the Documentation/i2c/busses/i2c-parport driver?
Maybe it would be worth to try out with the adapter first.
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGwzY73J9wPJqZRNURAqlOAKDAyLAug9PyMKafN3E41hc4kPTuuACfXe2E 1+KR0O7IvBVdyggsbt1bdIk=PAPO
-----END PGP SIGNATURE-----
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
I just saw your (Rudolf Marek) recent e-mail (in this thread) which was also cc'ed to me and the earlier post relating to this driver:
http://lists.lm-sensors.org/pipermail/lm-sensors/2007-February/018784.html
I apologize but currently I don't have any time to spend on the changes you suggested. I guess I have to orphan this driver/patch for now. I would be glad if somebody else could get it in a state for mainline inclusion.
Kind regards,
Ch. Scheurer
Signature · 6 lines
Christoph Scheurer GnuPG key Id: 0x6128C6B6 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors