20240701在飞凌的OK3588-C开发板的Android12系统下使用i2cdetect确认I2C总线

console:/ # i2cdetect -y -r 0
console:/ # i2cdetect -l
console:/ # i2cdetect -F 0


20240701在飞凌的OK3588-C开发板的Android12系统下使用i2cdetect确认I2C总线
2024/7/1 11:30


在CAM1、CAM2挂载OV13850。
在CAM3、CAM4和CAM5挂载OV5645了。


console:/ # i2
i2cdetect  i2cdump    i2cget     i2cset

console:/ # i2cdetect --help
Toybox 0.8.4-android multicall binary: https://landley.net/toybox (see toybox --help)

usage: i2cdetect [-ary] BUS [FIRST LAST]
usage: i2cdetect -F BUS
usage: i2cdetect -l

Detect i2c devices.

-a    All addresses (0x00-0x7f rather than 0x03-0x77)
-F    Show functionality
-l    List all buses
-r    Probe with SMBus Read Byte
-y    Answer "yes" to confirmation prompts (for script use)
console:/ # 
console:/ # i2
i2cdetect  i2cdump    i2cget     i2cset

console:/ # i2cdetect -F 0
Functionalities implemented by /dev/i2c-0:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # i2cdetect -F 2
Functionalities implemented by /dev/i2c-2:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # i2cdetect -F 3
Functionalities implemented by /dev/i2c-3:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # i2cdetect -F 4
Functionalities implemented by /dev/i2c-4:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 

console:/ # 
console:/ # 
console:/ # i2cdetect -F 5
Functionalities implemented by /dev/i2c-5:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # i2cdetect -F 6
i2cdetect: /dev/i2c-6: No such file or directory
1|console:/ # 
1|console:/ # 
1|console:/ # i2cdetect -F 7
Functionalities implemented by /dev/i2c-7:
I2C                              yes
SMBus Quick Command              yes
SMBus Send Byte                  yes
SMBus Receive Byte               yes
SMBus Write Byte                 yes
SMBus Read Byte                  yes
SMBus Write Word                 yes
SMBus Read Word                  yes
SMBus Process Call               yes
SMBus Write Block                yes
SMBus Read Block                 no
SMBus Block Process Call         no
SMBus PEC                        yes
I2C Write Block                  yes
I2C Read Block                   yes
console:/ # 
console:/ # 
console:/ # 
console:/ # i2cdetect -F 8
i2cdetect: /dev/i2c-8: No such file or directory
1|console:/ # 
1|console:/ # 
1|console:/ # i2c
i2cdetect  i2cdump    i2cget     i2cset

1|console:/ # 
1|console:/ # i2cdetect -r -y 0
i2cdetect: Unknown option 'r' (see "i2cdetect --help")
1|console:/ # 
1|console:/ # i2cdet
1|console:/ # i2cdetect --help
Toybox 0.8.4-android multicall binary: https://landley.net/toybox (see toybox --help)

usage: i2cdetect [-ary] BUS [FIRST LAST]
usage: i2cdetect -F BUS
usage: i2cdetect -l

Detect i2c devices.

-a    All addresses (0x00-0x7f rather than 0x03-0x77)
-F    Show functionality
-l    List all buses
-r    Probe with SMBus Read Byte
-y    Answer "yes" to confirmation prompts (for script use)
console:/ # 
console:/ # 
console:/ # i2
i2cdetect  i2cdump    i2cget     i2cset

console:/ #
1|console:/ # i2cdetect -y -a 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- UU UU -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- UU UU -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 3
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 4
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 

console:/ # 
console:/ # i2cdetect -y -a 45
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 6
i2cdetect: /dev/i2c-6: No such file or directory
1|console:/ # 
1|console:/ # 
1|console:/ # i2cdetect -y -a 7
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
console:/ # 
console:/ # 
console:/ # i2cdetect -y -a 8
i2cdetect: /dev/i2c-8: No such file or directory
1|console:/ # [  194.648562][  T454] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au
[  254.648561][  T454] healthd: battery l=50 v=3 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au

1|console:/ # 
1|console:/ # 


5个摄像头插满,CAM3和CAM4的OV5645组成前后摄像头。
CAM1 CAM2 OV13850
CAM3 CAM4 CAM5 OV5645

cam1
gst-launch-1.0 v4l2src device=/dev/video40 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink

cam2
gst-launch-1.0 v4l2src device=/dev/video49 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink


gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink
gst-launch-1.0 v4l2src device=/dev/video8 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink

cam3
gst-launch-1.0 v4l2src device=/dev/video16 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink

cam4
gst-launch-1.0 v4l2src device=/dev/video24 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink

cam5
gst-launch-1.0 v4l2src device=/dev/video32 ! video/x-raw, format=NV12, width=640, height=480, framerate=30/1 ! waylandsink


参考资料:
0312-3119192  2软件 4瑞芯微平台  2 RK3588


5.最后编译buildroot就行

i2c7下没设备
所以驱动没匹配  您驱动里的的i2c操作关闭仅仅是不写入东西了
现在您的摄像头没有在正常工作

随便接入一个i2c设备 设备树不描述 i2cdetect 都可以读到地址 
说明设备在正常工作  
变成UU状态说明驱动注册

您驱动里的修改和这个设备本身是否正常运行没有关系  肯定应该读到一个i2c设备的


https://www.elecfans.com/d/2195063.html
i2c detect扫描i2c总线上的设备


https://blog.csdn.net/weixin_42581177/article/details/131158404
Linux下的I2C工具:i2c_tools

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/763753.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

音乐:触动心灵的艺术语言

Enjoy your music 音 乐 作为一种跨越时空和文化的艺术形式,拥有着无穷的魅力和力量。 它不仅能够带给我们愉悦的听觉享受,还对我们的身心健康、认知发展和社会交往产生着深远的影响。 一、音乐的基本元素 音乐由多个基本元素构成,包括…

【黑龙江等保测评具体是怎样做的?】

实现等保测评一般包括下列步骤: 1.黑龙江等保测评的目标:要明确评价的对象,即评价的范围和重点,以及要达到的层次。这样就可以保证评估工作是根据企业的实际需要来开展的。 2.黑龙江等保测评的现场测评:搜集有关的安…

LabVIEW电压电流实时监测系统

开发了一种基于LabVIEW和研华(Advantech)数据采集卡的电压电流实时监测系统,通过高效的数据采集和处理,为工业和科研用户提供高精度、实时的电压电流监测解决方案。系统采用研华USB-4711A数据采集卡,结合LabVIEW编程环…

IPIDEA代理IP助力高效数据采集

IPIDEA代理IP助力高效数据采集 文章目录 IPIDEA代理IP助力高效数据采集📑前言一、爬虫数据采集痛点二、代理IP解决爬虫痛点2.1 为什么可以2.2 选择代理IP的关键因素 三、IPIDEA海外IP代理的优势3.1 IPIDEA的显著优势3.2 IPIDEA的代理类型及应用 四、IPIDEA爬虫实战4…

万界星空科技铜管加工行业MES系统解决方案

一、行业背景与挑战 随着铜管加工行业的快速发展,传统的管理模式已难以满足日益增长的生产需求。为满足市场的高效率、高质量、低成本要求,企业急需一套智能化的管理系统来提升生产效率、优化资源配置和确保产品质量。因此,我们针对铜管加工行…

docker部署前端,配置域名和ssl

之前使用80端口部署前端项目后,可以使用IP端口号在公网访问到部署的项目。 进行ICP域名备案后,可以通过域名解析将IP套壳,访问域名直接访问到部署的项目~ 如果使用http协议可以很容易实现这个需求,对nginx.conf文件进行修改&#…

物联网数据可视化利器:云组态设计器全新升级

数据可视化已成为数据展示与分析领域非常重要的工具。由多种图表、3D图形组成的大屏能够帮助用户非常直观简洁地了解数据。在物联网环境下,用户在制作数据展示大屏时,对数据可视化工具提出了更高的要求,例如能够展示3D组件、灵活的图层结构、支持多种数据源、实时的数据更新、图…

化身李时珍弟子,演绎中医药故事,李良济花神戏,创新传承中医药文化

6月29日,李良济与花神戏联袂举办的儿童剧本,在李良济嵩山店强势开启。 20余名小朋友,一起在这次中医药儿童剧本活动中,化身李时珍弟子,学中医,识草药,传承中医智慧,沉浸式学习传统文…

如何在AWS上使用免费的服务器

