Android USB camera support - Android 7.0
#1
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!
Backer #6878
shipment status: arrived
#2
Amazing work! Congrats Smile
#3
(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.
#4
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
#5
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
#6
The kernel modules are now part of the build
#7
i have the camera i can test it !
By. Zoidiano0!
Installed:
LAMP: Linux , Apache2.4 , Mariadb, phpMyadmin, PHP5 
Java 8 arm by oracle
Netbeans 8.1
chromium (uses way toooo much Ram)

Pine64 Head Unit Project.!
#8
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...
#9
(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.

@Zoidiano0 and @Project-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.
Backer #6878
shipment status: arrived
#10
@Zoidiano0 and @Project-XXX can you follow instructions at top post on latest Ayufan build either TV or non, please specify which build you will use. @ayufan can you confirm if cameraservice is running on TV version?
Backer #6878
shipment status: arrived


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 252,499 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 19,917 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 10,868 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 4,834 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 4,510 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 3,746 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 2,237 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 172,577 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 2,418 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 75,600 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)