@mikey0000 Any progress with USB based UVC webcams?
I'm playing with a Logitech HD Pro Webcam C920, which doesn't work nice on Android TV 7.0. I've tried different version, but I get the same log output.
When Skype accesses the camera, I get the following from logcat:
Any help would be appreciated.
/edit
I've added the Tellybean "Test Camera" logcat. Here is snippet:
I'm playing with a Logitech HD Pro Webcam C920, which doesn't work nice on Android TV 7.0. I've tried different version, but I get the same log output.
Quote:$ dmesg
[ 65.597979] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)
[ 65.612407] input: HD Pro Webcam C920 as /devices/soc.0/1c1a000.ehci0-controller/usb1/1-1/1-1:1.0/input/input8
[ 65.629408] usbcore: registered new interface driver uvcvideo
[ 65.636231] USB Video Class driver (1.1.1)
[ 65.671016] gspca_main: v2.14.0 registered
[ 65.676303] init: write_file: Unable to open '/sys/devices/soc.0/cpu_budget_cool.16/roomage': No such file or directory
When Skype accesses the camera, I get the following from logcat:
Quote:$ adb logcat HALCameraFactory:* VideoService:* V4L2CameraDevice:* *:S
--------- beginning of system
--------- beginning of main
12-04 05:48:59.498 1698 1698 D HALCameraFactory: camera hal version: 3000130327_V1.0
12-04 05:48:59.505 1698 1698 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
12-04 05:48:59.505 1698 1698 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
12-04 05:48:59.505 1698 1698 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
12-04 05:48:59.505 1698 1698 D HALCameraFactory: Calling process is: /system/bin/cameraserver
12-04 05:48:59.505 1698 1698 E V4L2CameraDevice: ERROR opening /dev/video0: No such file or directory
12-04 05:48:59.505 1698 1698 E HALCameraFactory: cameraDeviceOpen: Unable to connect camera
12-04 05:48:59.505 1698 1698 D HALCameraFactory: Calling process is: /system/bin/cameraserver
12-04 05:50:05.365 1698 2451 E HALCameraFactory: Obtain calling process failed
12-04 05:50:05.558 1698 1698 E HALCameraFactory: Obtain calling process failed
12-04 05:50:05.560 1698 2451 E HALCameraFactory: Obtain calling process failed
12-04 05:50:05.654 1698 2451 E HALCameraFactory: Obtain calling process failed
Any help would be appreciated.
/edit
I've added the Tellybean "Test Camera" logcat. Here is snippet:
Quote:$ adb logcat ActivityManager:* HALCameraFactory:* CameraService:* CameraClient:* CameraBase:* SensorManager:* VideoService:* V4L2CameraDevice:* *:S
--------- beginning of main
12-08 14:29:29.749 2878 7979 I ActivityManager: START u0 {cmp=com.tellybean.kahuna.client/.testcall.TestCallActivity} from uid 10058 on display 0
12-08 14:29:30.085 1683 2233 E HALCameraFactory: Obtain calling process failed
12-08 14:29:30.087 1683 1683 I CameraService: CameraService::connect call (PID -1 "com.tellybean.kahuna.client", camera ID 0) for HAL version default and Camera API version 1
12-08 14:29:30.089 1683 1683 E HALCameraFactory: Obtain calling process failed
12-08 14:29:30.188 9276 9276 E SensorManager: sensor or listener is null
12-08 14:29:30.405 1683 1683 E HALCameraFactory: Obtain calling process failed
12-08 14:29:30.405 1683 1683 E V4L2CameraDevice: query sensor type ctrl failed
12-08 14:29:30.405 1683 1683 E V4L2CameraDevice: get the sensor type failed
12-08 14:29:30.407 1683 1683 E HALCameraFactory: cameraDeviceOpen: Unable to connect camera
12-08 14:29:30.407 1683 1683 E CameraClient: initialize: Camera 0: unable to initialize device: Too many users (-87)
12-08 14:29:30.407 1683 1683 E CameraService: connectHelper: Could not initialize client from HAL module.
12-08 14:29:30.419 1683 1683 I CameraService: disconnect: Disconnected client for camera 0 for PID 9276
12-08 14:29:30.420 9276 5122 W CameraBase: An error occurred while connecting to camera 0: Service not available
12-08 14:29:31.364 9276 9276 E SensorManager: sensor or listener is null