Re: 2 Questions about "i2c-tools (3.1.1)"

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

 



Hello,

On Tue, Aug 15, 2017 at 05:42:55PM +0800, Tarker Hu wrote:
>   We are using "i2c-tools (3.1.1)" and we have 2 questions:
> 
>   (01 ) When I send cmd “i2cdetect -y -r 2”, I find that some device
> address always shows “UU”.
> 
>         What “UU” means?

Did you read the man page of i2cdetect. There is a section "INTERPRETING
THE OUTPUT" that describes UU.
 
>     When I used i2cdump to that address (showing “UU”), it always came
> out “XXXX”. Can I i2cdump it?

You should unbind the driver first.

>     Is there any document about that?
> 
>   (02 ) If I need to i2cget/i2cset to an device with “word-address
> (address with 16 bits)”, how can I do?
> 
>     Is there any document?

Yes, the man page for i2cget and i2cset.

>     Can you show me a real example?

I don't have something handy. If you find that i2cset/get are not
flexible enough, you should be able to do whatever you want with
i2ctransfer (which doesn't exist yet in 3.1.1 though).

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux