November 19, 2019, 04:33:08 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


(No?) USB Webcam support for cubieboard

Started by vlemo, June 28, 2013, 02:24:20 am

Previous topic - Next topic

vlemo

I'm trying to use a usb webcam connected to my cbb. Using lsusb shows the webcam but no /dev/video0 is listed. So fswebcam or motion does not work.

Any ideas how to solve this?

ADBensi

I would liked to try it too, good luck!
Ps: my post is "Notify me of replies."

lawrence

You'll need to compile a kernel with v4l2 (video for linux) in your kernel settings.

vlemo

Is there a scenario on how to compile the kernel with v4l?

ocpaul20

QuoteYou'll need to compile a kernel with v4l2 (video for linux) in your kernel settings.
So the standard OS images around the place does not have this compiled in?

Maybe we can get a list together of everything (or almost everything) which is required and then someone with the toolset can compile up a headless and a headed image which we can all use?  Would that be possible or practical? At least we would have the basis for a solid OS which can be downloaded by many.

Video and audio is something which is essential to have working. I need them too.

nich

Hey guys, has there been any progress on this? I have been trying to get my webcam working with a cubie and like others, can't see /dev/video0.

I'm certainly no linux guru so compiling my own kernel sounds scary. If anyone has been able to solve this, I'd be really greatful!!!

Thanks.

supermarioprof

The same for me!
I use Cubie as a simple NAS, but I would like to use it as a home control system.
Anyone can help us to let USB webcams to work?

xtofury

http://www.fileswap.com/dl/ZPPtpzQFmN/

can one of you help me figure out how to get this example working in eclipse?
http://developer.android.com/training/camera/videobasics.html

It just doesn't work...  but I got the following enabled in the kernel:
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
CONFIG_VIDEO_MEDIA=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

Then I gave a permission 666 to /dev/video0,1 in ueventd.sun4i.rc

Compiling again, because I changed a few other things, so maybe tomorrow I'll load up the new image and it'll just work...  it works in some of the google play camera utilities....

vlemo