Camera Support Thru Android
#18
@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.

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


Messages In This Thread
Camera Support Thru Android - by devildog125 - 03-13-2016, 02:49 PM
RE: Camera Support Thru Android - by g_t_j - 03-14-2016, 05:49 AM
RE: Camera Support Thru Android - by tllim - 03-14-2016, 08:55 AM
RE: Camera Support Thru Android - by g_t_j - 03-14-2016, 02:36 PM
RE: Camera Support Thru Android - by tllim - 03-15-2016, 08:44 AM
RE: Camera Support Thru Android - by devildog125 - 03-16-2016, 02:22 PM
RE: Camera Support Thru Android - by g_t_j - 03-16-2016, 03:49 PM
RE: Camera Support Thru Android - by devildog125 - 03-16-2016, 05:18 PM
RE: Camera Support Thru Android - by g_t_j - 03-16-2016, 05:29 PM
RE: Camera Support Thru Android - by tllim - 03-24-2016, 08:33 AM
RE: Camera Support Thru Android - by g_t_j - 03-24-2016, 03:43 PM
RE: Camera Support Thru Android - by devildog125 - 03-16-2016, 09:38 PM
RE: Camera Support Thru Android - by g_t_j - 04-17-2016, 03:43 AM
RE: Camera Support Thru Android - by tllim - 04-17-2016, 09:01 AM
RE: Camera Support Thru Android - by g_t_j - 04-17-2016, 09:14 AM
RE: Camera Support Thru Android - by mikey0000 - 09-09-2016, 11:14 PM
RE: Camera Support Thru Android - by mikey0000 - 09-14-2016, 10:22 PM
RE: Camera Support Thru Android - by kenjiru - 12-04-2016, 09:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 417,952 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 32,103 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 18,212 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,469 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,618 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 6,064 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,591 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 280,362 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,776 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 113,210 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 5 Guest(s)