Android_USB_UVC_Camera icon indicating copy to clipboard operation
Android_USB_UVC_Camera copied to clipboard

permission denied

Open zyhhe opened this issue 8 years ago • 6 comments

你好,我最近也在研究android手机外接usb摄像头的事情,看到你的程序demo,我在下载测试的时候,发现我的一直在报错 Cannot identify '/dev/video0': 13, Permission denied ,这个问题不知道你有没有遇到过,请赐教,谢谢。我使用米2s做测试机

zyhhe avatar Apr 05 '17 06:04 zyhhe

same here :/

06-09 02:29:40.355 30806-30806/jerome.com.usbcamera D/CameraView: surfaceCreated 06-09 02:29:40.338 30806-30806/jerome.com.usbcamera W/e.com.usbcamera: type=1400 audit(0.0:895): avc: denied { getattr } for uid=10349 path="/dev/video0" dev="tmpfs" ino=5301 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:video_device:s0 tclass=chr_file permissive=0 06-09 02:29:40.358 30806-30806/jerome.com.usbcamera E/UsbCameraJNI: Cannot identify '/dev/video0': 13, Permission denied 06-09 02:29:40.359 30806-30806/jerome.com.usbcamera E/UsbCameraJNI: device open failed 06-09 02:29:40.359 30806-30806/jerome.com.usbcamera D/CameraView: surfaceChang

arpu avatar Jun 09 '17 00:06 arpu

chmod 666 /dev/video0

JimmyChung208 avatar Jun 13 '17 03:06 JimmyChung208

hello but this is only possible on rooted devices? so how can i use this lib for a client app

arpu avatar Jun 13 '17 11:06 arpu

have you solved this issue? @arpu @JimmyChung208

leaf918 avatar Mar 21 '18 04:03 leaf918

no :/

arpu avatar Mar 21 '18 04:03 arpu

Have you solved the problem? 你是否已经解决了这问题呢,兄弟? @zyhhe @arpu

GQii avatar Dec 14 '19 10:12 GQii