1.前言
我们发现usb摄像头在A527 android13上面并不能正常使用,需要支持相关的摄像头。
2.系统节点查看
我们查看系统是否有相关的节点生成,发现/dev/video相关的节点已经生成了。并没有问题,拔插正常。
3.这里我们需要查看系统层是否支持相关的相机,
我们使用命令进行查看
dumpsys media.camera
dumpsys media.camera
== Service global info: ==
Number of camera devices: 0
Number of normal camera devices: 0
Number of public camera devices visible to API1: 0
Active Camera Clients:
[]
Allowed user IDs: 0
== Camera service events log (most recent at top): ==
04-23 21:51:39 : USER_SWITCH previous allowed user IDs: <None>, current allowed user IDs: 0
== Camera Provider HAL external/0 (v2.5, remote) static info: 0 devices: ==
== Camera Provider HAL legacy/0 (v2.5, remote) static info: 0 devices: ==
== Ven