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
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!
Amazing work! Congrats Smile
(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 and eventually it will end up in Ayufan's Android builds.
I have logitech 920. I don't have 5mp camera modul. Maybe need two different images? One with 5mp camera modul and one with logitech? I need logitech camera support. Because I need Skype work properly, but 5 MP camera modul not so good choice for Skype... But 5 MP camera need for robotics, I think.
mikey0000: I'm working on integrating Kernel compilation process into AOSP.

Could you add missing pieces to this defconfig: https://github.com/ayufan-pine64/linux-p..._defconfig?

And we also have to add this insmods: https://github.com/ayufan-pine64/device-...1p1.rc#L51
mikey0000: kernel compilation is part of AOSP now, when you build image you will also compile kernel, you have to update local manifests

mikey0000: I'm working on adding these two modules now and to add insmods for them.

mikey0000: I use longsleep kernel with my HDMI-CEC patches
The kernel modules are now part of the build
i have the camera i can test it !
I'm also have the camera Pine is selling, so just tell me what to do and how then I'll give it a shoot...
(09-17-2016, 09:21 AM)ayufan Wrote: [ -> ]The kernel modules are now part of the build

Awesome, so quick, I was out all of yesterday with a nasty gastro bug.

and -XXX wait for the next working build of Ayufans 7.0 as it has most of the work I've done to get the camera module up. 1. let me know if it works on the himax (I'm assuming it will) If it doesn't detect it automagically, please do the following.

adb shell
dmesg output
lsmod output

check for /dev/video0

also mention what apps you've used to check the camera with as it matters.

Ayufan has done an awesome job and already enabled the correct module on boot.
and -XXX can you follow instructions at top post on latest Ayufan build either TV or non, please specify which build you will use. can you confirm if cameraservice is running on TV version?
Pages: 1 2 3