Android USB camera support - Android 7.0
#21
(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?
Backer #6878
shipment status: arrived
#22
Should I test it too? Smile
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
#23
Please! I'll hopefully have some new camera code for USB UVC camera support soon.
Backer #6878
shipment status: arrived
#24
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


Attached Files
.zip   logcat.zip (Size: 81.69 KB / Downloads: 488)
#25
(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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)