I2c-cpm drievr not working
smitha.vanga at wipro.com
smitha.vanga at wipro.com
Fri Oct 14 15:14:55 EST 2011
Hi Scott,
I am using the i2c-cpm driver to read and write to a LM75 sensor. The
int i2c_master_send(struct i2c_client *client,const char *buf ,int count) function is not successful.
Could you let me know what may be the issue. Below are the traces.
DS75_DRIVER : Open
DS75_DRIVER : Device Open Successful!
DS75_DRIVER : ioctl TEMP_READ cmd 1
In i2c_master_send enter-------
In i2c_master_send enter [2]-------
In i2c_master_send msg.addr=c031
In i2c_master_send 1 client->addr =0
In i2c_master_send 2
In i2c_master_send 3
In i2c_master_send 4
--- enter i2c_transfer
i2c_transfer_entry
*********** cpm_i2c_xfer
***********cpm_i2c_parse_message
***********cpm_i2c_check_message
*********** else
rv =1
In i2c_master_send 5
i2c_master_recv client.addr=0
--- enter i2c_transfer
i2c_transfer_entry
*********** cpm_i2c_xfer
***********cpm_i2c_parse_message
i2c_adapter i2c-0: I2C transfer: timeout
*********** cpm_i2c_xfer out_err
***********cpm_i2c_force_close
rv =ffffff87
DS75_DRIVER : Error reading from I2C
Regards,
Smitha
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
More information about the Linuxppc-dev
mailing list