Ticket #920
# prog/dump/i2cdump 0 0x50
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 80 08 04 0c 08 01 40 00 01 a0 60 00 80 10 00 01 ??????@.??`.??.?
10: 8f 04 04 01 01 00 0e 00 00 00 00 14 14 14 32 08 ?????.?....???2?
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 a2 ..............??
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 00 ..............b.
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 c4 ..............d?
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff 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 ................I think that the problem is in fact in i2c-voodoo3.o because there was some scanlines offseted by 1 pixel to the left when the module was loaded and this was hard to be seen. When I removed the module and restarted the machine all came back to normal.
Quoted 3 lines · you
you want i2cdump 2
0x50, not 00x50- you dumped your SDRAM EEPROM, not your DDC one.
Oops, in the reply from support I was asked for 0 0x50. So there's the 2 0x50:
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 ff ff ff ff ff ff 00 1e 6d d1 42 f5 7c 00 00 ........?m?B?|..
10: 0a 0b 01 03 08 21 19 b9 e8 8a c9 a1 54 4b 99 24 ?????!??????TK?$
20: 12 48 4c ff fe 80 31 4f 31 59 45 4f 45 59 61 4a ?HL.??1O1YEOEYaJ
30: 61 4f 61 59 81 80 ea 24 00 60 41 00 28 30 30 60 aOaY???$.`A.(00`
40: 13 00 3b e6 10 00 00 1e 30 2a 00 98 51 00 2a 40 ?.;??..?0*.?Q.*@
50: 30 70 13 00 3b e6 10 00 00 1e 00 00 00 fd 00 32 0p?.;??..?...?.2
60: a0 1e 46 0b 00 0a 20 20 20 20 20 20 00 00 00 fc ??F?.? ...?
70: 00 46 4c 41 54 52 4f 4e 20 37 37 35 46 54 00 17 .FLATRON 775FT.?
80: f7 37 cf bc 3f 5f ff ce ef ff f1 fb fb ed ff 59 ?7???_.??.????.Y
90: 6f e6 f5 e7 f9 ff ef 5c ff b5 db f7 bb db ff f5 o????.?\.?????.?
a0: a5 5d 27 fe bf 7f f3 df 49 97 ef fb fb ff fd ea ?]'?????I????.??
b0: bb 6f 3f f5 b7 fa f9 f7 6f cf f7 ed 7f d3 eb cd ?o??????o???????
c0: fe b7 fe ad 4d 7f b3 df ee 7d eb ff df c6 fd 5d ????M????}?.???]
d0: f7 ff 00 00 00 04 00 76 ef fe b7 fe 7d 7f fd ae ?....?.v????}???
e0: 01 e2 97 ff ff df fe 77 f6 bb ff f5 7f bf af ff ???..??w??.????.
f0: bf fe ff bf dc 7b cd ee ff e6 eb b7 ff 7b fc ff ??.??{??.???.{?.Quoted 8 lines · you
sorry, I meant 2 not 0.
Since i2cdump works (you can see "FLATRON" for example) but ddcmon doesn't, the problem is in ddcmon.
Sensors always says the same thing?
It doesn't ever work?
Always.
I think that the problem may be in i2c-voodoo3.o because after
# modprobe i2c-voodoo3 some of the scanlines on the monitor are one pixel to the left of the others.
Quoted 6 lines · you
I'm stumped.
If i2cdump works then i2c-voodoo3 is working fine. Don't know what the scanline problem is either. If you load eeprom instead of ddcmon, then look in/proc/sys/dev/sensors/eeprom-i2c-2-50,
do you see the same data you saw in i2cdump?
No, all the entries in /proc/sys/dev/sensors/eeprom-i2c-2-50 (from 00 to f0) contain zeros.
Yes, I did it, but it is not the problem. Nothing has changed.
you want i2cdump 2 0x50, not 0 0x50 - you dumped your SDRAM EEPROM, not your DDC one.
Quoted 25 lines · Vesselin Dimitrov
# prog/dump/i2cdump 0 0x50 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 80 08 04 0c 08 01 40 00 01 a0 60 00 80 10 00 01 ??????@.??`.??.? 10: 8f 04 04 01 01 00 0e 00 00 00 00 14 14 14 32 08 ?????.?....???2? 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 a2 ..............?? 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 00 ..............b. 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 c4 ..............d? 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ a0: ff ff ff ff ff ff ff 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 ................I think that the problem is in fact in i2c-voodoo3.o because there was some scanlines offseted by 1 pixel to the left when the module was loaded and this was hard to be seen. When I removed the module and restarted the machine all came back to normal.
I'm stumped.
If i2cdump works then i2c-voodoo3 is working fine. Don't know what the scanline problem is either. If you load eeprom instead of ddcmon, then look in /proc/sys/dev/sensors/eeprom-i2c-2-50,
do you see the same data you saw in i2cdump?
Quoted 15 lines · Vesselin Dimitrov
Quoted 8 lines · you
sorry, I meant 2 not 0.
Since i2cdump works (you can see "FLATRON" for example) but ddcmon doesn't, the problem is in ddcmon.
Sensors always says the same thing?
It doesn't ever work?Always.
I think that the problem may be in i2c-voodoo3.o because after# modprobe i2c-voodoo3 some of the scanlines on the monitor are one pixel to the left of the others.
i2c-voodoo3 had a bug in it where it wasn't flushing PCI posted writes. This may or may not be the problem.
Can you get it from CVS
and try it?
Quoted 11 lines · Vesselin Dimitrov
Quoted 6 lines · you
I'm stumped.
If i2cdump works then i2c-voodoo3 is working fine. Don't know what the scanline problem is either. If you load eeprom instead of ddcmon, then look in/proc/sys/dev/sensors/eeprom-i2c-2-50,
do you see the same data you saw in i2cdump?No, all the entries in
/proc/sys/dev/sensors/eeprom-i2c-2-50(from 00 to f0) contain zeros.
Quoted 2 lines · Vesselin Dimitrov
Yes, I did it, but it is not the problem. Nothing has changed.
rats. Thanks for trying.
If I think of anything else I'll let you know.
Quoted 3 lines
Please, close this ticket. Probably the board was damaged as it finally gave up.
OK, done. I've also added a comment. I suspect that continuous byte read was not working on your adapter/monitor combination, while regular byte read was. Usually, EEPROMs support continuous read mode (aka auto-increment), maybe yours wasn't. I don't remember hearing of similar cases though, and we cannot verify my theory anymore.
Thanks for taking the time to report to us after all this time, that's very nice from your :)
Jean Delvare
Please, close this ticket. Probably the board was damaged as it finally gave up.
Quoted 8 lines
Quoted 6 lines
OK, done. I've also added a comment. I suspect that continuous byte read was not working on your adapter/monitor combination, while regular byte read was. Usually, EEPROMs support continuous read mode (aka auto-increment), maybe yours wasn't. I don't remember hearing of similar cases though, and we cannot verify my theory anymore.
Ticket #1011 looks similar, though it's a different board/monitor.
Correct. I've updated (but not closed) that ticket as well. Thanks for pointing that out.
If more monitors appear to suffer from the problem, we should probably either default to simple byte reads for everyone, or at least provide a module parameter to forcibly select mode.
BTW, the driver reads much more data than we actually need, from what I can see. So switching to byte reads would make sense anyway. It could even be faster than reading the whole EEPROM in continuous mode.
As a side note, I'd suggest that we do not port the driver to Linux 2.6. The eeprom driver should do well. All we need is some user-space tool to decode that special eeprom. Having a separate drivers doesn't make much sense IMHO.
Thanks.
Jean Delvare
Quoted 8 lines · you
Quoted 2 lines
Please, close this ticket. Probably the board was damaged as it finally gave up.
OK, done. I've also added a comment. I suspect that continuous byte read was not working on your adapter/monitor combination, while regular byte read was. Usually, EEPROMs support continuous read mode (aka auto-increment), maybe yours wasn't. I don't remember hearing of similar cases though, and we cannot verify my theory anymore.
Ticket #1011 looks similar, though it's a different board/monitor.
Quoted 3 lines
Thanks for taking the time to report to us after all this time, that's very nice from your :)
Thanks for all you've done :).
Quoted 2 lines
Jean Delvare