瑞芯微Rockchip开发者社区
登录
直播中
吴湛
10年用户
768经验值
擅长:可编程逻辑
私信
关注
[问答]
请问一下RK3399在Android10下怎样去配置摄像头OV13850呢
开启该帖子的消息推送
RK3399
摄像头
OV13850
请问一下RK3399在Android10下怎样去配置摄像头OV13850呢?
回帖
(1)
张磊
2022-3-7 15:35:25
开发板:天启(t-firefly)AIO-3399J
配件:
MIPI摄像头OV13850
USB摄像头:罗技(Logitech)C930c高清网络摄像头 1080P视频通话
往上拉:
Camera
Remember photo locations?
Tag your photos and videos withe the locations where they're taken.
NEXT
往右拉:
拍照/录像的分辨率:
Resolution & quality
Settings
Camera
Back camera photo
(4:3) 12.8 megapixels
Front camera photo
(4:3) 0.3 megapixels
Video
Back camera video
SD 480p
Front camera video
SD 480p
打开前后摄像头切换
后摄像头→前摄像头
前摄像头效果
前摄像头→后摄像头
后摄像头→前摄像头
Back camera video
SD 480p
QVGA
QCIF
Front camera video
SD 480p
QVGA
QCIF
如果上电开机的时候没有插入USB摄像头,你会只发现到后置摄像头:
Video
Back camera video
SD 480p
根据全志R18平台的修改经验,只修改这个文件就可以做到1080p录像!^_
Z:projrk3399_Android10.0devicerockchiprk3399media_profiles_default.xml
Settings
Camera
Back camera photo
(4:3) 12.8 megapixels
Video
Back camera video
HD 1080p
Back camera video
HD 1080p
HD 720P
SD 480p
后置摄像头OV13850的分辨率列表!
Back camera photo
(4:3) 12.8 megapixels
(4:3) 3.3 megapixels
(4:3) 1.2 megapixels
(16:9) 2.1 megapixels
(16:9) 0.9 megapixels
G: 5固件 4-Android10.0 系统PublicAIO-3399J_Android10_HDMI_210331AIO-3399J_Android10_HDMI_210331.7z
预编译的是480p
后置摄像头视频
SD 480p
QVGA
QCIF
取消
很容易知道,插入USB摄像头就多了两个video设备节点:
/dev/video10
/dev/video11
Microsoft Windows [版本 10.0.18363.1500]
(c) 2019 Microsoft Corporation。保留所有权利。
C:UsersDELL>adb shell
rk3399_firefly_aio_lvds:/ $ cd /dev
rk3399_firefly_aio_lvds:/dev $
rk3399_firefly_aio_lvds:/dev $ ls -l v*
crw-rw---- 1 media camera 81, 12 2013-01-18 08:50 v4l-subdev0
crw-rw---- 1 media camera 81, 13 2013-01-18 08:50 v4l-subdev1
crw-rw---- 1 media camera 81, 14 2013-01-18 08:50 v4l-subdev2
crw-rw---- 1 media camera 81, 15 2013-01-18 08:50 v4l-subdev3
crw-rw---- 1 media camera 81, 16 2013-01-18 08:50 v4l-subdev4
crw-rw---- 1 media camera 81, 17 2013-01-18 08:50 v4l-subdev5
crw-rw-r-- 1 bluetooth net_bt 10, 50 2013-01-18 08:50 vendor_storage
crw-rw---- 1 media camera 81, 0 2013-01-18 08:50 video0
crw-rw---- 1 media camera 81, 1 2013-01-18 08:50 video1
crw-rw---- 1 media camera 81, 10 2013-01-18 08:50 video10
crw-rw---- 1 media camera 81, 11 2013-01-18 08:50 video11
crw-rw---- 1 media camera 81, 2 2013-01-18 08:50 video2
crw-rw---- 1 media camera 81, 3 2013-01-18 08:50 video3
crw-rw---- 1 media camera 81, 4 2013-01-18 08:50 video4
crw-rw---- 1 media camera 81, 5 2013-01-18 08:50 video5
crw-rw---- 1 media camera 81, 6 2013-01-18 08:50 video6
crw-rw---- 1 media camera 81, 7 2013-01-18 08:50 video7
crw-rw---- 1 media camera 81, 8 2013-01-18 08:50 video8
crw-rw---- 1 media camera 81, 9 2013-01-18 08:50 video9
crw-rw-rw- 1 root root 10, 47 2013-01-18 08:50 vmdrm0
crw-rw-rw- 1 root root 10, 56 2013-01-18 08:50 vndbinder
rk3399_firefly_aio_lvds:/dev $
rk3399_firefly_aio_lvds:/dev $
图片
图片
启动完成之后再插入摄像头会报错:
console:/ $
console:/ $
console:/ $
console:/ $
console:/ $
console:/ $ [ 45.437502] u*** 5-1: new high-speed USB device number 2 using xhci-hcd
[ 45.644693] u*** 5-1: New USB device found, idVendor=046d, idProduct=0891, bcdDevice= 0.19
[ 45.644779] u*** 5-1: New USB device strings: Mfr=0, Product=2, SerialNumber=1
[ 45.644802] u*** 5-1: Product: 罗技高清网络摄像机 C930c
[ 45.644824] u*** 5-1: SerialNumber: 237EBCCE
[ 45.675017] uvcvideo: Found UVC 1.00 device 罗技高清网络摄像机 C930c (046d:0891)
[ 45.684324] uvcvideo 5-1:1.0: Entity type for entity Processing 3 was not initialized!
[ 45.684403] uvcvideo 5-1:1.0: Entity type for entity Extension 6 was not initialized!
[ 45.684431] uvcvideo 5-1:1.0: Entity type for entity Extension 8 was not initialized!
[ 45.684457] uvcvideo 5-1:1.0: Entity type for entity Extension 9 was not initialized!
[ 45.684483] uvcvideo 5-1:1.0: Entity type for entity Extension 10 was not initialized!
[ 45.684508] uvcvideo 5-1:1.0: Entity type for entity Extension 11 was not initialized!
[ 45.684538] uvcvideo 5-1:1.0: Entity type for entity Extension 12 was not initialized!
[ 45.684601] uvcvideo 5-1:1.0: Entity type for entity Extension 13 was not initialized!
[ 45.684660] uvcvideo 5-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 45.686892] input: 罗技高清网络摄像机 C93 as /devices/platform/u***@fe900000/fe900000.dwc3/xhci-hcd.0.auto/u***5/5-1/5-1:1.0/input/input4
[ 45.697465] type=1400 audit(1619588870.988:105): avc: denied { getattr } for ino=24051 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[ 45.697596] type=1400 audit(1619588878.301:106): avc: denied { read } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.697909] type=1400 audit(1619588878.301:106): avc: denied { read } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.697979] type=1400 audit(1619588878.301:107): avc: denied { open } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698568] type=1400 audit(1619588878.301:107): avc: denied { open } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698667] type=1400 audit(1619588878.301:108): avc: denied { getattr } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698938] type=1400 audit(1619588878.301:108): avc: denied { getattr } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.699037] type=1400 audit(1619588878.301:109): avc: denied { map } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.966691] audit: audit_lost=11 audit_rate_limit=5 audit_backlog_limit=64
[ 45.966725] audit: rate limit exceeded
[ 45.966744] type=1400 audit(1619588878.301:109): avc: denied { map } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.966788] type=1400 audit(1619588878.571:110): avc: denied { read } for ino=20398 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
console:/ $
console:/ $
开发板:天启(t-firefly)AIO-3399J
配件:
MIPI摄像头OV13850
USB摄像头:罗技(Logitech)C930c高清网络摄像头 1080P视频通话
往上拉:
Camera
Remember photo locations?
Tag your photos and videos withe the locations where they're taken.
NEXT
往右拉:
拍照/录像的分辨率:
Resolution & quality
Settings
Camera
Back camera photo
(4:3) 12.8 megapixels
Front camera photo
(4:3) 0.3 megapixels
Video
Back camera video
SD 480p
Front camera video
SD 480p
打开前后摄像头切换
后摄像头→前摄像头
前摄像头效果
前摄像头→后摄像头
后摄像头→前摄像头
Back camera video
SD 480p
QVGA
QCIF
Front camera video
SD 480p
QVGA
QCIF
如果上电开机的时候没有插入USB摄像头,你会只发现到后置摄像头:
Video
Back camera video
SD 480p
根据全志R18平台的修改经验,只修改这个文件就可以做到1080p录像!^_
Z:projrk3399_Android10.0devicerockchiprk3399media_profiles_default.xml
Settings
Camera
Back camera photo
(4:3) 12.8 megapixels
Video
Back camera video
HD 1080p
Back camera video
HD 1080p
HD 720P
SD 480p
后置摄像头OV13850的分辨率列表!
Back camera photo
(4:3) 12.8 megapixels
(4:3) 3.3 megapixels
(4:3) 1.2 megapixels
(16:9) 2.1 megapixels
(16:9) 0.9 megapixels
G: 5固件 4-Android10.0 系统PublicAIO-3399J_Android10_HDMI_210331AIO-3399J_Android10_HDMI_210331.7z
预编译的是480p
后置摄像头视频
SD 480p
QVGA
QCIF
取消
很容易知道,插入USB摄像头就多了两个video设备节点:
/dev/video10
/dev/video11
Microsoft Windows [版本 10.0.18363.1500]
(c) 2019 Microsoft Corporation。保留所有权利。
C:UsersDELL>adb shell
rk3399_firefly_aio_lvds:/ $ cd /dev
rk3399_firefly_aio_lvds:/dev $
rk3399_firefly_aio_lvds:/dev $ ls -l v*
crw-rw---- 1 media camera 81, 12 2013-01-18 08:50 v4l-subdev0
crw-rw---- 1 media camera 81, 13 2013-01-18 08:50 v4l-subdev1
crw-rw---- 1 media camera 81, 14 2013-01-18 08:50 v4l-subdev2
crw-rw---- 1 media camera 81, 15 2013-01-18 08:50 v4l-subdev3
crw-rw---- 1 media camera 81, 16 2013-01-18 08:50 v4l-subdev4
crw-rw---- 1 media camera 81, 17 2013-01-18 08:50 v4l-subdev5
crw-rw-r-- 1 bluetooth net_bt 10, 50 2013-01-18 08:50 vendor_storage
crw-rw---- 1 media camera 81, 0 2013-01-18 08:50 video0
crw-rw---- 1 media camera 81, 1 2013-01-18 08:50 video1
crw-rw---- 1 media camera 81, 10 2013-01-18 08:50 video10
crw-rw---- 1 media camera 81, 11 2013-01-18 08:50 video11
crw-rw---- 1 media camera 81, 2 2013-01-18 08:50 video2
crw-rw---- 1 media camera 81, 3 2013-01-18 08:50 video3
crw-rw---- 1 media camera 81, 4 2013-01-18 08:50 video4
crw-rw---- 1 media camera 81, 5 2013-01-18 08:50 video5
crw-rw---- 1 media camera 81, 6 2013-01-18 08:50 video6
crw-rw---- 1 media camera 81, 7 2013-01-18 08:50 video7
crw-rw---- 1 media camera 81, 8 2013-01-18 08:50 video8
crw-rw---- 1 media camera 81, 9 2013-01-18 08:50 video9
crw-rw-rw- 1 root root 10, 47 2013-01-18 08:50 vmdrm0
crw-rw-rw- 1 root root 10, 56 2013-01-18 08:50 vndbinder
rk3399_firefly_aio_lvds:/dev $
rk3399_firefly_aio_lvds:/dev $
图片
图片
启动完成之后再插入摄像头会报错:
console:/ $
console:/ $
console:/ $
console:/ $
console:/ $
console:/ $ [ 45.437502] u*** 5-1: new high-speed USB device number 2 using xhci-hcd
[ 45.644693] u*** 5-1: New USB device found, idVendor=046d, idProduct=0891, bcdDevice= 0.19
[ 45.644779] u*** 5-1: New USB device strings: Mfr=0, Product=2, SerialNumber=1
[ 45.644802] u*** 5-1: Product: 罗技高清网络摄像机 C930c
[ 45.644824] u*** 5-1: SerialNumber: 237EBCCE
[ 45.675017] uvcvideo: Found UVC 1.00 device 罗技高清网络摄像机 C930c (046d:0891)
[ 45.684324] uvcvideo 5-1:1.0: Entity type for entity Processing 3 was not initialized!
[ 45.684403] uvcvideo 5-1:1.0: Entity type for entity Extension 6 was not initialized!
[ 45.684431] uvcvideo 5-1:1.0: Entity type for entity Extension 8 was not initialized!
[ 45.684457] uvcvideo 5-1:1.0: Entity type for entity Extension 9 was not initialized!
[ 45.684483] uvcvideo 5-1:1.0: Entity type for entity Extension 10 was not initialized!
[ 45.684508] uvcvideo 5-1:1.0: Entity type for entity Extension 11 was not initialized!
[ 45.684538] uvcvideo 5-1:1.0: Entity type for entity Extension 12 was not initialized!
[ 45.684601] uvcvideo 5-1:1.0: Entity type for entity Extension 13 was not initialized!
[ 45.684660] uvcvideo 5-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 45.686892] input: 罗技高清网络摄像机 C93 as /devices/platform/u***@fe900000/fe900000.dwc3/xhci-hcd.0.auto/u***5/5-1/5-1:1.0/input/input4
[ 45.697465] type=1400 audit(1619588870.988:105): avc: denied { getattr } for ino=24051 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
[ 45.697596] type=1400 audit(1619588878.301:106): avc: denied { read } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.697909] type=1400 audit(1619588878.301:106): avc: denied { read } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.697979] type=1400 audit(1619588878.301:107): avc: denied { open } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698568] type=1400 audit(1619588878.301:107): avc: denied { open } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698667] type=1400 audit(1619588878.301:108): avc: denied { getattr } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.698938] type=1400 audit(1619588878.301:108): avc: denied { getattr } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.699037] type=1400 audit(1619588878.301:109): avc: denied { map } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.966691] audit: audit_lost=11 audit_rate_limit=5 audit_backlog_limit=64
[ 45.966725] audit: rate limit exceeded
[ 45.966744] type=1400 audit(1619588878.301:109): avc: denied { map } for ino=20474 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=1
[ 45.966788] type=1400 audit(1619588878.571:110): avc: denied { read } for ino=20398 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
console:/ $
console:/ $
举报
更多回帖
rotate(-90deg);
回复
相关问答
RK3399
摄像头
OV13850
OV13850
摄像头
在
开发板上的
配置
过程
怎样
的?
2022-03-07
2548
请问
一下
RK3399
在
Android10
下
怎样
去
配置
蓝牙BT
呢
2022-03-07
1154
请问
是打开相机app闪退是什么原因导致的?
2023-02-13
873
rv1126适配
ov13850
摄像头
显示偏绿怎么解决
呢
?
2023-03-29
4704
为什么firefly-
rk3399
双目
ov13850
总是只有
一
个相机能工作
呢
2022-04-20
4690
新手求助
RK3399
在
Android10
下
的ADB连接该
怎样
去
实现
呢
2022-03-08
2117
Firefly
RK3399
开源板上的MIPI
摄像头
接口是如何连接的
2022-03-04
2915
请问
一下
OV13850
这个模块的SID是怎么接的
2022-06-07
1682
用demo里的opencvdemo来打开开发板自带
摄像头
失败的原因?
2021-12-30
925
Firefly
RK3399
开源板的两个MIPI
摄像头
接口座是如何连接的
2022-03-07
1837
发帖
登录/注册
20万+
工程师都在用,
免费
PCB检查工具
无需安装、支持浏览器和手机在线查看、实时共享
查看
点击登录
登录更多精彩功能!
英国威廉希尔公司网站
william hill官网 版块
小组
免费开发板试用
ebook
直播
搜索
登录
×
20
完善资料,
赚取积分