Firefly开源社区

打印 上一主题 下一主题

[Android] 系统相机调用USB camera提示Camera error,下载的360相机调用没问题

58

积分

0

威望

0

贡献

技术小白

积分
58

系统相机调用USB camera提示Camera error,下载的360相机调用没问题

发表于 2019-9-22 18:12:58      浏览:3298 | 回复:3        打印      只看该作者   [复制链接] 楼主
RK3399,Android7.1,
上网查了很多资料,基本没有这种情况,有说是系统相机分辨率的问题,修改了 hardware/rockchip/camera/CameraHal/CameraUSBAdapter.cpp文件里的分辨率,改为1280*720,1920*1080,都不行,打开系统相机还是提示camera error。下面是CameraHAL的log

  1. 09-22 16:38:34.091   248  2135 D CameraHal: createInstance(1015): open xml file(/etc/cam_board.xml) success
  2. 09-22 16:38:34.091   248  2135 E CameraHal: cam_board.xml version(v0x0.0x0.0x0) != xml parser version(v0x0.0xf.0x0)
  3. 09-22 16:38:34.092   248  2135 D CameraHal:
  4. 09-22 16:38:34.092   248  2135 D CameraHal:
  5. 09-22 16:38:34.092   248  2135 D CameraHal:
  6. 09-22 16:38:34.092   248  2135 D CameraHal:  Cam_board.xml Version Check:
  7. 09-22 16:38:34.092   248  2135 D CameraHal:     /etc/cam_board.xml : v0.0xf.0
  8. 09-22 16:38:34.092   248  2135 D CameraHal:     CameraHal_board_xml_parser: v0x0.0xf.0x0
  9. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
  10. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
  11. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
  12. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(189): SensorDevID(33554432)
  13. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
  14. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
  15. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
  16. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
  17. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
  18. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
  19. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
  20. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
  21. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
  22. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
  23. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
  24. 09-22 16:38:34.092   248  2135 D CameraHal: ParserSensorInfo(271): SensorFacing(front)
  25. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
  26. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
  27. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
  28. 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)  
  29. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
  30. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
  31. 09-22 16:38:34.093   248  2135 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI  lane: 2  phyindex: 0  fmt: 0x2b
  32. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
  33. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
  34. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
  35. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
  36. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
  37. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
  38. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
  39. 09-22 16:38:34.093   248  2135 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
  40. 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)
  41. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
  42. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
  43. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
  44. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
  45. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
  46. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
  47. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
  48. 09-22 16:38:34.095   248  2135 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
  49. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(944): HDR(1)!
  50. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(948): ZSL(1)!
  51. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(952): zoom(1)!
  52. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
  53. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
  54. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
  55. 09-22 16:38:34.096   248  2135 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
  56. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(782):  DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
  57. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(794):  DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
  58. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(806):  DV_CIF(cif) resolution(352x288) fps(10) support(1)
  59. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(818):  DV_VGA(480p) resolution(640x480) fps(10) support(0)
  60. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(830):  DV_480P(480p) resolution(720x480) fps(10) support(0)
  61. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(854):  DV_720P(720p) resolution(1280x720) fps(10) support(1)
  62. 09-22 16:38:34.096   248  2135 D CameraHal: ParserDVConfig(866):  DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
  63. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
  64. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
  65. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1A)
  66. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(189): SensorDevID(16777216)
  67. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
  68. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
  69. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
  70. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
  71. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
  72. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
  73. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
  74. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
  75. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
  76. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
  77. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
  78. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(271): SensorFacing(back)
  79. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
  80. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
  81. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
  82. 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)  
  83. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
  84. 09-22 16:38:34.097   248  2135 E CameraHal: ParserSensorInfo(368): SensorPhy:  phyindex: 1,open /dev/camsys_marvin1       
  85. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
  86. 09-22 16:38:34.097   248  2135 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI  lane: 2  phyindex: 1  fmt: 0x2b
  87. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
  88. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
  89. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
  90. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
  91. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
  92. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
  93. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
  94. 09-22 16:38:34.098   248  2135 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
  95. 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)
  96. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
  97. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
  98. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
  99. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
  100. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
  101. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
  102. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
  103. 09-22 16:38:34.098   248  2135 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
  104. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(944): HDR(1)!
  105. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(948): ZSL(1)!
  106. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(952): zoom(1)!
  107. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
  108. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
  109. 09-22 16:38:34.098   248  2135 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
  110. 09-22 16:38:34.099   248  2135 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
  111. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(782):  DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
  112. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(794):  DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
  113. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(806):  DV_CIF(cif) resolution(352x288) fps(10) support(1)
  114. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(818):  DV_VGA(480p) resolution(640x480) fps(10) support(0)
  115. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(830):  DV_480P(480p) resolution(720x480) fps(10) support(0)
  116. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(854):  DV_720P(720p) resolution(1280x720) fps(10) support(1)
  117. 09-22 16:38:34.099   248  2135 D CameraHal: ParserDVConfig(866):  DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
  118. 09-22 16:38:34.099   248  2135 D CameraHal: number of camdevice (2)
  119. 09-22 16:38:34.099   248  2135 D CameraHal: now DV size(7)
  120. 09-22 16:38:34.099   248  2135 E CameraHal: camera_get_number_of_cameras(781): board profiles cam num 2
  121. 09-22 16:38:34.158   248  2135 D CameraHal: camera_get_number_of_cameras(793): Open /dev/video0 success!
  122. 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
  123. 09-22 16:38:34.160   248  2135 D CameraHal: read cam name from xml(/data/camera/media_profiles.xml)
  124. 09-22 16:38:34.160   248  2135 D CameraHal: videoname0="UVC Camera" index=2 facing=0 -->  
  125. 09-22 16:38:34.160   248  2135 D CameraHal:
  126. 09-22 16:38:34.161   248  2135 D CameraHal: find camera count(1) cam1(UVC Camera) cam2()
  127. 09-22 16:38:34.161   248  2135 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
  128. 09-22 16:38:34.161   248  2135 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
  129. 09-22 16:38:34.161   248  2135 D CameraHal: camera_get_number_of_cameras(869): Open /dev/video0 success!
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 09-22 16:38:34.164   248  2135 D CameraHal: judge the media profile xml fileexit = 0
  140. 09-22 16:38:34.164   248  2135 D CameraHal: (UVC Camera) UVC camera resolution(640x480) is support
  141. 09-22 16:38:34.164   248  2135 D CameraHal: (UVC Camera) UVC camera resolution(1280x720) is support
  142. 09-22 16:38:34.164   248  2135 D CameraHal: (UVC Camera) UVC camera resolution(1920x1080) is support
  143. 09-22 16:38:34.169   248  2135 D CameraHal: find element camid(0) quality(qcif) width(176)
  144. 09-22 16:38:34.169   248  2135 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
  145. 09-22 16:38:34.169   248  2135 D CameraHal: find element camid(0) quality(qvga) width(320)
  146. 09-22 16:38:34.169   248  2135 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
  147. 09-22 16:38:34.170   248  2135 D CameraHal: find element camid(0) quality(cif) width(352)
  148. 09-22 16:38:34.170   248  2135 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
  149. 09-22 16:38:34.170   248  2135 D CameraHal: find element camid(0) quality(480p) width(640)
  150. 09-22 16:38:34.170   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
  151. 09-22 16:38:34.171   248  2135 D CameraHal: find element camid(0) quality(480p) width(720)
  152. 09-22 16:38:34.171   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
  153. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(480p) width(800)
  154. 09-22 16:38:34.172   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  155. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(576p) width(720)
  156. 09-22 16:38:34.172   248  2135 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
  157. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(720p) width(1280)
  158. 09-22 16:38:34.172   248  2135 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
  159. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(1080p) width(1920)
  160. 09-22 16:38:34.172   248  2135 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
  161. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(qcif) width(176)
  162. 09-22 16:38:34.172   248  2135 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
  163. 09-22 16:38:34.172   248  2135 D CameraHal: find element camid(0) quality(qvga) width(320)
  164. 09-22 16:38:34.172   248  2135 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
  165. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(cif) width(352)
  166. 09-22 16:38:34.173   248  2135 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
  167. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(480p) width(640)
  168. 09-22 16:38:34.173   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
  169. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(480p) width(720)
  170. 09-22 16:38:34.173   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
  171. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(480p) width(800)
  172. 09-22 16:38:34.173   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  173. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(480p) width(800)
  174. 09-22 16:38:34.173   248  2135 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  175. 09-22 16:38:34.173   248  2135 D CameraHal: find element camid(0) quality(576p) width(720)
  176. 09-22 16:38:34.173   248  2135 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
  177. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(0) quality(720p) width(1280)
  178. 09-22 16:38:34.174   248  2135 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
  179. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(0) quality(1080p) width(1920)
  180. 09-22 16:38:34.174   248  2135 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
  181. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(1) quality(qcif) width(176)
  182. 09-22 16:38:34.174   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
  183. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(1) quality(qvga) width(320)
  184. 09-22 16:38:34.174   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
  185. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(1) quality(cif) width(352)
  186. 09-22 16:38:34.174   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
  187. 09-22 16:38:34.174   248  2135 D CameraHal: find element camid(1) quality(480p) width(640)
  188. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
  189. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(480p) width(720)
  190. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
  191. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(480p) width(800)
  192. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
  193. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(720p) width(1280)
  194. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
  195. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(1080p) width(1920)
  196. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
  197. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(qcif) width(176)
  198. 09-22 16:38:34.175   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
  199. 09-22 16:38:34.175   248  2135 D CameraHal: find element camid(1) quality(qvga) width(320)
  200. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
  201. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(cif) width(352)
  202. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
  203. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(480p) width(640)
  204. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
  205. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(480p) width(720)
  206. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
  207. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(480p) width(800)
  208. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
  209. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(720p) width(1280)
  210. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
  211. 09-22 16:38:34.176   248  2135 D CameraHal: find element camid(1) quality(1080p) width(1920)
  212. 09-22 16:38:34.176   248  2135 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
  213. 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.
  214. 09-22 16:38:34.177   248  2135 D CameraHal: camera_get_number_of_cameras(1284): meida_profiles_xml_control time (93662)us
  215. 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)
  216. 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)
  217. 09-22 16:38:34.214   248  2135 I CameraHal: camera_device_open(567): camera_device open
  218. 09-22 16:38:34.214   248  2135 D CameraHal: gCameraHalLogLevel: 0
  219. 09-22 16:38:34.215   248  2135 D CameraHal: CameraHal(124): it is a uvc camera!
  220. 09-22 16:38:34.216   248  2135 D CameraHal: Calling process is: com.android.camera2
  221. 09-22 16:38:34.217   248  2135 D CameraHal: Calling process is: com.android.camera2
  222. 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
  223. 09-22 16:38:34.275   248  2135 D CameraHal: cameraCreate(385): mCamDriverSupportFmt: fmt = 1196444237(Motion-JPEG),index = 0
  224. 09-22 16:38:34.275   248  2135 D CameraHal: cameraCreate(385): mCamDriverSupportFmt: fmt = 1448695129(YUYV 4:2:2),index = 1
  225. 09-22 16:38:34.275   248  2135 D CameraHal: cameraCreate(423): cameraCreate(423): mCamDriverPreviewFmt(MJPG) is cameraHal and camera driver is also supported!!
  226. 09-22 16:38:34.275   248  2135 D CameraHal: cameraCreate(425): mCamDriverPreviewFmt  = 1196444237
  227. 09-22 16:38:34.275   248  2135 D CameraHal: cameraCreate(431): cameraCreate(431): Current driver is uvcvideo, v4l2 memory is V4L2_MEMORY_MMAP
  228. 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
  229. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(570): mIsCtsTest:0 Support video sizes:(null)
  230. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(587): Support Preview format: yuv420sp,yuv420p .. yuv420sp
  231. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(589): Support Preview sizes: 1280x720,640x480,1920x1080     1920x1080
  232. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(590): Support Preview FPS range: (2000,60000)
  233. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(591): Support Preview framerate: 60,30,20,10,5
  234. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(592): Support Picture sizes: 1280x720,640x480,1920x1080
  235. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(594): Support white balance: auto,incandescent,fluorescent,daylight,cloudy-daylight
  236. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(602): Support focus: fixed  focus zone: 0
  237. 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,)
  238. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(608): Support exposure: (-3 -> 3)
  239. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(612): Support anti-banding: off,50hz,60hz,auto  anti-banding: off
  240. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(614): Support hardware faces detecte: 2
  241. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(615): Support software faces detecte: 0
  242. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(616): Support video stabilization: false
  243. 09-22 16:38:34.288   248  2135 D CameraHal: initDefaultParameters(617): Support recording hint: false
  244. 09-22 16:38:34.299   248  2135 D CameraHal: cameraConfig(749): cameraConfig(749): Set framerate(60 fps) success
  245. 09-22 16:38:34.302   248  2135 D CameraHal: cameraConfig(792): cameraConfig(792): Set white balance(auto) success
  246. 09-22 16:38:34.304   248  2135 D CameraHal: cameraConfig(869): cameraConfig(869): Set anti-banding Disabled
  247. 09-22 16:38:34.306   248  2135 D CameraHal: cameraConfig(950): cameraConfig(950): Set exposure 0        0
  248. 09-22 16:38:34.306   248  2135 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  249. 09-22 16:38:34.306   248  2135 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  250. 09-22 16:38:34.306   248  2135 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  251. 09-22 16:38:34.307   248  2135 D CameraHal: Calling process is: com.android.camera2
  252. 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)
  253. 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)
  254. 09-22 16:38:34.318   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  255. 09-22 16:38:34.318   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  256. 09-22 16:38:34.318   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  257. 09-22 16:38:34.318   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  258. 09-22 16:38:34.333   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  259. 09-22 16:38:34.333   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  260. 09-22 16:38:34.333   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  261. 09-22 16:38:34.334   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  262. 09-22 16:38:34.340   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  263. 09-22 16:38:34.340   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  264. 09-22 16:38:34.340   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  265. 09-22 16:38:34.340   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  266. 09-22 16:38:34.347   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  267. 09-22 16:38:34.347   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  268. 09-22 16:38:34.347   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  269. 09-22 16:38:34.347   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  270. 09-22 16:38:34.352   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  271. 09-22 16:38:34.352   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  272. 09-22 16:38:34.352   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  273. 09-22 16:38:34.352   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  274. 09-22 16:38:34.362   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  275. 09-22 16:38:34.362   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  276. 09-22 16:38:34.363   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  277. 09-22 16:38:34.363   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  278. 09-22 16:38:34.367   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  279. 09-22 16:38:34.367   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  280. 09-22 16:38:34.367   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  281. 09-22 16:38:34.367   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  282. 09-22 16:38:34.374   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  283. 09-22 16:38:34.375   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  284. 09-22 16:38:34.375   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  285. 09-22 16:38:34.375   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  286. 09-22 16:38:34.381   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  287. 09-22 16:38:34.381   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  288. 09-22 16:38:34.382   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  289. 09-22 16:38:34.382   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  290. 09-22 16:38:34.396   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  291. 09-22 16:38:34.398   248  2766 D CameraHal: cameraConfig(869): cameraConfig(869): Set anti-banding Disabled
  292. 09-22 16:38:34.398   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  293. 09-22 16:38:34.398   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  294. 09-22 16:38:34.398   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  295. 09-22 16:38:34.402   248  2766 D CameraHal: commandThread(1064): commandThread(1064): receive CMD_PREVIEW_CAPTURE_CANCEL
  296. 09-22 16:38:34.402   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  297. 09-22 16:38:34.402   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  298. 09-22 16:38:34.402   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  299. 09-22 16:38:34.402   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  300. 09-22 16:38:34.403   248  2766 D CameraHal: commandThread(1072): commandThread(1072): CMD_PREVIEW_CAPTURE_CANCEL out
  301. 09-22 16:38:34.403   248  2578 D CameraHal: cancelPicture(637): cancel picture OK.
  302. 09-22 16:38:34.403   248  2766 D CameraHal: commandThread(992): commandThread(992):receive CMD_PREVIEW_STOP
  303. 09-22 16:38:34.403   248  2766 D CameraHal: stopPreview(239): stopPreview(239):IN
  304. 09-22 16:38:34.403   248  2766 D CameraHal: stopPreview(259): stopPreview(259):OUT
  305. 09-22 16:38:34.403   248  2766 D CameraHal: commandThread(1013): commandThread(1013): CMD_PREVIEW_STOP out
  306. 09-22 16:38:34.403   248  2578 D CameraHal: stopPreview(437): stop preview OK.
  307. 09-22 16:38:34.405   248  2766 D CameraHal: commandThread(1064): commandThread(1064): receive CMD_PREVIEW_CAPTURE_CANCEL
  308. 09-22 16:38:34.407   248  2766 D CameraHal: setParameters(676): suppport focus modes:fixed, expect:fixed
  309. 09-22 16:38:34.407   248  2766 D CameraHal: isNeedToRestartPreview(147): mPreviewFrame2AppW (1920x1080)
  310. 09-22 16:38:34.407   248  2766 D CameraHal: isNeedToRestartPreview(148): mCamPreviewW (0x0)
  311. 09-22 16:38:34.407   248  2766 D CameraHal: isNeedToRestartPreview(149): video width (1920x1080)
  312. 09-22 16:38:34.407   248  2766 D CameraHal: commandThread(1072): commandThread(1072): CMD_PREVIEW_CAPTURE_CANCEL out
  313. 09-22 16:38:34.407   248  2578 D CameraHal: cancelPicture(637): cancel picture OK.
  314. 09-22 16:38:34.407   248  2578 D CameraHal: camera_device_close(455): camera_device_close
  315. 09-22 16:38:34.407   248  2578 D CameraHal: ~SensorListener(110): Kill looper thread
  316. 09-22 16:38:34.408   248  2578 D CameraHal: ~SensorListener(122): Kill looper
  317. 09-22 16:38:34.408   248  2578 D CameraHal: ~SensorListener(128): SensorListener destroyed
  318. 09-22 16:38:34.408   248  2760 D CameraHal: displayThread(657): displayThread(657): receive CMD_DISPLAY_STOP
  319. 09-22 16:38:34.408   248  2760 D CameraHal: cameraDisplayBufferDestory(421): cameraDisplayBufferDestory(421): mANativeWindow is NULL, destory is ignore
  320. 09-22 16:38:34.408   248  2762 D CameraHal: encProcessThread(2233): encProcessThread(2233): receive CMD_ENCPROCESS_EXIT
  321. 09-22 16:38:34.409   248  2765 D CameraHal: autofocusThread(853): wait out
  322. 09-22 16:38:34.411   248  2766 D CameraHal: commandThread(1177): commandThread(1177): receive CMD_EXIT
  323. 09-22 16:38:34.412   248  2578 D CameraHal: ~CameraHal(350): CameraHal destory success
  324. 09-22 16:38:34.418   248  2578 D CameraHal: createInstance(1015): open xml file(/etc/cam_board.xml) success
  325. 09-22 16:38:34.418   248  2578 E CameraHal: cam_board.xml version(v0x0.0x0.0x0) != xml parser version(v0x0.0xf.0x0)
  326. 09-22 16:38:34.418   248  2578 D CameraHal:
  327. 09-22 16:38:34.418   248  2578 D CameraHal:
  328. 09-22 16:38:34.418   248  2578 D CameraHal:
  329. 09-22 16:38:34.418   248  2578 D CameraHal:  Cam_board.xml Version Check:
  330. 09-22 16:38:34.418   248  2578 D CameraHal:     /etc/cam_board.xml : v0.0xf.0
  331. 09-22 16:38:34.418   248  2578 D CameraHal:     CameraHal_board_xml_parser: v0x0.0xf.0x0
  332. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
  333. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
  334. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
  335. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(189): SensorDevID(33554432)
  336. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
  337. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
  338. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
  339. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
  340. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
  341. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
  342. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
  343. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
  344. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
  345. 09-22 16:38:34.418   248  2578 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
  346. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
  347. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(271): SensorFacing(front)
  348. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
  349. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
  350. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
  351. 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)  
  352. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
  353. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA1) active(0)
  354. 09-22 16:38:34.419   248  2578 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI  lane: 2  phyindex: 0  fmt: 0x2b
  355. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
  356. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
  357. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
  358. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
  359. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
  360. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
  361. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
  362. 09-22 16:38:34.419   248  2578 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
  363. 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)
  364. 09-22 16:38:34.419   248  2578 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
  365. 09-22 16:38:34.419   248  2578 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
  366. 09-22 16:38:34.419   248  2578 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
  367. 09-22 16:38:34.419   248  2578 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
  368. 09-22 16:38:34.420   248  2578 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
  369. 09-22 16:38:34.420   248  2578 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
  370. 09-22 16:38:34.420   248  2578 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
  371. 09-22 16:38:34.420   248  2578 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
  372. 09-22 16:38:34.420   248  2578 D CameraHal: StartElementHandler(944): HDR(1)!
  373. 09-22 16:38:34.420   248  2578 D CameraHal: StartElementHandler(948): ZSL(1)!
  374. 09-22 16:38:34.421   248  2578 D CameraHal: StartElementHandler(952): zoom(1)!
  375. 09-22 16:38:34.421   248  2578 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
  376. 09-22 16:38:34.421   248  2578 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
  377. 09-22 16:38:34.421   248  2578 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
  378. 09-22 16:38:34.421   248  2578 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
  379. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(782):  DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
  380. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(794):  DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
  381. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(806):  DV_CIF(cif) resolution(352x288) fps(10) support(1)
  382. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(818):  DV_VGA(480p) resolution(640x480) fps(10) support(0)
  383. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(830):  DV_480P(480p) resolution(720x480) fps(10) support(0)
  384. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(854):  DV_720P(720p) resolution(1280x720) fps(10) support(1)
  385. 09-22 16:38:34.422   248  2578 D CameraHal: ParserDVConfig(866):  DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
  386. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(170): SensorName(OV13850)
  387. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(176): lensName(50013A1)
  388. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(178): SensorDevID(CAMSYS_DEVID_SENSOR_1A)
  389. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(189): SensorDevID(16777216)
  390. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(191): SensorHostDevID(CAMSYS_DEVID_MARVIN)
  391. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(206): Sensori2cBusNum(1)
  392. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(209): SensorI2cAddrByte(2)
  393. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(212): SensorI2cRate(100000)
  394. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(220): SensorAvdd(NC) min(28000000) max(28000000)
  395. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(234): SensorDvdd(NC) min(12000000) max(12000000)
  396. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(227): SensorDovdd(NC) min(18000000) max(18000000)
  397. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(215): SensorMclk(24000000)
  398. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(265): SensorGpioPwen(NC) active(1)
  399. 09-22 16:38:34.422   248  2578 D CameraHal: ParserSensorInfo(259): SensorGpioRst(RK30_PIN0_PB0) active(0)
  400. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(241): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
  401. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(271): SensorFacing(back)
  402. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(280): SensorInterface(MIPI)
  403. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(293): SensorMirrorFlip(0)
  404. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(296): SensorOrientation(180)
  405. 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)  
  406. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(418): SensorAWB_Frame_Skip fps(15)
  407. 09-22 16:38:34.423   248  2578 E CameraHal: ParserSensorInfo(368): SensorPhy:  phyindex: 1,open /dev/camsys_marvin1       
  408. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(377): SensorGpioPwdn(RK30_PIN2_PA0) active(0)
  409. 09-22 16:38:34.423   248  2578 D CameraHal: ParserSensorInfo(385): SensorPhy: MIPI  lane: 2  phyindex: 1  fmt: 0x2b
  410. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(430): VCMDrvName(DW9714)
  411. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(433): VCMName(HuaYong6505)
  412. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(436): VCMI2cBusNum(1)
  413. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(439): VCMI2cAddrByte(0)
  414. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(442): VCMI2cRate(0)
  415. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(457): VCMVdd(NC) min(0) max(0)
  416. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(451): VCMGpioPower(NC) active(0)
  417. 09-22 16:38:34.423   248  2578 D CameraHal: ParserVCMInfo(445): VCMGpioPwdn(NC) active(0)
  418. 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)
  419. 09-22 16:38:34.423   248  2578 D CameraHal: ParserFlashInfo(489): FlashName(Internal)
  420. 09-22 16:38:34.423   248  2578 D CameraHal: ParserFlashInfo(492): FlashI2cBusNum(0)
  421. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(495): FlashI2cAddrByte(0)
  422. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(498): FlashI2cRate(0)
  423. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(501): FlashTrigger(NC) active(0)
  424. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(505): FlashEn(NC) active(0)
  425. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(512): FlashLuminance(0)
  426. 09-22 16:38:34.424   248  2578 D CameraHal: ParserFlashInfo(515): FlashColorTemp(0)
  427. 09-22 16:38:34.424   248  2578 D CameraHal: StartElementHandler(944): HDR(1)!
  428. 09-22 16:38:34.424   248  2578 D CameraHal: StartElementHandler(948): ZSL(1)!
  429. 09-22 16:38:34.424   248  2578 D CameraHal: StartElementHandler(952): zoom(1)!
  430. 09-22 16:38:34.424   248  2578 D CameraHal: StartElementHandler(994): Continue_SnapShot(1)!
  431. 09-22 16:38:34.425   248  2578 D CameraHal: StartElementHandler(997): InterpolationRes(0)!
  432. 09-22 16:38:34.425   248  2578 D CameraHal: StartElementHandler(982): PreviewSize(1920x1080)!
  433. 09-22 16:38:34.425   248  2578 D CameraHal: StartElementHandler(978): face detect config(0),max face num is (1)!
  434. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(782):  DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
  435. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(794):  DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
  436. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(806):  DV_CIF(cif) resolution(352x288) fps(10) support(1)
  437. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(818):  DV_VGA(480p) resolution(640x480) fps(10) support(0)
  438. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(830):  DV_480P(480p) resolution(720x480) fps(10) support(0)
  439. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(854):  DV_720P(720p) resolution(1280x720) fps(10) support(1)
  440. 09-22 16:38:34.425   248  2578 D CameraHal: ParserDVConfig(866):  DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
  441. 09-22 16:38:34.425   248  2578 D CameraHal: number of camdevice (2)
  442. 09-22 16:38:34.425   248  2578 D CameraHal: now DV size(7)
  443. 09-22 16:38:34.425   248  2578 E CameraHal: camera_get_number_of_cameras(781): board profiles cam num 2
  444. 09-22 16:38:34.426   248  2578 D CameraHal: camera_get_number_of_cameras(793): Open /dev/video0 success!
  445. 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
  446. 09-22 16:38:34.428   248  2578 D CameraHal: read cam name from xml(/data/camera/media_profiles.xml)
  447. 09-22 16:38:34.428   248  2578 D CameraHal: videoname0="UVC Camera" index=2 facing=0 -->  
  448. 09-22 16:38:34.428   248  2578 D CameraHal:
  449. 09-22 16:38:34.429   248  2578 D CameraHal: find camera count(1) cam1(UVC Camera) cam2()
  450. 09-22 16:38:34.429   248  2578 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
  451. 09-22 16:38:34.429   248  2578 E CameraHal: camera_get_number_of_cameras(807): load sensor name(OV13850) connect 0
  452. 09-22 16:38:34.429   248  2578 D CameraHal: camera_get_number_of_cameras(869): Open /dev/video0 success!
  453. 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
  454. 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
  455. 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
  456. 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
  457. 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
  458. 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
  459. 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
  460. 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
  461. 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
  462. 09-22 16:38:34.432   248  2578 D CameraHal: judge the media profile xml fileexit = 0
  463. 09-22 16:38:34.432   248  2578 D CameraHal: (UVC Camera) UVC camera resolution(640x480) is support
  464. 09-22 16:38:34.432   248  2578 D CameraHal: (UVC Camera) UVC camera resolution(1280x720) is support
  465. 09-22 16:38:34.432   248  2578 D CameraHal: (UVC Camera) UVC camera resolution(1920x1080) is support
  466. 09-22 16:38:34.440   248  2578 D CameraHal: find element camid(0) quality(qcif) width(176)
  467. 09-22 16:38:34.441   248  2578 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
  468. 09-22 16:38:34.441   248  2578 D CameraHal: find element camid(0) quality(qvga) width(320)
  469. 09-22 16:38:34.441   248  2578 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
  470. 09-22 16:38:34.441   248  2578 D CameraHal: find element camid(0) quality(cif) width(352)
  471. 09-22 16:38:34.441   248  2578 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
  472. 09-22 16:38:34.441   248  2578 D CameraHal: find element camid(0) quality(480p) width(640)
  473. 09-22 16:38:34.441   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
  474. 09-22 16:38:34.442   248  2578 D CameraHal: find element camid(0) quality(480p) width(720)
  475. 09-22 16:38:34.442   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
  476. 09-22 16:38:34.442   248  2578 D CameraHal: find element camid(0) quality(480p) width(800)
  477. 09-22 16:38:34.442   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  478. 09-22 16:38:34.442   248  2578 D CameraHal: find element camid(0) quality(576p) width(720)
  479. 09-22 16:38:34.442   248  2578 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
  480. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(720p) width(1280)
  481. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
  482. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(1080p) width(1920)
  483. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
  484. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(qcif) width(176)
  485. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:qcif(176x144) fps(10) isaddmark(1)
  486. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(qvga) width(320)
  487. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:qvga(320x240) fps(30) isaddmark(1)
  488. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(cif) width(352)
  489. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:cif(352x288) fps(10) isaddmark(1)
  490. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(480p) width(640)
  491. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(640x480) fps(60) isaddmark(0)
  492. 09-22 16:38:34.443   248  2578 D CameraHal: find element camid(0) quality(480p) width(720)
  493. 09-22 16:38:34.443   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(720x480) fps(10) isaddmark(1)
  494. 09-22 16:38:34.444   248  2578 D CameraHal: find element camid(0) quality(480p) width(800)
  495. 09-22 16:38:34.444   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  496. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(0) quality(480p) width(800)
  497. 09-22 16:38:34.445   248  2578 D CameraHal: XML modify: camID(0) resolution:480p(800x600) fps(10) isaddmark(1)
  498. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(0) quality(576p) width(720)
  499. 09-22 16:38:34.445   248  2578 D CameraHal: WARNING: can't find camID(0) resolution:576p(720x576), addmark!!!
  500. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(0) quality(720p) width(1280)
  501. 09-22 16:38:34.445   248  2578 D CameraHal: XML modify: camID(0) resolution:720p(1280x720) fps(60) isaddmark(0)
  502. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(0) quality(1080p) width(1920)
  503. 09-22 16:38:34.445   248  2578 D CameraHal: XML modify: camID(0) resolution:1080p(1920x1080) fps(60) isaddmark(0)
  504. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(1) quality(qcif) width(176)
  505. 09-22 16:38:34.445   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
  506. 09-22 16:38:34.445   248  2578 D CameraHal: find element camid(1) quality(qvga) width(320)
  507. 09-22 16:38:34.445   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
  508. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(cif) width(352)
  509. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
  510. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(480p) width(640)
  511. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
  512. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(480p) width(720)
  513. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
  514. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(480p) width(800)
  515. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
  516. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(720p) width(1280)
  517. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
  518. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(1080p) width(1920)
  519. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
  520. 09-22 16:38:34.446   248  2578 D CameraHal: find element camid(1) quality(qcif) width(176)
  521. 09-22 16:38:34.446   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:qcif(176x144), addmark!!!
  522. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(qvga) width(320)
  523. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:qvga(320x240), addmark!!!
  524. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(cif) width(352)
  525. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:cif(352x288), addmark!!!
  526. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(480p) width(640)
  527. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(640x480), addmark!!!
  528. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(480p) width(720)
  529. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(720x480), addmark!!!
  530. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(480p) width(800)
  531. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:480p(800x600), addmark!!!
  532. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(720p) width(1280)
  533. 09-22 16:38:34.447   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:720p(1280x720), addmark!!!
  534. 09-22 16:38:34.447   248  2578 D CameraHal: find element camid(1) quality(1080p) width(1920)
  535. 09-22 16:38:34.448   248  2578 D CameraHal: WARNING: can't find camID(1) resolution:1080p(1920x1080), addmark!!!
  536. 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.
  537. 09-22 16:38:34.448   248  2578 D CameraHal: camera_get_number_of_cameras(1284): meida_profiles_xml_control time (33632)us
  538. [  984.846051] net_os_enable_packet_filter: val = 0
  539. [  984.847026] net_os_rxfilter_add_remove: add_remove = 0, num = 2
  540. [  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嘞
回复

使用道具 举报

3750

积分

17

威望

18

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
3750
发表于 2019-9-24 10:26:03        只看该作者  沙发
可以试一下,删除/data/camera/camera_xx 这个文件
回复

使用道具 举报

58

积分

0

威望

0

贡献

技术小白

积分
58
发表于 2019-9-26 09:25:44        只看该作者  板凳
目前我这有三款摄像头,有一款可以直接显示视频,有一款无法显示视频,修改分辨率后,三款摄像头系统相机都可以正常显示视频。删除/data/camera/camera_xx我还没有试,抽空试一下。    不过还有个问题,就是我设置的相机分辨率,设置成640*480,明明相机支持该分辨率,但是就是打不开,没有视频,很奇怪,必须修改分辨率才可以。      修改摄像头分辨率的文件在: hardware/rockchip/camera/CameraHal/CameraUSBAdapter.cpp
回复

使用道具 举报

58

积分

0

威望

0

贡献

技术小白

积分
58
发表于 2020-1-14 15:21:59        只看该作者  地板
移植的MIPI摄像头OV5648也出现了同样的问题,刚开始是可以出图像的,用了一段时间,改进了一版电路板,后来又出了同样的问题,使用360相机可以打开,但是使用系统自带的相机就无法打开。通过示波器排除了reset,powerdown,Mclk,I2C等问题,通过logcat -s CameraHal 查看调试信息,出现 “camsys_marvin has been opened”的错误信息,在驱动中找到相关文件,kernel/drivers/media/video/rk_camsys/camsys_drv.c下找到camsys_open()函数,临时屏蔽该条异常判断,升级kernel再次测试,系统相机可以调用OV5648,多次测试都可以出图像,说明系统相机调用摄像头时,一直提示被占用,实际没有占用,相机没有做处理,而360相机可能是做了一些处理。目前暂时还没有找到相关处理办法。
回复

使用道具 举报

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

本版积分规则

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