Dear all,
Hi,I am trying to add my own device to the msm i2c bus.The s5k3c1fx and
ds2746 also connect to the same i2c bus,they work well,so I add the
driver code according to them.But it cannot transmit data.Any suggestion is
appreciated! Thank you in advance!
Here is the dmesg,my linux kernel is 2.6.32.9.
...
[ 6.213896] *scv_led* Probe.succ
...
[ 40.174571] *scv_led_i2c_write(0x11,0x11*)
[ 40.174596] *pclient*::flags:0,addr:250,name:scv_led
[ 40.174626] irq:0,adapter->name:MSM I2C
adapter,driver->id_table->name:scv_led
[ 40.174674] msm_i2c_xfer:
[ 40.174699] dev->dev->init_name:<NULL>,dev->irq:34
[ 40.174723] dev->adapter->name:MSM I2C
adapter,dev->need_flush:0,dev->is_suspended:0
[ 40.174766] msm_i2c_interrupt_locked:status:0STATUS (0x00000000):
[ 40.174804] in I2C_STATUS_WR_BUFFER_FULL
[ 40.174916] msm_i2c_interrupt_locked:status:17352STATUS (0x000043c8): MST
ACT NAK FAIL 0xc0
[ 40.174986] msm_i2c msm_i2c.0: error, status 43c8
[ 40.175044] msm_i2c msm_i2c.0: Error during data xfer (-5)
[ 40.175081] i2c_master_send,return:-5
[ 40.175106] scv_led_i2c_write(0x22,0x22)
Best regards
weihongcsu
9/30/2011
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel