PINE64

Full Version: Android USB camera support - Android 7.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(09-24-2016, 04:19 PM)ayufan Wrote: [ -> ]Ok, CSI camera does work. I can also make make photos Smile

Does it do video as well?
Should I test it too? Smile
Please! I'll hopefully have some new camera code for USB UVC camera support soon.
I've been playing around with Android 7.0 ver 1.7 build 54 Android TV edition, and a Logitech c920 1080p USB camera.

The camera seems to be detected by Linux:
Code:
[   79.039894] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)
[   79.053432] input: HD Pro Webcam C920 as /devices/soc.0/1c1a000.ehci0-controller/usb1/1-1/1-1:1.0/input/input8
[   79.068860] usbcore: registered new interface driver uvcvideo
[   79.076206] USB Video Class driver (1.1.1)
[   79.111909] gspca_main: v2.14.0 registered
[   79.121520] init: write_file: Unable to open '/sys/devices/soc.0/cpu_budget_cool.16/roomage': No such file or directory

But it can't be used by neither Skype nor Hangouts. This is what I get when I try to make a video call in Hangouts:
Skype says "Fail to connect to camera service".

I've attached a logcat
(09-17-2016, 03:25 AM)mikey0000 Wrote: [ -> ]Hi all,

Been working on getting the camera module up a firing. Tonight I had success and got my logitech 615 webcam opening in a camera app. However it probably means that the himax 5mp camera won't work with these changes. Just out of curiosity how many people here have the himax 5mp camera? It should be possible to support both but as I don't have one I can't test it.

Will post a link to the module when its a bit more ready flag that here it is and eventually it will end up in Ayufan's Android builds.

To use the module ALPHA
https://drive.google.com/open?id=0B3jDRH...UtmcmVVckE

run adb remount

adb push 32bit/camera.tulip.so /system/lib/hw/
adb push 64bit/camera.tulip.so /system/lib64/hw/

and also everytime you start

lsmod and look for uvcvideo or ls /dev/ and look for video0

if they are not there do the following

adb shell insmod /system/vendor/modules/videobuf2-vmalloc.ko sorted in latest build, uvcvideo too
adb shell insmod /system/vendor/modules/uvcvideo.ko  (assuming kernel support)

---> these two last steps should be fixed eventually in a new os build latest Ayufan has fixed this

You should at least get a video feed with this module.

Bug Reports:

- app your using ( e.g skype, camera app)
- Device your using (camera not pine)
- adb logcat with errors
- steps to reproduce



as always I will not be held accountable if your pine melts down because you followed these instructions!

Dear mikey0000,

The module https://drive.google.com/open?id=0B3jDRH...UtmcmVVckE  can't be download.
Would you please send it again?

Thanks,
Kind regards
Pages: 1 2 3