Author Topic: (No?) USB Webcam support for cubieboard  (Read 7235 times)

Offline vlemo

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
(No?) USB Webcam support for cubieboard
« on: June 28, 2013, 02:24:20 am »
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

  • Guest
Re: (No?) USB Webcam support for cubieboard
« Reply #1 on: June 30, 2013, 06:36:37 pm »
I would liked to try it too, good luck!
Ps: my post is "Notify me of replies."

Offline lawrence

  • Administrator
  • Sr. Member
  • *****
  • Posts: 304
  • Karma: +15/-0
    • View Profile
Re: (No?) USB Webcam support for cubieboard
« Reply #2 on: July 02, 2013, 01:03:01 am »
You'll need to compile a kernel with v4l2 (video for linux) in your kernel settings.

Offline vlemo

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: (No?) USB Webcam support for cubieboard
« Reply #3 on: July 07, 2013, 09:51:05 am »
Is there a scenario on how to compile the kernel with v4l?

ocpaul20

  • Guest
Re: (No?) USB Webcam support for cubieboard
« Reply #4 on: July 18, 2013, 05:51:23 am »
Quote
You'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

  • Guest
Re: (No?) USB Webcam support for cubieboard
« Reply #5 on: August 10, 2013, 07:50:17 am »
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.

Offline supermarioprof

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: (No?) USB Webcam support for cubieboard
« Reply #6 on: August 15, 2013, 12:55:13 pm »
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

  • Guest
Re: (No?) USB Webcam support for cubieboard
« Reply #7 on: September 04, 2013, 06:29:06 pm »
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....

Offline vlemo

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: (No?) USB Webcam support for cubieboard
« Reply #8 on: September 07, 2013, 02:43:03 pm »
See cubian.org webcam support for both A10  and A20