Camera Support Thru Android
#11
(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.
#12
(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.
#13
Any progress on this? I take the silence as a negative response...
#14
Information 
(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.
#15
(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.
#16
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
Backer #6878
shipment status: arrived
#17
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.
Backer #6878
shipment status: arrived
#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


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

Forum Jump:


Users browsing this thread: 2 Guest(s)