|
【Android】
系统相机调用USB camera提示Camera error,下载的360相机调用没问题
发表于 2019-9-22 18:12:58
浏览:3319
|
回复:3
打印
只看该作者
[复制链接]
楼主
RK3399,Android7.1,
上网查了很多资料,基本没有这种情况,有说是系统相机分辨率的问题,修改了 hardware/rockchip/camera/CameraHal/CameraUSBAdapter.cpp文件里的分辨率,改为1280*720,1920*1080,都不行,打开系统相机还是提示camera error。下面是CameraHAL的log
- 09-22 16:38:34.091 248 2135 D CameraHal: createInstance(1015): open xml file(/etc/cam_board.xml) success
- 09-22 16:38:34.091 248 2135 E CameraHal: cam_board.xml version(v0x0.0x0.0x0) != xml parser version(v0x0.0xf.0x0)
- 09-22 16:38:34.092 248 2135 D CameraHal:
- 09-22 16:38:34.092 248 2135 D CameraHal:
- 09-22 16:38:34.092 248 2135 D CameraHal:
- 09-22 16:38:34.092 248 2135 D CameraHal: Cam_board.xml Version Check:
- 09-22 16:38:34.092 248 2135 D CameraHal: /etc/cam_board.xml : v0.0xf.0
- 09-22 16:38:34.092 248 2135 D CameraHal: CameraHal_board_xml_parser: v0x0.0xf.0x0
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(189): SensorDevID(33554432)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
- 09-22 16:38:34.092 248 2135 D CameraHal: ParserSensorInfo(271): SensorFacing(front)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(415): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI lane: 2 phyindex: 0 fmt: 0x2b
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
- 09-22 16:38:34.093 248 2135 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserVCMInfo(470): start current(20) rated current(80) vcm max(100) step mode(13) drv max(100)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
- 09-22 16:38:34.095 248 2135 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(944): HDR(1)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(948): ZSL(1)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(952): zoom(1)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
- 09-22 16:38:34.096 248 2135 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(782): DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(794): DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(806): DV_CIF(cif) resolution(352x288) fps(10) support(1)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(818): DV_VGA(480p) resolution(640x480) fps(10) support(0)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(830): DV_480P(480p) resolution(720x480) fps(10) support(0)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(854): DV_720P(720p) resolution(1280x720) fps(10) support(1)
- 09-22 16:38:34.096 248 2135 D CameraHal: ParserDVConfig(866): DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1A)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(189): SensorDevID(16777216)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(271): SensorFacing(back)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(415): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
- 09-22 16:38:34.097 248 2135 E CameraHal: ParserSensorInfo(368): SensorPhy: phyindex: 1,open /dev/camsys_marvin1
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
- 09-22 16:38:34.097 248 2135 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI lane: 2 phyindex: 1 fmt: 0x2b
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserVCMInfo(470): start current(20) rated current(80) vcm max(100) step mode(13) drv max(100)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(944): HDR(1)!
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(948): ZSL(1)!
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(952): zoom(1)!
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
- 09-22 16:38:34.098 248 2135 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
- 09-22 16:38:34.099 248 2135 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(782): DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(794): DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(806): DV_CIF(cif) resolution(352x288) fps(10) support(1)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(818): DV_VGA(480p) resolution(640x480) fps(10) support(0)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(830): DV_480P(480p) resolution(720x480) fps(10) support(0)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(854): DV_720P(720p) resolution(1280x720) fps(10) support(1)
- 09-22 16:38:34.099 248 2135 D CameraHal: ParserDVConfig(866): DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
- 09-22 16:38:34.099 248 2135 D CameraHal: number of camdevice (2)
- 09-22 16:38:34.099 248 2135 D CameraHal: now DV size(7)
- 09-22 16:38:34.099 248 2135 E CameraHal: camera_get_number_of_cameras(781): board profiles cam num 2
- 09-22 16:38:34.158 248 2135 D CameraHal: camera_get_number_of_cameras(793): Open /dev/video0 success!
- 09-22 16:38:34.160 248 2135 E CameraHal: camera_get_number_of_cameras(789): Open /dev/video1 failed! strr: No such file or directory
- 09-22 16:38:34.160 248 2135 D CameraHal: read cam name from xml(/data/camera/media_profiles.xml)
- 09-22 16:38:34.160 248 2135 D CameraHal: videoname0="UVC Camera" index=2 facing=0 -->
- 09-22 16:38:34.160 248 2135 D CameraHal:
- 09-22 16:38:34.161 248 2135 D CameraHal: find camera count(1) cam1(UVC Camera) cam2()
- 09-22 16:38:34.161 248 2135 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
- 09-22 16:38:34.161 248 2135 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
- 09-22 16:38:34.161 248 2135 D CameraHal: camera_get_number_of_cameras(869): Open /dev/video0 success!
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video1 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video2 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video3 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video4 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video5 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video6 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video7 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video8 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video9 failed! strr: No such file or directory
- 09-22 16:38:34.164 248 2135 D CameraHal: judge the media profile xml fileexit = 0
- 09-22 16:38:34.164 248 2135 D CameraHal: (UVC Camera) UVC camera resolution(640x480) is support
- 09-22 16:38:34.164 248 2135 D CameraHal: (UVC Camera) UVC camera resolution(1280x720) is support
- 09-22 16:38:34.164 248 2135 D CameraHal: (UVC Camera) UVC camera resolution(1920x1080) is support
- 09-22 16:38:34.169 248 2135 D CameraHal: find element camid(0) quality(qcif) width(176)
- 09-22 16:38:34.169 248 2135 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
- 09-22 16:38:34.169 248 2135 D CameraHal: find element camid(0) quality(qvga) width(320)
- 09-22 16:38:34.169 248 2135 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
- 09-22 16:38:34.170 248 2135 D CameraHal: find element camid(0) quality(cif) width(352)
- 09-22 16:38:34.170 248 2135 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
- 09-22 16:38:34.170 248 2135 D CameraHal: find element camid(0) quality(480p) width(640)
- 09-22 16:38:34.170 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
- 09-22 16:38:34.171 248 2135 D CameraHal: find element camid(0) quality(480p) width(720)
- 09-22 16:38:34.171 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.172 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(576p) width(720)
- 09-22 16:38:34.172 248 2135 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(720p) width(1280)
- 09-22 16:38:34.172 248 2135 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(1080p) width(1920)
- 09-22 16:38:34.172 248 2135 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(qcif) width(176)
- 09-22 16:38:34.172 248 2135 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
- 09-22 16:38:34.172 248 2135 D CameraHal: find element camid(0) quality(qvga) width(320)
- 09-22 16:38:34.172 248 2135 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(cif) width(352)
- 09-22 16:38:34.173 248 2135 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(480p) width(640)
- 09-22 16:38:34.173 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(480p) width(720)
- 09-22 16:38:34.173 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.173 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.173 248 2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.173 248 2135 D CameraHal: find element camid(0) quality(576p) width(720)
- 09-22 16:38:34.173 248 2135 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(0) quality(720p) width(1280)
- 09-22 16:38:34.174 248 2135 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(0) quality(1080p) width(1920)
- 09-22 16:38:34.174 248 2135 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(1) quality(qcif) width(176)
- 09-22 16:38:34.174 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(1) quality(qvga) width(320)
- 09-22 16:38:34.174 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(1) quality(cif) width(352)
- 09-22 16:38:34.174 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
- 09-22 16:38:34.174 248 2135 D CameraHal: find element camid(1) quality(480p) width(640)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(480p) width(720)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(480p) width(800)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(720p) width(1280)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(1080p) width(1920)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(qcif) width(176)
- 09-22 16:38:34.175 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
- 09-22 16:38:34.175 248 2135 D CameraHal: find element camid(1) quality(qvga) width(320)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(cif) width(352)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(480p) width(640)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(480p) width(720)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(480p) width(800)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(720p) width(1280)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
- 09-22 16:38:34.176 248 2135 D CameraHal: find element camid(1) quality(1080p) width(1920)
- 09-22 16:38:34.176 248 2135 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
- 09-22 16:38:34.177 248 2135 D CameraHal: camera_get_number_of_cameras(1281): camera_get_number_of_cameras(1281): Current board have 1 cameras attached.
- 09-22 16:38:34.177 248 2135 D CameraHal: camera_get_number_of_cameras(1284): meida_profiles_xml_control time (93662)us
- 09-22 16:38:34.177 248 2135 D CameraHal: camera_get_camera_info(1494): camera_get_camera_info(1494): camera_0 facing(1), orientation(2)
- 09-22 16:38:34.214 248 2135 D CameraHal: camera_get_camera_info(1494): camera_get_camera_info(1494): camera_0 facing(1), orientation(2)
- 09-22 16:38:34.214 248 2135 I CameraHal: camera_device_open(567): camera_device open
- 09-22 16:38:34.214 248 2135 D CameraHal: gCameraHalLogLevel: 0
- 09-22 16:38:34.215 248 2135 D CameraHal: CameraHal(124): it is a uvc camera!
- 09-22 16:38:34.216 248 2135 D CameraHal: Calling process is: com.android.camera2
- 09-22 16:38:34.217 248 2135 D CameraHal: Calling process is: com.android.camera2
- 09-22 16:38:34.274 248 2135 D CameraHal: cameraCreate(378): Camera driver: uvcvideo Card Name:KS2A418-2.0 Driver version: 0x4.0x4.0x67 CameraHal version: 0x1.0x51.0x1
- 09-22 16:38:34.275 248 2135 D CameraHal: cameraCreate(385): mCamDriverSupportFmt: fmt = 1196444237(Motion-JPEG),index = 0
- 09-22 16:38:34.275 248 2135 D CameraHal: cameraCreate(385): mCamDriverSupportFmt: fmt = 1448695129(YUYV 4:2:2),index = 1
- 09-22 16:38:34.275 248 2135 D CameraHal: cameraCreate(423): cameraCreate(423): mCamDriverPreviewFmt(MJPG) is cameraHal and camera driver is also supported!!
- 09-22 16:38:34.275 248 2135 D CameraHal: cameraCreate(425): mCamDriverPreviewFmt = 1196444237
- 09-22 16:38:34.275 248 2135 D CameraHal: cameraCreate(431): cameraCreate(431): Current driver is uvcvideo, v4l2 memory is V4L2_MEMORY_MMAP
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(500): initDefaultParameters(500): Current driver isn't support fov query, user can update driver to v0.3.0xf
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(570): mIsCtsTest:0 Support video sizes:(null)
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(587): Support Preview format: yuv420sp,yuv420p .. yuv420sp
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(589): Support Preview sizes: 1280x720,640x480,1920x1080 1920x1080
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(590): Support Preview FPS range: (2000,60000)
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(591): Support Preview framerate: 60,30,20,10,5
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(592): Support Picture sizes: 1280x720,640x480,1920x1080
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(594): Support white balance: auto,incandescent,fluorescent,daylight,cloudy-daylight
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(602): Support focus: fixed focus zone: 0
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(604): 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,)
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(608): Support exposure: (-3 -> 3)
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(612): Support anti-banding: off,50hz,60hz,auto anti-banding: off
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(614): Support hardware faces detecte: 2
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(615): Support software faces detecte: 0
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(616): Support video stabilization: false
- 09-22 16:38:34.288 248 2135 D CameraHal: initDefaultParameters(617): Support recording hint: false
- 09-22 16:38:34.299 248 2135 D CameraHal: cameraConfig(749): cameraConfig(749): Set framerate(60 fps) success
- 09-22 16:38:34.302 248 2135 D CameraHal: cameraConfig(792): cameraConfig(792): Set white balance(auto) success
- 09-22 16:38:34.304 248 2135 D CameraHal: cameraConfig(869): cameraConfig(869): Set anti-banding Disabled
- 09-22 16:38:34.306 248 2135 D CameraHal: cameraConfig(950): cameraConfig(950): Set exposure 0 0
- 09-22 16:38:34.306 248 2135 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.306 248 2135 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.306 248 2135 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.307 248 2135 D CameraHal: Calling process is: com.android.camera2
- 09-22 16:38:34.309 248 2135 D CameraHal: camera_get_camera_info(1494): camera_get_camera_info(1494): camera_0 facing(1), orientation(2)
- 09-22 16:38:34.310 248 2578 D CameraHal: camera_get_camera_info(1494): camera_get_camera_info(1494): camera_0 facing(1), orientation(2)
- 09-22 16:38:34.318 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.318 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.318 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.318 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.333 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.333 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.333 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.334 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.340 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.340 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.340 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.340 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.347 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.347 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.347 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.347 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.352 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.352 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.352 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.352 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.362 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.362 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.363 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.363 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.367 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.367 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.367 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.367 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.374 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.375 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.375 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.375 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.381 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.381 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.382 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.382 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.396 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.398 248 2766 D CameraHal: cameraConfig(869): cameraConfig(869): Set anti-banding Disabled
- 09-22 16:38:34.398 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.398 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.398 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.402 248 2766 D CameraHal: commandThread(1064): commandThread(1064): receive CMD_PREVIEW_CAPTURE_CANCEL
- 09-22 16:38:34.402 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.402 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.402 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.402 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.403 248 2766 D CameraHal: commandThread(1072): commandThread(1072): CMD_PREVIEW_CAPTURE_CANCEL out
- 09-22 16:38:34.403 248 2578 D CameraHal: cancelPicture(637): cancel picture OK.
- 09-22 16:38:34.403 248 2766 D CameraHal: commandThread(992): commandThread(992):receive CMD_PREVIEW_STOP
- 09-22 16:38:34.403 248 2766 D CameraHal: stopPreview(239): stopPreview(239):IN
- 09-22 16:38:34.403 248 2766 D CameraHal: stopPreview(259): stopPreview(259):OUT
- 09-22 16:38:34.403 248 2766 D CameraHal: commandThread(1013): commandThread(1013): CMD_PREVIEW_STOP out
- 09-22 16:38:34.403 248 2578 D CameraHal: stopPreview(437): stop preview OK.
- 09-22 16:38:34.405 248 2766 D CameraHal: commandThread(1064): commandThread(1064): receive CMD_PREVIEW_CAPTURE_CANCEL
- 09-22 16:38:34.407 248 2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
- 09-22 16:38:34.407 248 2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
- 09-22 16:38:34.407 248 2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
- 09-22 16:38:34.407 248 2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
- 09-22 16:38:34.407 248 2766 D CameraHal: commandThread(1072): commandThread(1072): CMD_PREVIEW_CAPTURE_CANCEL out
- 09-22 16:38:34.407 248 2578 D CameraHal: cancelPicture(637): cancel picture OK.
- 09-22 16:38:34.407 248 2578 D CameraHal: camera_device_close(455): camera_device_close
- 09-22 16:38:34.407 248 2578 D CameraHal: ~SensorListener(110): Kill looper thread
- 09-22 16:38:34.408 248 2578 D CameraHal: ~SensorListener(122): Kill looper
- 09-22 16:38:34.408 248 2578 D CameraHal: ~SensorListener(128): SensorListener destroyed
- 09-22 16:38:34.408 248 2760 D CameraHal: displayThread(657): displayThread(657): receive CMD_DISPLAY_STOP
- 09-22 16:38:34.408 248 2760 D CameraHal: cameraDisplayBufferDestory(421): cameraDisplayBufferDestory(421): mANativeWindow is NULL, destory is ignore
- 09-22 16:38:34.408 248 2762 D CameraHal: encProcessThread(2233): encProcessThread(2233): receive CMD_ENCPROCESS_EXIT
- 09-22 16:38:34.409 248 2765 D CameraHal: autofocusThread(853): wait out
- 09-22 16:38:34.411 248 2766 D CameraHal: commandThread(1177): commandThread(1177): receive CMD_EXIT
- 09-22 16:38:34.412 248 2578 D CameraHal: ~CameraHal(350): CameraHal destory success
- 09-22 16:38:34.418 248 2578 D CameraHal: createInstance(1015): open xml file(/etc/cam_board.xml) success
- 09-22 16:38:34.418 248 2578 E CameraHal: cam_board.xml version(v0x0.0x0.0x0) != xml parser version(v0x0.0xf.0x0)
- 09-22 16:38:34.418 248 2578 D CameraHal:
- 09-22 16:38:34.418 248 2578 D CameraHal:
- 09-22 16:38:34.418 248 2578 D CameraHal:
- 09-22 16:38:34.418 248 2578 D CameraHal: Cam_board.xml Version Check:
- 09-22 16:38:34.418 248 2578 D CameraHal: /etc/cam_board.xml : v0.0xf.0
- 09-22 16:38:34.418 248 2578 D CameraHal: CameraHal_board_xml_parser: v0x0.0xf.0x0
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(189): SensorDevID(33554432)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
- 09-22 16:38:34.418 248 2578 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(271): SensorFacing(front)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(415): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI lane: 2 phyindex: 0 fmt: 0x2b
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserVCMInfo(470): start current(20) rated current(80) vcm max(100) step mode(13) drv max(100)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
- 09-22 16:38:34.419 248 2578 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
- 09-22 16:38:34.420 248 2578 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
- 09-22 16:38:34.420 248 2578 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
- 09-22 16:38:34.420 248 2578 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
- 09-22 16:38:34.420 248 2578 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
- 09-22 16:38:34.420 248 2578 D CameraHal: StartElementHandler(944): HDR(1)!
- 09-22 16:38:34.420 248 2578 D CameraHal: StartElementHandler(948): ZSL(1)!
- 09-22 16:38:34.421 248 2578 D CameraHal: StartElementHandler(952): zoom(1)!
- 09-22 16:38:34.421 248 2578 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
- 09-22 16:38:34.421 248 2578 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
- 09-22 16:38:34.421 248 2578 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
- 09-22 16:38:34.421 248 2578 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(782): DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(794): DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(806): DV_CIF(cif) resolution(352x288) fps(10) support(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(818): DV_VGA(480p) resolution(640x480) fps(10) support(0)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(830): DV_480P(480p) resolution(720x480) fps(10) support(0)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(854): DV_720P(720p) resolution(1280x720) fps(10) support(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserDVConfig(866): DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1A)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(189): SensorDevID(16777216)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
- 09-22 16:38:34.422 248 2578 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(271): SensorFacing(back)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(415): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
- 09-22 16:38:34.423 248 2578 E CameraHal: ParserSensorInfo(368): SensorPhy: phyindex: 1,open /dev/camsys_marvin1
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI lane: 2 phyindex: 1 fmt: 0x2b
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserVCMInfo(470): start current(20) rated current(80) vcm max(100) step mode(13) drv max(100)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
- 09-22 16:38:34.423 248 2578 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
- 09-22 16:38:34.424 248 2578 D CameraHal: StartElementHandler(944): HDR(1)!
- 09-22 16:38:34.424 248 2578 D CameraHal: StartElementHandler(948): ZSL(1)!
- 09-22 16:38:34.424 248 2578 D CameraHal: StartElementHandler(952): zoom(1)!
- 09-22 16:38:34.424 248 2578 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
- 09-22 16:38:34.425 248 2578 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
- 09-22 16:38:34.425 248 2578 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
- 09-22 16:38:34.425 248 2578 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(782): DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(794): DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(806): DV_CIF(cif) resolution(352x288) fps(10) support(1)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(818): DV_VGA(480p) resolution(640x480) fps(10) support(0)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(830): DV_480P(480p) resolution(720x480) fps(10) support(0)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(854): DV_720P(720p) resolution(1280x720) fps(10) support(1)
- 09-22 16:38:34.425 248 2578 D CameraHal: ParserDVConfig(866): DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
- 09-22 16:38:34.425 248 2578 D CameraHal: number of camdevice (2)
- 09-22 16:38:34.425 248 2578 D CameraHal: now DV size(7)
- 09-22 16:38:34.425 248 2578 E CameraHal: camera_get_number_of_cameras(781): board profiles cam num 2
- 09-22 16:38:34.426 248 2578 D CameraHal: camera_get_number_of_cameras(793): Open /dev/video0 success!
- 09-22 16:38:34.428 248 2578 E CameraHal: camera_get_number_of_cameras(789): Open /dev/video1 failed! strr: No such file or directory
- 09-22 16:38:34.428 248 2578 D CameraHal: read cam name from xml(/data/camera/media_profiles.xml)
- 09-22 16:38:34.428 248 2578 D CameraHal: videoname0="UVC Camera" index=2 facing=0 -->
- 09-22 16:38:34.428 248 2578 D CameraHal:
- 09-22 16:38:34.429 248 2578 D CameraHal: find camera count(1) cam1(UVC Camera) cam2()
- 09-22 16:38:34.429 248 2578 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
- 09-22 16:38:34.429 248 2578 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
- 09-22 16:38:34.429 248 2578 D CameraHal: camera_get_number_of_cameras(869): Open /dev/video0 success!
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video1 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video2 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video3 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video4 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video5 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video6 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video7 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video8 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 E CameraHal: camera_get_number_of_cameras(866): Open /dev/video9 failed! strr: No such file or directory
- 09-22 16:38:34.432 248 2578 D CameraHal: judge the media profile xml fileexit = 0
- 09-22 16:38:34.432 248 2578 D CameraHal: (UVC Camera) UVC camera resolution(640x480) is support
- 09-22 16:38:34.432 248 2578 D CameraHal: (UVC Camera) UVC camera resolution(1280x720) is support
- 09-22 16:38:34.432 248 2578 D CameraHal: (UVC Camera) UVC camera resolution(1920x1080) is support
- 09-22 16:38:34.440 248 2578 D CameraHal: find element camid(0) quality(qcif) width(176)
- 09-22 16:38:34.441 248 2578 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
- 09-22 16:38:34.441 248 2578 D CameraHal: find element camid(0) quality(qvga) width(320)
- 09-22 16:38:34.441 248 2578 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
- 09-22 16:38:34.441 248 2578 D CameraHal: find element camid(0) quality(cif) width(352)
- 09-22 16:38:34.441 248 2578 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
- 09-22 16:38:34.441 248 2578 D CameraHal: find element camid(0) quality(480p) width(640)
- 09-22 16:38:34.441 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
- 09-22 16:38:34.442 248 2578 D CameraHal: find element camid(0) quality(480p) width(720)
- 09-22 16:38:34.442 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
- 09-22 16:38:34.442 248 2578 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.442 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.442 248 2578 D CameraHal: find element camid(0) quality(576p) width(720)
- 09-22 16:38:34.442 248 2578 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(720p) width(1280)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(1080p) width(1920)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(qcif) width(176)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(qvga) width(320)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(cif) width(352)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(480p) width(640)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
- 09-22 16:38:34.443 248 2578 D CameraHal: find element camid(0) quality(480p) width(720)
- 09-22 16:38:34.443 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
- 09-22 16:38:34.444 248 2578 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.444 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(0) quality(480p) width(800)
- 09-22 16:38:34.445 248 2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(0) quality(576p) width(720)
- 09-22 16:38:34.445 248 2578 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(0) quality(720p) width(1280)
- 09-22 16:38:34.445 248 2578 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(0) quality(1080p) width(1920)
- 09-22 16:38:34.445 248 2578 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(1) quality(qcif) width(176)
- 09-22 16:38:34.445 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
- 09-22 16:38:34.445 248 2578 D CameraHal: find element camid(1) quality(qvga) width(320)
- 09-22 16:38:34.445 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(cif) width(352)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(480p) width(640)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(480p) width(720)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(480p) width(800)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(720p) width(1280)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(1080p) width(1920)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
- 09-22 16:38:34.446 248 2578 D CameraHal: find element camid(1) quality(qcif) width(176)
- 09-22 16:38:34.446 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(qvga) width(320)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(cif) width(352)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(480p) width(640)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(480p) width(720)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(480p) width(800)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(720p) width(1280)
- 09-22 16:38:34.447 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
- 09-22 16:38:34.447 248 2578 D CameraHal: find element camid(1) quality(1080p) width(1920)
- 09-22 16:38:34.448 248 2578 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
- 09-22 16:38:34.448 248 2578 D CameraHal: camera_get_number_of_cameras(1281): camera_get_number_of_cameras(1281): Current board have 1 cameras attached.
- 09-22 16:38:34.448 248 2578 D CameraHal: camera_get_number_of_cameras(1284): meida_profiles_xml_control time (33632)us
- [ 984.846051] net_os_enable_packet_filter: val = 0
- [ 984.847026] net_os_rxfilter_add_remove: add_remove = 0, num = 2
- [ 984.853209] net_os_enable_packet_filter: val = 1
复制代码
这个是系统相机调用失败的日志,360相机调用成功的日志我也看了看,用 Beyond Compare比较了一下,我不太清楚图片怎么传,不一样的地方如下:
camera_get_camera_info(1494): camera_get_camera_info(1494): camera_0 facing(1), orientation(2)
09-22 16:36:34.719 248 2702 D CameraHal: setParameters(636): setParameters(636): Set preview size 1280x720
09-22 16:36:34.719 248 2702 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
09-22 16:36:34.719 248 2702 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1280x720)
09-22 16:36:34.719 248 2702 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
09-22 16:36:34.719 248 2702 D CameraHal: isNeedToRestartPreview(149): video width (1280x720)
09-22 16:36:34.741 248 2702 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
09-22 16:36:34.742 248 2702 D CameraHal: cameraConfig(869): cameraConfig(869): Set anti-banding Disabled
09-22 16:36:34.742 248 2702 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1280x720)
09-22 16:36:34.742 248 2702 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
09-22 16:36:34.742 248 2702 D CameraHal: isNeedToRestartPreview(149): video width (1280x720)
红色字体的是360相机多出来的两行。
有没有碰到相同问题的,怎样配置才能让系统相机正常打开USB的Camera嘞
|
|