要在AWS上免费使用的服务器,你可以按照以下步骤操作: (1)注册AWS账户: 访问AWS官方网站(https://aws.amazon.com/cn/),点击右上角的“完成注册”,按照页面提示填写相关…

Redis的缓存击穿,缓存雪崩,缓存穿透问题

Redis的缓存击穿,缓存雪崩,缓存穿透问题 引言 在分布式系统中,缓存是一种常用的提升性能和减轻数据库压力的手段。然而,缓存系统也存在一些常见的问题,如缓存击穿、缓存雪崩和缓存穿透。这些问题如果不加以解决&…

C#/WPF 自制白板工具

随着电子屏幕技术的发展&#xff0c;普通的黑板已不再适用现在的教学和演示环境&#xff0c;电子白板应运而生。本篇使用WPF开发了一个电子白板工具&#xff0c;功能丰富&#xff0c;非常使用日常免费使用&#xff0c;或者进行再次开发。 示例代码如下&#xff1a; Stack<St…

OOCL东方海外不定位置旋转验证码识别代码

样例图如下 这款验证码的识别最大难度在于&#xff0c;旋转的位置不固定&#xff0c;需要识别旋转图片的位置。 第二大难点就是旋转角度的识别。所以我们采集了大量样例图片进行训练&#xff0c;如下图所示 最终训练得到的模型需要两张图片输入&#xff0c;才能完成旋转角度识…

高效批量复制与覆盖:一键实现文件管理,轻松应对同名文件,简化工作流程

在数字时代&#xff0c;我们每天都在与海量的文件和数据打交道。你是否曾经遇到过这样的情况&#xff1a;需要批量复制文件到指定文件夹&#xff0c;但一遇到同名文件就头疼不已&#xff0c;要么手动一个个确认覆盖&#xff0c;要么冒着数据丢失的风险直接操作&#xff1f;别担…

Spring Cacheable 注解

Spring Cacheable 注解 在Spring框架中&#xff0c;缓存是一种提高应用程序性能的重要技术手段。Cacheable注解是Spring Cache中最常用的注解之一&#xff0c;它用于将方法的返回值缓存起来&#xff0c;以便后续调用时直接从缓存中获取&#xff0c;而不是再次执行方法。本文将…

独立开发者系列(16)——数据表的设计

绝大部分项目&#xff0c;都需要用到数据库&#xff0c;而数据库需要设计数据表。而设计数据表&#xff0c;需要理解一些关于MYSQL的属性背景。要不然设计的时候&#xff0c;不符合规范或者性能非常差。 建立数据库。 主要是需要掌握字符集概念&#xff0c;在以前gbk网页编码比…

git 还原被删除的分支

在多人项目开发中&#xff0c;有一次碰到忘记合并到master分支了&#xff0c;直接就把开发分支给删除了&#xff0c;现在记录下怎么还原被删除的分支 必须保证删除的分支之前已经被推送到了远程仓库 # 找出被删除分支的最后一个提交的哈希值 git reflog show# 找到提交哈希值…

选项卡功能 样式

先上效果图 用的flex布局&#xff0c;flex1 自动平均分为几块 选中样式就是tab-active&#xff0c;有个背景色和下划线 <template><div><div class"tab-box"><!-- <div class"tab-li" :class"[activeIndex0?tab-active:]&…

赛氪网:企业竞赛组织平台新选择,一键操作助力赛事成功举办

在数字化时代&#xff0c;传统的赛事报名方式已经逐渐难以满足组织者和参赛者的需求。企业如何寻找一种既方便又高效的赛事报名工具&#xff1f;赛氪网平台凭借其便捷的操作流程、完善的管理功能和技术保障&#xff0c;成为众多企业和高校举办竞赛时的首选。 赛氪网作为一款先…

内容营销专家刘鑫炜:越是赚不到钱,越要加大推广力度

这两天&#xff0c;一位跟我们有长期合作关系的小微企业主老苏问我。 “现在钱这么不好赚&#xff0c;品牌推广应该怎么做&#xff1f;” 我说&#xff1a;“这是好机会&#xff0c;加大投放力度&#xff01;” 老苏很是不解&#xff0c;这时候不开源节流&#xff0c;还要加…

换热器管接头内孔焊

GB/T 151-2014的6.6.4给出了换热管与管板连接内孔焊的四种型式。有文献将前两种称为全部对接&#xff0c;后两种称为准对接。 与强度焊、强度胀、强度焊贴胀相比&#xff0c;内孔焊主要有以下优点&#xff1a;不存在胀管产生的残余应力的问题&#xff1b;换热管与管板管孔之间…