We will port w83792d.c to linux-2.6

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

 



Dear Rudolf


> I'm sorry I'm out of ideas right now. Maybe you can modify program
> eeprom.c in lmsensors package (the prog/ directory) and try to read
> firts 16 bytes of EEPROM again and again if you get same results.
> Or first four bytes, I think first two should not be zeros.

My debug environment is linux-2.6.10, so the eeprom.c you mentioned
should not be in lm-sensors package, but in:
/usr/src/linux-2.6.10/drivers/i2c/chips/eeprom.c
Am I right? Btw, all the dump and debug messages are from linux-2.6
instead of linux-2.4.

I do NOT modify the eeprom.c, instead, I do the dumps below, please
refer to it.


> Please can you obtain several dumps from the bus?
> 
> like:
>       #!/bin/bash
>       while true ; do
>       i2cdump -y 0 0x50 >>eeprom
>       i2cdump -y 0 0x50 >>eeprom
>       i2cdump -y 0 0x2f >>winbon <=your chip adr I think is this one
>       i2cdump -y 0 0x2f >>winbon <=your chip adr I think is this one
>       done
> (ctrl c to stop after several thousends cycles please)

I use such script you gave me to dump it, the attachment is the dump
output in hundreds of times. Please check it.

    #!/bin/bash
    while true ; do
    i2cdump -y 0 0x50
    i2cdump -y 0 0x50
    i2cdump -y 0 0x2f
    i2cdump -y 0 0x2f
    done
I have some questions here,
(1) why the script should contains two lines of " i2cdump -y 0 0x2f"?
(2) Should I modify the second "i2cdump -y 0 0x50" into " i2cdump -y 0
0x51"?
Because on Abit motherboard:
[root@ ~]# sensors
eeprom-i2c-0-51
Adapter: SMBus ALi 1563 Adapter @ 5000
Unknown EEPROM type (255).

eeprom-i2c-0-50
Adapter: SMBus ALi 1563 Adapter @ 5000
Unknown EEPROM type (255).


> Also I would like to see correct i2cdump of SAME memory module.
> Maybe we can guess something from different values. So you need to
> put the module to some other motherboard and perform i2cdump on it.

I dump it again on the platform where can work correctly:
RIOWORKS PDPLA0250000005
Intel Corp.82801CA/CAM SMBus Controller
Intel(R) XEON(TM) CPU 2.00GHz
Please check it, the dump output mesasge on this platform is:
[root@ ~]# i2cdump 0 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and
worse!
I will probe file /dev/i2c-0, address 0x50, mode byte
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: ac 00 07 0c 0a 01 48 00 04 75 75 02 80 08 08 01    ?.????H.?uu?????
10: 0e 04 0c 01 02 26 00 a0 75 00 00 50 3c 50 30 20    ?????&.?u..P<P0
20: 00 00 50 50 00 00 00 00 00 41 4b 30 32 75 00 00    ..PP.....AK02u..
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1a    ...............?
40: ac 00 00 00 00 00 00 bb ff 00 00 00 00 00 00 00    ?......?........
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
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 00 00    ................
80: ac 00 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: 00 00 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: ac 00 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: 00 00 ac 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    ................
[root@ ~]# sensors
eeprom-i2c-0-54
Adapter: SMBus I801 adapter at 1100
Memory type:            DDR SDRAM DIMM
Memory size (MB):       128

eeprom-i2c-0-50
Adapter: SMBus I801 adapter at 1100
Memory type:            DDR SDRAM DIMM
Memory size (MB):       128


Thanks

Best Regards
Chunhao
2005-3-31



===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate 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. They essentially repeat the&nbsp; English statement 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??.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_result.tar.gz
Type: application/x-gzip
Size: 42825 bytes
Desc: dump_result.tar.gz
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050331/9cf08da2/attachment.gz 


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

  Powered by Linux