Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] i2c detect not found

79

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
79

【General】 i2c detect not found

Posted at 8/30/2022 14:12:32      View:3392 | Replies:5        Print      Only Author   [Copy Link] 1#
Hi,

I am using AIO-3399J EVK and connected some sensors to I2C4.
I am trying to use i2cdetect command it gives an error saying -
i2c detect not found.

I also tried to use sudo also but sudo also not working.
I tried to use su but su also not working.

EVK - AIO-3399J
BSP - Andriod 7.1 from firefly
Command - rk3399_firefly_aio_lvds_box_userdebug

Any suggestion on how I can enable i2c detect in BSP.
Reply

Use props Report

1080

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1080
Posted at 9/5/2022 11:25:10        Only Author  2#
You can download the attachment file i2cdetect and push it to the /data i2cdetect.zip (247.35 KB, Down times: 2)

Reply

Use props Report

79

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
79
Posted at 9/5/2022 22:29:41        Only Author  3#
jpchen Posted at 9/5/2022 11:25
You can download the attachment file i2cdetect and push it to the /data

Hi, jpchen,

Thanks for your reply.

I am able to build and use i2c detect using the below links -

-------------------------------------------------------------------------
https://cdmana.com/2021/12/202112270710526342.html

https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/

https://blog.csdn.net/m0_38022615/article/details/110229742
--------------------------------------------------------------------------



Reply

Use props Report

79

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
79
Posted at 9/5/2022 22:32:23        Only Author  4#
jpchen Posted at 9/5/2022 11:25
You can download the attachment file i2cdetect and push it to the /data

Hi jpchen,

can you suggest how I can use evtest command?

Reply

Use props Report

1080

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1080
Posted at 9/6/2022 10:01:27        Only Author  5#
maneesh.singh Posted at 9/5/2022 22:32
Hi jpchen,

can you suggest how I can use evtest command?

i2cdetect -r -y 0    //The number represents the I2C channel
Reply

Use props Report

79

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
79
Posted at 9/12/2022 16:27:11        Only Author  6#
jpchen Posted at 9/6/2022 10:01
i2cdetect -r -y 0    //The number represents the I2C channel

Hi @jpchchen,

Thanks for your reply.

I2C detect I am able to do.

can you suggest how I can use the evtest tool to test input events?

Thanks
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list