Firefly开源社区

打印 上一主题 下一主题

firefly-RK3288 reload版,安卓5.1版本,点不亮商城的USB高清摄像头(199元)

73

积分

0

威望

0

贡献

游客

积分
73

firefly-RK3288 reload版,安卓5.1版本,点不亮商城的USB高清摄像头(199元)

发表于 2017-12-16 16:52:17      浏览:12274 | 回复:6        打印      只看该作者   [复制链接] 楼主
用最新的固件:Firefly-RK3288-Reload_Android5.1_201711211135.7z  也试过不行请问有什么特别的补丁或者如何修改?



回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2017-12-18 10:14:39        只看该作者  沙发
请插入USB 然后重启一下试试
回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2017-12-18 10:19:11        只看该作者  板凳
logcat -s CameraHal将log发出来看看
回复

使用道具 举报

73

积分

0

威望

0

贡献

游客

积分
73
发表于 2017-12-18 10:48:35        只看该作者  地板
--------- beginning of system

--------- beginning of crash

--------- beginning of main

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

I/CameraHal( 2881): camera_device_open(500): camera_device open

D/CameraHal( 2881): gCameraHalLogLevel: 0

D/CameraHal( 2881): CameraHal(146): it is a uvc camera!

D/CameraHal( 2881): Writetxt(80): /data/rotation_flag open success!

D/CameraHal( 2881): Calling process is: com.android.camera2

D/CameraHal( 2881): cameraCreate(374): Camera driver: uvcvideo   Driver version: 3.10.0  CameraHal version: 1.55.1

D/CameraHal( 2881): cameraCreate(381): mCamDriverSupportFmt: fmt = 1448695129,index = 0

D/CameraHal( 2881): cameraCreate(381): mCamDriverSupportFmt: fmt = 1196444237,index = 1

D/CameraHal( 2881): cameraCreate(419): cameraCreate(419): mCamDriverPreviewFmt(YUYV) is cameraHal and camera driver is also supported!!

D/CameraHal( 2881): cameraCreate(421): mCamDriverPreviewFmt  = 1448695129

D/CameraHal( 2881): cameraCreate(427): cameraCreate(427): Current driver is uvcvideo, v4l2 memory is V4L2_MEMORY_MMAP

E/CameraHal( 2881): initDefaultParameters(486): initDefaultParameters(486): mCamDriverCapability.card is error!

D/CameraHal( 2881): initDefaultParameters(534): Support Preview format: yuv420sp,yuv420p .. yuv420sp

D/CameraHal( 2881): initDefaultParameters(536): Support Preview sizes: 640x480,352x288,320x240,176x144,160x120,544x288,432x240,320x176,640x360     640x480

D/CameraHal( 2881): initDefaultParameters(537): Support Preview FPS range: (15000,30000)

D/CameraHal( 2881): initDefaultParameters(538): Support Preview framerate: 30,15

D/CameraHal( 2881): initDefaultParameters(539): Support Picture sizes: 640x480,352x288,320x240,176x144,160x120,544x288,432x240,320x176,640x360

D/CameraHal( 2881): initDefaultParameters(541): Support white balance: auto,incandescent,fluorescent,daylight,cloudy-daylight

D/CameraHal( 2881): initDefaultParameters(549): Support focus: fixed  focus zone: 0

D/CameraHal( 2881): initDefaultParameters(551): Support zoom: true(ratios: 100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,)

D/CameraHal( 2881): initDefaultParameters(555): Support exposure: (-3 -> 3)

D/CameraHal( 2881): initDefaultParameters(559): Support anti-banding: off,50hz,60hz,auto  anti-banding: off

D/CameraHal( 2881): initDefaultParameters(561): Support hardware faces detecte: 0

D/CameraHal( 2881): initDefaultParameters(562): Support software faces detecte: 0

D/CameraHal( 2881): initDefaultParameters(563): Support video stabilization: false

D/CameraHal( 2881): initDefaultParameters(564): Support recording hint: false

D/CameraHal( 2881): cameraConfig(696): cameraConfig(696): Set framerate(30 fps) success

D/CameraHal( 2881): cameraConfig(739): cameraConfig(739): Set white balance(auto) success

D/CameraHal( 2881): cameraConfig(816): cameraConfig(816): Set anti-banding Disabled

D/CameraHal( 2881): cameraConfig(897): cameraConfig(897): Set exposure 0        0

D/CameraHal( 2881): enableSensor(213): orientation = 0xb7b10968 (MPL accel)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(0)

D/CameraHal( 2881): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)

D/CameraHal( 2881): setParameters(623): suppport focus modes:fixed, expect:fixed

D/CameraHal( 2881): setParameters(623): suppport focus modes:fixed, expect:fixed

D/CameraHal( 2881): setParameters(623): suppport focus modes:fixed, expect:fixed

D/CameraHal( 2881): setParameters(623): suppport focus modes:fixed, expect:fixed

D/CameraHal( 2881): commandThread(964): commandThread(964):receive CMD_SET_PREVIEW_WINDOW

D/CameraHal( 2881): commandThread(980): commandThread(980): CMD_SET_PREVIEW_WINDOW out

D/CameraHal( 2881): commandThread(859): commandThread(859):receive CMD_PREVIEW_START

D/CameraHal( 2881): startPreview(177): startPreview177:preview_w = 640,preview_h = 480,drv_w = 640,drv_h = 480

D/CameraHal( 2881): cameraSetSize(476): cameraSetSize(476):IN, w = 640,h = 480

D/CameraHal( 2881): cameraStream(498): cameraStream(498):on = 1

D/CameraHal( 2881): startPreview(223): startPreview(223):OUT

D/CameraHal( 2881): displayThread(596): displayThread(596): receive CMD_DISPLAY_START

D/CameraHal( 2881): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore

D/CameraHal( 2881): commandThread(932): commandThread(932): CMD_PREVIEW_START out

D/CameraHal( 2881): setParameters(623): suppport focus modes:fixed, expect:fixed

回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2017-12-18 11:22:15        只看该作者  5#
插入USB camera后重启系统,然后用camera apk打开,然后把上层的log和内核的log发一下
回复

使用道具 举报

73

积分

0

威望

0

贡献

游客

积分
73
发表于 2017-12-18 14:12:03        只看该作者  6#
USB摄像头目前只能用系统自带的“相机”才能打开
回复

使用道具 举报

9

积分

0

威望

0

贡献

游客

积分
9
发表于 2017-12-19 17:36:27        只看该作者  7#
USB Camera可以直接通过/dev/video0节点来控制,Linux uvc的标准接口可以直接用的。有直接控制video节点的APP。这个Camera输出是yuv格式的数据,比较占USB带宽,最好用mjpeg的会好点。rk Camerahal不支持h264格式的USB Camera,这个要注意。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表