From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: xiaowinky <nanguangzhixing-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: FW: HELP ME! DM355 EVM MT9T001 question!
Date: Tue, 2 Sep 2008 09:15:32 +0200 [thread overview]
Message-ID: <20080902091532.0f4319ad@hyperion.delvare> (raw)
In-Reply-To: <BLU111-W4910427AB2C320E39BF04CB75C0-MsuGFMq8XAE@public.gmane.org>
On Tue, 2 Sep 2008 01:35:00 +0800, xiaowinky wrote:
> hi,all!
> I use the i2c-tools-3.0.1 tool to compile and install in DM355 EVM kernel,
Which kernel version are you using?
> For example with orders #i2cdetect 0,
> prompts following information:
> WARNING! 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]
What is the output of this command?
> Then the basis bus address range 0x03-0x07,orders the test with below:
> #i2cdump 0 0x03-0x77,
> only 0x5D and 0x1B two bus addresses are effective, For example # i2cdump 0 0x5d
> prompt the information to be as follows:
> No size specified (using byte-data access)
> Error: Could not set address to 0x5d: Device or resource busy
This means that there's already a kernel driver bound to this device.
To find out which it is, you can follow the driver link
in /sys/bus/i2c/devices/0-005d.
To solve this, you can either unload the driver in question (with
rmmod), or you can pass option "-f" to i2cdump to force i2c-dev to
access the device even though it is busy. But beware that this might
confuse the kernel driver that is bound to the device, so this is
generally discouraged.
>
> Other bus address is invalid, For example : # i2cdump 0 0x3a
> prompts the information to be as follows:
> 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 0x3a, mode byte
> Continue? [Y/n]
>
> Whether only 0x5D and the 0xB1 two device address hang on the I2C bus ???
I don't understand this question, sorry. Please rephrase in proper
English.
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next prev parent reply other threads:[~2008-09-02 7:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rUwzhhPSZ00096e49@blu0-omc2-s21.blu0.hotmail.com>
[not found] ` <BLU111-W21AE70F6BF9A6CFACB1D7AB7600@phx.gbl>
[not found] ` <AEA06231B7D16F4CA77C0C1550F3D73005DDD727@sin2apfpew01.ap.sanm.corp>
[not found] ` <BLU111-W438DFF6CC1D3E1028E9BB1B7600@phx.gbl>
[not found] ` <bfd52c5b0808280642o5d30b0f1g77240bd5e0165b16@mail.gmail.com>
[not found] ` <bfd52c5b0808280642o5d30b0f1g77240bd5e0165b16-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-01 17:35 ` FW: HELP ME! DM355 EVM MT9T001 question! xiaowinky
[not found] ` <BLU111-W4910427AB2C320E39BF04CB75C0-MsuGFMq8XAE@public.gmane.org>
2008-09-02 7:15 ` Jean Delvare [this message]
[not found] ` <BLU111-W23C107BF557C2DEB8093CFB75F0@phx.gbl>
[not found] ` <BLU111-W23C107BF557C2DEB8093CFB75F0-MsuGFMq8XAE@public.gmane.org>
2008-09-02 8:07 ` Jean Delvare
[not found] ` <20080902091532.0f4319ad-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-09-02 8:12 ` FW: HELP ME! " xiaowinky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080902091532.0f4319ad@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
--cc=nanguangzhixing-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox