RE: Camera Support Thru Android - tllim - 03-24-2016
(03-16-2016, 05:29 PM)g_t_j Wrote: (03-16-2016, 05:18 PM)devildog125 Wrote: hopefully it works or there is a way to enable it to work.
Aside from any camera-related project like the one I'm planning to fulfil when I receive my boards, Pine64 runs Android and one of Android's basic apps is Skype. That said, If there is no UVC support then skyping will not be possible and that would be a major blow for many users, if not for all.
I am currently work with Remix OS folks and they will report UVC driver to next Remix OS release. Once work, we will follow up on Android build.
RE: Camera Support Thru Android - g_t_j - 03-24-2016
(03-24-2016, 08:33 AM)tllim Wrote: (03-16-2016, 05:29 PM)g_t_j Wrote: (03-16-2016, 05:18 PM)devildog125 Wrote: hopefully it works or there is a way to enable it to work.
Aside from any camera-related project like the one I'm planning to fulfil when I receive my boards, Pine64 runs Android and one of Android's basic apps is Skype. That said, If there is no UVC support then skyping will not be possible and that would be a major blow for many users, if not for all.
I am currently work with Remix OS folks and they will report UVC driver to next Remix OS release. Once work, we will follow up on Android build.
Good to know! Thanks for the feedback.
I'm sure you are going to make it. I have no experience with Android development but I'm quite sure it's easy for a developer to implement UVC driver to the Operating System itself.
Please do keep us updated.
RE: Camera Support Thru Android - g_t_j - 04-17-2016
Any progress on this? I take the silence as a negative response...
RE: Camera Support Thru Android - tllim - 04-17-2016
(04-17-2016, 03:43 AM)g_t_j Wrote: Any progress on this? I take the silence as a negative response...
Progress is positive, the UVC source code already located and currently porting over to 64 bit version for Pine A64. Hopefully we will release in about two weeks time.
RE: Camera Support Thru Android - g_t_j - 04-17-2016
(04-17-2016, 09:01 AM)tllim Wrote: (04-17-2016, 03:43 AM)g_t_j Wrote: Any progress on this? I take the silence as a negative response...
Progress is positive, the UVC source code already located and currently porting over to 64 bit version for Pine A64. Hopefully we will release in about two weeks time. Oh great! Was not expecting positive news. Thanks
(04-17-2016, 09:01 AM)tllim Wrote: (04-17-2016, 03:43 AM)g_t_j Wrote: Any progress on this? I take the silence as a negative response...
Progress is positive, the UVC source code already located and currently porting over to 64 bit version for Pine A64. Hopefully we will release in about two weeks time.
And as I have you here TL LIm, may I ask if the camera module finally arrived? May I also ask if RTC module and HDMI cables are available? If these are already available, then it's safe to assume that my order is about to be shipped or has been shipped already.
RE: Camera Support Thru Android - mikey0000 - 09-09-2016
There is a library that should enable what you need, I am currently after the same thing, so I am right as I write downloading the source to build a rom that has UVC as an android native camera.
https://github.com/jollen/libv4l2-android
RE: Camera Support Thru Android - mikey0000 - 09-14-2016
I am working on bringing up the camera module for pine64 which will open UVC webcams, I have it compiling and building and attempting to open /dev/video0, just need to test tonight when I am home, am working with Ayufan's branch of work so eventually it will be working on one of his builds.
RE: Camera Support Thru Android - kenjiru - 12-04-2016
@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
|