sensor mt9t001 i2c question

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

 



hi,all!

I use the Montavist version, I installed  I2C-tools software tools in linux2.6.10.My system to mount a two I2C devicesroot at 192.168.0.103:/sys/bus/i2c/devices# ls0-001b  0-005din fact,0-005d is mt9t001 equipment slave address.I need to debug it.Step 1: Identify the I2C buses root at 192.168.0.103:~# i2cdetect li2c-0   i2c             DAVINCI I2C adapter                     I2C adapterStep 2: Query the I2C bus root at 192.168.0.103:~# i2cdetect 0WARNING! This program can confuse your I2C bus, cause data loss and worse!I will probe file /dev/i2c/0.I will probe address range 0x03-0x77.Continue? [Y/n] yDaVinci I2C WARNING: i2c: RAR detected-- DaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detected--DaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: NACK detectedDaVinci I2C WARNING: i2c: RAR detected--Why is there the above information.I do not know what is the meaning . Step 4: Dump the I2C device registers  root at 192.168.0.103:/sys/bus/i2c/devices# i2cdump -f 0 0x5d wWARNING! This program can confuse your I2C bus, cause data loss and worse!I will probe file /dev/i2c/0, address 0x5d, mode word /*Because MT9T001 register for the two byte*/Continue? [Y/n] y            .........38: DaVinci I2C WARNING: i2c: RAR detected0000 0000 0000 0DaVinci I2C WARNING: i2c: RAR detected000 1000 0500 03DaVinci I2C WARNING: i2c: RAR detected00 0200DaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detected      ..........DaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedDaVinci I2C WARNING: i2c: RAR detectedf8: 0100 0000 3623 00a4 3800 20d0 0000 1116 Why is there the above information.I do not know what is the meaning . i2cget and i2cset root at 192.168.0.103:/sys/bus/i2c/devices# i2cset -f 0 0x5d 0x00 0x1611 wWARNING! This program can confuse your I2C bus, cause data loss and worse!I will write to device file /dev/i2c/0, chip address 0x5d, data address0x00, data 0x1611, mode word.Continue? [Y/n] yDaVinci I2C WARNING: i2c: RAR detectedWarning - data mismatch - wrote 0x1611, read back 0x1116 Why is there the above information.I do not know what is the meaning . Hope that everyone can help me! thanks winkyxiao!      

MSN????????????? ??????? 
_________________________________________________________________
MSN ????????????????????
http://cn.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080905/05b27360/attachment.html 


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

  Powered by Linux