Webcam with Beagle

Hi everyone,

Has anyone had any success with Beagle Board and webcam? I have tried with three USB cameras from different vendors and they all use gspca driver. All of these cameras work perfectly under Debian at my PC. Same applies to all the software I have tried. The programs I have tried are motion, palantir and vgrabbj. While they all work with all of the cameras at my PC, none of them is willing to work with beagle. Only exception is Palantir which produces only images like:
  http://www.hervanta.com/~antti/temp/beagle_webcam_output.jpg
  http://www.hervanta.com/~antti/temp/beagle_webcam_output2.jpg

Other two program refuse to work at all, just complaining about mcapture error: invalid argumet or palette setting error. I will continue trying to pinpoint the exact failing function calls...

I'm currently using 2.6.27 kernel with all patches from OpenEmbedded, glibc from CodeSourcery's gcc package and the rest of the system (busybox, libraries...) from their sources.

Antti Seppanen wrote:

Hi everyone,

Has anyone had any success with Beagle Board and webcam? I have tried with three USB cameras from different vendors and they all use gspca driver. All of these cameras work perfectly under Debian at my PC. Same applies to all the software I have tried. The programs I have tried are motion, palantir and vgrabbj. While they all work with all of the cameras at my PC, none of them is willing to work with beagle. Only exception is Palantir which produces only images like:
  http://www.hervanta.com/~antti/temp/beagle_webcam_output.jpg
  http://www.hervanta.com/~antti/temp/beagle_webcam_output2.jpg

Other two program refuse to work at all, just complaining about mcapture error: invalid argumet or palette setting error. I will continue trying to pinpoint the exact failing function calls...

I'm currently using 2.6.27 kernel with all patches from OpenEmbedded, glibc from CodeSourcery's gcc package and the rest of the system (busybox, libraries...) from their sources.

With Koen's latest Angstrom demo image, I am able to connect multiple Logitech QuickCam Pro 3000 usb cameras to the BeagleBoard and view them through the latest mplayer.

Dan

I used a UVC (universal video class) webcam and it worked perfectly with
amsn on beagle.
Unfortunately amsn had problems with ALSA.
Otherwise I had (a muted) video conferencing running on beagle.

By the way, any webcam that has vista logo must be UVC compliant according
to Microsoft.

Best regards,
Tamer

Hi all,

I wrote:

Has anyone had any success with Beagle Board and webcam? I have tried with
three USB cameras from different vendors and they all use gspca driver. All of
these cameras work perfectly under Debian at my PC. Same applies to all the
software I have tried. The programs I have tried are motion, palantir and
vgrabbj. While they all work with all of the cameras at my PC, none of them is
willing to work with beagle. Only exception is Palantir which produces only
images like:

Small update to this: I installed 2.6.27 kernel also to my Debian PC
where webcams
did work perfectly. Now I'm able to reproduce the problems with Beagle
on my
Debian machine. Symptoms are identical in both environments with both
v4l and v4l2
This, I think, narrows the problem to gspca driver or v4l/v4l2.

Small update to this: I installed 2.6.27 kernel also to my Debian PC
where webcams
did work perfectly. Now I'm able to reproduce the problems with Beagle
on my
Debian machine. Symptoms are identical in both environments with both
v4l and v4l2
This, I think, narrows the problem to gspca driver or v4l/v4l2.

Ok, finally got this solved. This did the trick:
http://n2.nabble.com/zc3xx-webcam-(041e%3A4034-Creative-Webcam-Instant)-stopped-working-some-time-ago-(since-gspca-kernel-integration-)-td1667749.html#none
(nice URL. If Google breaks it, use this: Venäjän mielenosoitusten merkitys jää nähtäväksi – Tutkijan mukaan kaikki on mahdollista, jos hallinnon ote alkaa lipsua | Uutissuomalainen | Keskisuomalainen )

I don't know whether I should cry of laugh. Everything worked
perfectly with 2.6.26 kernel, now I have to use some #%"¤&" user space
library, white balance and exposure are way off and as a bonus I get
these errors:
  libv4lconvert: Error decompressing JPEG: unknown huffman code:
0000ffff
Well, I guess I just have to ignore those as live picture comes
through.

Now BeagleBot has also working webcam.