Second request to support the 'Analog Devices ADT7476'
Hi,
The ticket support has forwarded me to the mailing list, I hope it's ok.
The 'Analog Devices ADT7476' chip has been entered in the database as 'not supported yet, one request', so this is a seconde request for the same chip :-)
Motherboard is a Intel D945GNT, it has a properly
detected ADT7476 :
(excerpt from sensors-detect)
#####
Probing for `Analog Devices ADT7476'... Success!
(confidence 7, driver `to-be-written')
#####
and i2cdump :
#####
dolbeau at dwalin:~$ sudo i2cdump 0 0x2e b
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2e, mode byte Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 77 6a c3 ca c5 35 2b 27 ff ff ff ff ff ff ff ff wj???5+'........ 30: 33 4c 4c 00 00 00 00 00 ff ff ff 00 00 76 41 69 3LL..........vAi 40: 05 00 00 00 00 ff 00 ff 00 ff 00 ff 00 ff 81 7f ?.............?? 50: 81 7f 81 7f ff ff ff ff ff ff ff ff 02 22 22 7a ????........?""z 60: 8a 80 e8 88 33 4c 4c 38 2d 2d 45 41 41 24 40 00 ????3LL8--EAA$@. 70: 00 00 00 00 00 00 3e f7 f0 00 00 55 01 00 00 00 ......>??..U?... 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
#####
module lm85 recognizes the chip but gives wrong outputs.
Thanks in advance for anything that can be done,
Signature · 2 lines
Romain Dolbeau <romain at dolbeau.org>
[lm-sensors] Second request to support the 'Analog Devices
Quoted 10 lines · Romain Dolbeau
Hi,
The ticket support has forwarded me to the mailing list, I hope it's ok.
The 'Analog Devices ADT7476' chip has been entered in the database as 'not supported yet, one request', so this is a seconde request for the same chip :-)
Excellent - youve identified a need, and a potential author *YOU*
If you want to try, Im sure you'll get help here.
I know nothing of your chip, but perhaps someone here can scan the outputs you provided,
review a data sheet (essential bit of info - reverse engineering w/o specs is hard),
and recommend a best starting point for copy & edit operations. IE One of the adm*.c files in
http://sosdg.org/~coywolf/lxr/source/drivers/hwmon/
[lm-sensors] Second request to support the 'Analog Devices
In reply to Romain DolbeauQuoted 3 lines · Jim Cromie
Excellent - youve identified a need, and a potential author *YOU*
If you want to try, Im sure you'll get help here.
I thought of that at first (more experienced people claim it's basically a grandson of the lm85), but unfortunately this particular machine is a test machine at my company, and there's actually people working on it. So I can't start modprobe'ing some random code that'll crash it (it's not good behavior for an admin to prevent users from doing their job ;-)
Signature · 2 lines
Romain Dolbeau <romain at dolbeau.org>
[lm-sensors] Second request to support the 'Analog Devices
In reply to Romain DolbeauQuoted 2 lines · Romain Dolbeau
I thought of that at first (more experienced people claim it's basically a grandson of the lm85), but
If it is a grandson of the lm85, I can help you. But we *need* the spec sheet, lm85 and look-alikes are very complex chips, you have to read the entire datasheet to not hit gotchas.
Quoted 3 lines
unfortunately this particular machine is a test machine at my company, and there's actually people working on it. So I can't start modprobe'ing some random code
*If* the chip looks very much like an lm85 or an ATDT7463, *and* you get us a full datasheet, we can try to do a spec-sheet-based change to lm85 and carefully review it before you try. At least it shouldn't oops the kernel :-) and chances are it will actually work fine.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
[lm-sensors] Second request to support the 'Analog Devices
In reply to Romain DolbeauQuoted 4 lines · Henrique de Moraes Holschuh
*If* the chip looks very much like an lm85 or an ATDT7463, *and* you get us a full datasheet, we can try to do a spec-sheet-based change to lm85 and carefully review it before you try. At least it shouldn't oops the kernel :-) and chances are it will actually work fine.
I don't know how much like previous chip it looks, I was merely shamelessly quoting Jean Delvare
(see <http://lists.lm-sensors.org/pipermail/lm-sensors/2005-November/014458.html>).
As for the datasheet, the job of looking has already been done for me by the lm-sensors folk ;-) the 'new drivers' page mentions:
<http://www.analog.com/en/prod/0%2C2877%2CADT7476%2C00.html>
which includes a link to a what is described as a data sheet (I have zero idea whether it includes the relevant datas, but it does include 72 pages of technical stuff I understand nothing about) :
<http://www.analog.com/UploadedFiles/Data_Sheets/402263009ADT7476_a.pdf>
Whenever there's some code to try, I can schedule some downtime to test (I just can't do it too often).
Thanks for your help,
Signature · 2 lines
Romain Dolbeau <romain at dolbeau.org>
[lm-sensors] Second request to support the 'Analog Devices
In reply to Romain DolbeauQuoted 10 lines · Romain Dolbeau
Quoted 4 lines · Henrique de Moraes Holschuh
*If* the chip looks very much like an lm85 or an ATDT7463, *and* you get us a full datasheet, we can try to do a spec-sheet-based change to lm85 and carefully review it before you try. At least it shouldn't oops the kernel :-) and chances are it will actually work fine.
<http://www.analog.com/UploadedFiles/Data_Sheets/402263009ADT7476_a.pdf>
Whenever there's some code to try, I can schedule some downtime to test (I just can't do it too often).
Romain,
I am sorry but I have had no time to work in lm85 as of lately. I didn't forget your request, but I have done zero work on lm85 on the last three months, which does not bode well for merging atdt7463 with the kludge fixes I have locally for adm1027 fan support.
Just so you are not left hanging without any clue of what is going on, even if the news are not good :(
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh