Kernel hangs with i2c-i801 driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel,

> Is there a chance that you have test hardware available with the
> w83792d chip where you could try to run the same commands that I did?
> 
Yes, I have a board on hand; it's a C version chip.

> First of all, what does a dump look like in your case?
> 
> i2cdump -y 0 0x2c
> 

[root at oapcsh00279 proc]# i2cdump -y 0 0x2f
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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 64 64 ad 00 00 78 00 ff 00 00 d5 00 e2 b3    ..dd?..x....?.??
20: be be d0 c9 5c a3 d1 25 7f ff ff d7 a5 b5 83 ff    ????\??%?..????.
30: 00 ff 00 ff 00 ff 00 ff 00 7f 00 ff ff ff aa b5    .........?....??
40: 01 00 00 00 00 ff ff 72 2f 12 73 84 01 ff 80 5c    ?......r/?s??.?\
50: ff ff ff ff ff ff ff ff 7a 60 ff 77 77 01 05 7f    ........z`.ww???
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: 01 8f 01 8f 00 00 00 00 11 11 ff ff 3c 3c 0a 0a    ????....??..<<??
90: 00 00 00 01 8f ff 00 00 11 ff 3c 00 00 01 07 ff    ...??...?.<..??.
a0: 01 01 01 8f 8f 8f 8f ff c4 02 00 00 ff ff 00 00    ???????.??......
b0: cc c0 ff ff ff 00 ff 00 ff ff ff ff ff ff ff ff    ??..............
c0: 23 00 00 4b 00 50 00 ff 0e 00 00 4b 00 50 00 ff    #..K.P..?..K.P..
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: 8b 8b 8b 28 3c 50 28 3c 50 28 3c 50 ff ff ff ff    ???(<P(<P(<P....
f0: ff ff 80 ff 00 01 00 04 ff 02 ff 00 00 00 00 ff    ..?..?.?.?......

> Then, what happens if you try to reset the EN_SMI bit?
> 
> i2cset -y 0 0x2c 0x40 0x1
> i2cdump -y 0 0x2c

The value of 0x40 is 0x1 now, so I run commands below.

[root at oapcsh00279 proc]# i2cset -y 0 0x2f 0x40 0x3
No size specified (using byte-data access)
Value 0x03 written, readback matched
[root at oapcsh00279 proc]# i2cset -y 0 0x2f 0x40 0x7
No size specified (using byte-data access)
Value 0x07 written, readback matched
[root at oapcsh00279 proc]# i2cdump -y 0 0x2f
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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 64 64 ad 00 00 78 00 ff 00 00 d5 00 e2 b3    ..dd?..x....?.??
20: be be d0 c9 5c a3 d1 25 7f ff ff d7 a5 b5 83 ff    ????\??%?..????.
30: 00 ff 00 ff 00 ff 00 ff 00 7f 00 ff ff ff ba b9    .........?....??
40: 07 00 00 00 00 ff ff 72 2f 12 73 84 01 ff 80 5c    ?......r/?s??.?\
50: ff ff ff ff ff ff ff ff 7a 60 ff 77 77 01 05 7f    ........z`.ww???
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: 01 8f 01 8f 00 00 00 00 11 11 ff ff 3c 3c 0a 0a    ????....??..<<??
90: 00 00 00 01 8f ff 00 00 11 ff 3c 00 00 01 07 ff    ...??...?.<..??.
a0: 01 01 01 8f 8f 8f 8f ff c4 02 00 00 ff ff 00 00    ???????.??......
b0: cd c0 ff ff ff 00 ff 00 ff ff ff ff ff ff ff ff    ??..............
c0: 23 80 00 4b 00 50 00 ff 0e 80 00 4b 00 50 00 ff    #?.K.P..??.K.P..
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: 8b 8b 8b 28 3c 50 28 3c 50 28 3c 50 ff ff ff ff    ???(<P(<P(<P....
f0: ff ff 80 ff 00 01 00 04 ff 02 ff 00 00 00 00 ff    ..?..?.?.?......

[root at oapcsh00279 proc]# i2cset -y 0 0x2f 0x40 0x1
No size specified (using byte-data access)
Value 0x01 written, readback matched
[root at oapcsh00279 proc]# i2cdump -y 0 0x2f
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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 64 64 ad 00 00 78 00 ff 00 00 d5 00 e2 b3    ..dd?..x....?.??
20: be be d0 c9 5c a3 d1 25 7f ff ff d7 a5 b5 83 ff    ????\??%?..????.
30: 00 ff 00 ff 00 ff 00 ff 00 7f 00 ff ff ff 6a b9    .........?....j?
40: 01 00 00 00 00 ff ff 72 2f 12 73 84 01 ff 80 5c    ?......r/?s??.?\
50: ff ff ff ff ff ff ff ff 7a 60 ff 77 77 01 05 7f    ........z`.ww???
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: 01 8f 01 8f 00 00 00 00 11 11 ff ff 3c 3c 0a 0a    ????....??..<<??
90: 00 00 00 01 8f ff 00 00 11 ff 3c 00 00 01 07 ff    ...??...?.<..??.
a0: 01 01 01 8f 8f 8f 8f ff c4 02 00 00 ff ff 00 00    ???????.??......
b0: cc c0 ff ff ff 00 ff 00 ff ff ff ff ff ff ff ff    ??..............
c0: 25 00 00 4b 00 50 00 ff 0e 80 00 4b 00 50 00 ff    %..K.P..??.K.P..
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: 8b 8b 8b 28 3c 50 28 3c 50 28 3c 50 ff ff ff ff    ???(<P(<P(<P....
f0: ff ff 80 ff 00 01 00 04 ff 02 ff 00 00 00 00 ff    ..?..?.?.?......

> Finally, what happens if you re-init the chip?
> 
> i2cset -y 0 0x2c 0x40 0x80
> i2cdump -y 0 0x2c
>
[root at oapcsh00279 proc]# i2cset -y 0 0x2f 0x40 0x80
No size specified (using byte-data access)
Warning - data mismatch - wrote 0x80, read back 0x01
[root at oapcsh00279 proc]# i2cdump -y 0 0x2f
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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 64 64 ad 00 00 78 00 ff 00 00 d5 00 e2 b3    ..dd?..x....?.??
20: be be d0 c9 5c a3 d1 25 fe ff ff d7 a5 b5 83 ff    ????\??%?..????.
30: 00 ff 00 ff 00 ff 00 ff 00 7f 00 ff ff ff ba b5    .........?....??
40: 01 02 00 00 00 ff ff 11 2f 12 73 84 01 ff 80 5c    ??.....?/?s??.?\
50: ff ff ff ff ff ff ff ff 7a 60 ff 11 11 01 05 7f    ........z`.?????
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
80: 01 8f 01 8f 00 00 00 00 11 11 ff ff 3c 3c 0a 0a    ????....??..<<??
90: 00 00 00 01 8f ff 00 00 11 ff 3c 00 00 01 01 ff    ...??...?.<..??.
a0: 01 01 01 8f 8f 8f 8f ff c4 02 00 00 ff ff 00 00    ???????.??......
b0: cc c0 ff ff ff 00 ff 00 ff ff ff ff ff ff ff ff    ??..............
c0: 23 80 00 4b 00 50 00 ff 0f 80 00 4b 00 50 00 ff    #?.K.P..??.K.P..
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: 8b 8b 8b 28 3c 50 28 3c 50 28 3c 50 ff ff ff ff    ???(<P(<P(<P....
f0: ff ff 80 ff 00 01 00 04 ff 02 ff 00 00 00 00 ff    ..?..?.?.?......


Best Regards
Yuan Mu



===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such  a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.
===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message.It essentially repeats the statement in English given above.???H???????t?????q?l???]???????K?????T, ?????v???o?H?H???w?????H?H???\\????. ?????z???D?Q???w?????H?H???]???????]?b???g???v?????????U???????H??, ???z?i?????o?H?H?????Y?N?H???q?q???P???????A???????H????. ?????z???X?@, ?????????P??. ?S??????, ???????g???v?????????????q?l?????K???T???????O?Q?Y???T????. ?H???P?????q?l???~?L???????e,???o?????????q?l?????????N??.




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux