Acer Crystal Eye webcam does not work

Bug #205970 reported by Jochem Kossen
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running the hardy beta, and on my Acer 5920, the Crystal Eye webcam doesn't work.

gstreamer-properties seems to detect the webcam, but here are the errors I get when I select it as a v4l device and press the 'Test' button:

gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'Video for Linux (v4l)': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline0/v4lsrc2:
Error setting the channel/norm settings: Invalid argument]

And here's what happens when i select it as a v4l2 device:
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Error starting streaming capture from device '/dev/video0'. [v4l2src_calls.c(1369): gst_v4l2src_capture_start (): /pipeline0/v4l2src2:
system error: Protocol error]

In Ekiga i just get a green little window

The device is detected at boot by the uvcvideo driver:
[ 27.467615] uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam (064e:a101)

lsusb identifies the device as such:
Bus 006 Device 002: ID 064e:a101 Suyin Corp.

luvcview -f yuv does work (although i have to start it twice), but unfortunately gstreamer-properties does not have an option for yuv

Revision history for this message
beccon (conrad-diskussion) wrote :

The same goes for Linphone:
ortp-message-cb_rcv2xx (id=2)
ortp-message-eXosip: timer sec:4 usec:100000!
ortp-error-VIDIOC_STREAMON failed: Protocol error
ortp-message-Using yuv overlay.
ortp-message-YUV overlay using hardware acceleration.

No image. Strangely enough under some nonreproducable circumstances I got an image on Linphone.

The cam works just fine on Kopete though.

Greetings
Conrad

Revision history for this message
beccon (conrad-diskussion) wrote :

another test - same cam, same hardware (Acer Travelmate 5720), same distribution

Ubuntu Hardy Heron
uname -a
Linux 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

luvcview -f yuv
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
Unable to set format: 5.
 Init v4L2 failed !! exit fatal

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingHardwareDetection as separate attachments.

Revision history for this message
doclongopc (doclongo) wrote :

Hi guys,
I have the same webcam (Suyin corp.) and works fine (cheese or skype), but my problem is different:
the cam disappear from system and lsusb list until bus 007 device 001 instead the cam, when works, is listed in bus 007 device 003.
Someone can help?
2.6.24-21-generic

Revision history for this message
Ian Weisser (ian-weisser) wrote :

If your problem is different, then please open a different bug...if you think it's really a bug.
You can get faster assistance on troubleshooting issues on IRC (irc.freenet.org #ubuntu) or in the support forum at www.ubuntuforums.org

Revision history for this message
Ian Weisser (ian-weisser) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information.

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Jochem Kossen (jkossen) wrote :

Sorry, totally missed your request for information. My bad. Here it is. Note i'm now running Intrepid, and still can't use the webcam.

Revision history for this message
Jochem Kossen (jkossen) wrote :
Revision history for this message
Jochem Kossen (jkossen) wrote :
Revision history for this message
Jochem Kossen (jkossen) wrote :
Revision history for this message
Jochem Kossen (jkossen) wrote :
Revision history for this message
Jochem Kossen (jkossen) wrote :

Requested information is attached; Reopen bug

Changed in linux:
status: Invalid → New
Revision history for this message
Ian Weisser (ian-weisser) wrote :

Do you have the same problem in 8.10?

If so, try the solution at http://ubuntuforums.org/showthread.php?t=715366 and let us know if that fixes the problem.

Revision history for this message
Jochem Kossen (jkossen) wrote :

Yes, I currently have this problem on 8.10, 64 bit version (same problems on 32 bit though).

The linux-uvc.tar.gz doesn't compile on the x86_64 install it seems:

/home/jochem/Desktop/bug/linux-uvc/uvc_driver.c: In function ‘uvc_register_video’:
/home/jochem/Desktop/bug/linux-uvc/uvc_driver.c:1443: error: incompatible types in assignment
/home/jochem/Desktop/bug/linux-uvc/uvc_driver.c:1444: error: ‘struct video_device’ has no member named ‘type’
/home/jochem/Desktop/bug/linux-uvc/uvc_driver.c:1445: error: ‘struct video_device’ has no member named ‘type2’
make[2]: *** [/home/jochem/Desktop/bug/linux-uvc/uvc_driver.o] Error 1
make[1]: *** [_module_/home/jochem/Desktop/bug/linux-uvc] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [uvcvideo] Error 2

So I tried the latest mercurial checkout from http://linuxtv.org/hg/~pinchartl/uvcvideo/archive/tip.tar.gz, which does compile and install, but cheese still reports a protocol error:

libv4l2: error turning on stream: Protocol error

luvcview -f yuv seems to work every "even" time I start it:

jochem@myth [23:20] [~/Desktop/bug]
% luvcview -f yuv
luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path: /dev/video0
Stream settings:
  Frame format: YUYV
  Frame size: 640x480
  Frame rate: 30 fps
Unable to start capture: Protocol error
Error grabbing
Cleanup done. Exiting ...

jochem@myth [23:20] [~/Desktop/bug]
% luvcview -f yuv
luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path: /dev/video0
Stream settings:
  Frame format: YUYV
  Frame size: 640x480
  Frame rate: 30 fps
^C
Quit signal received.
Cleanup done. Exiting ...

jochem@myth [23:20] [~/Desktop/bug]
% luvcview -f yuv
luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path: /dev/video0
Stream settings:
  Frame format: YUYV
  Frame size: 640x480
  Frame rate: 30 fps
Unable to start capture: Protocol error
Error grabbing
Cleanup done. Exiting ...

Revision history for this message
Levente Torok (toroklev) wrote :

On my Interpid Ibex / Acer eMachine e520 the solution found at
http://forum.notebookreview.com/showthread.php?t=291894
solved the case.
Since it is forgotten at each reboot you can make it start automatically as

sudo gedit /etc/modules

add line

uvcvideo

sudo gedit /etc/modprobe.d/options

add line

options uvcvideo quirks=2

Lev

Revision history for this message
Jochem Kossen (jkossen) wrote :

the quirks=2 option didn't work either. Still the same error: libv4l2: error turning on stream: Protocol error

Thanks for the suggestion though Levente; I hadn't tried that one before!

Revision history for this message
israel vainsencher (israel-mat) wrote :

the quirks=2 option didn't work for me either.
$ xawtv
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-9-generic)
xinerama 0: 1366x768+0+0
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available

Revision history for this message
Andres Mujica (andres.mujica) wrote :

This seems a lot like bug #290506, or at least that the Stephan kernel would solve it.

Sadly we're waiting for those patches to be uploaded to Stephan PPA or directly to -proposed.

So let's wait a bit so we can test when the kernel is released.

If someone can install the Stephan kernel from the PPA and test would be great.

Thanks

Revision history for this message
Brittany Dunlap (xdunlapx) wrote :

Using Ibex (all updates applied) acer crystal eye webcam (suyin corp) does not work. Worked in Hardy.

errors:
$ cheese

(cheese:15385): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps

(cheese:15385): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps

(cheese:15385): GStreamer-WARNING **: pad video_source:src returned caps which are not a real subset of its template caps
libv4l2: error converting / decoding frame data: v4l-convert: error destination buffer too small

Expected:
Webcam should work if it worked in previous release of Ubuntu.

Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Andres Mujica (andres.mujica) wrote :

ok, this really seems like a dupe from bug #290506, i'll mark it like that.

Thanks!!

Revision history for this message
acritarca (gmcrosa) wrote :

I think the dupe status is wrong. I've got an Acer 4720 with a Crystal Eye webcam and no apps is working with it. If I start video apps through the console I hace the same line:

Skype:

libv4l2: error turning on stream: Error de protocolo
Skype V4L2: Failed to activate streaming

Cheese:

libv4l2: error turning on stream: Error de protocolo

(cheese:6736): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

(cheese:6736): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed

(cheese:6736): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed

ekiga:

libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado
libv4l2: error requesting 4 buffers: Dispositivo ó recurso ocupado

Revision history for this message
Jochem Kossen (jkossen) wrote :

Agreed; I still get the same errors, tested with intrepid and linux kernel 2.6.27-11-generic

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi jkossen,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 205970

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Brittany Dunlap (xdunlapx) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=fe2776fb-5e68-41d0-83ae-fda33d1c1c48
MachineType: Acer Aspire 7720
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
PackageArchitecture: i386
ProcCmdLine: root=UUID=3021c7ba-e11b-494d-a7b9-748a35044f2c ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin dialout lpadmin plugdev sambashare video

Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :
Revision history for this message
Brittany Dunlap (xdunlapx) wrote :

It works for me.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Brittany, thanks for the feedback. It indeed looks like you have the same device as the original bug reporter,

Bus 002 Device 002: ID 064e:a101 Suyin Corp.

I'm marking this Fix Released base don this info an Brittany's previous comment that this is working now.

Jochem, since you are the original bug reporter, if this is not resolved for you feel free to reopen this bug by setting the status back to New. Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
acritarca (gmcrosa) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=418d975d-5cd9-4e8a-99ab-d64ba5a863c6
MachineType: Acer, inc. Aspire 4720
Package: linux-image-2.6.28-13-generic 2.6.28-13.45
PackageArchitecture: i386
ProcCmdLine: root=UUID=e6098430-b8aa-4e29-b4a0-4aed2e6ec986 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=es_UY.UTF-8
ProcVersionSignature: Ubuntu 2.6.28-13.45-generic
Uname: Linux 2.6.28-13-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :
Revision history for this message
acritarca (gmcrosa) wrote :

Hi, I tried with the alpha release of 9.10, it works in gstreamer-properties.
I installed and tried to run cheese using the live CD and it worked but only the third time. Here is my console message:

ubuntu@ubuntu:~$ cheese
cheese: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
ubuntu@ubuntu:~$ cheese
cheese: ../../src/xcb_io.c:242: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted (core dumped)
ubuntu@ubuntu:~$ cheese

Hope that it helps.
Thanks

Revision history for this message
TAKI (taki) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
NonfreeKernelModules: nvidia
Package: linux-image- (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_UA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
Uname: Linux 2.6.31-20-generic x86_64
UserGroups:

Revision history for this message
TAKI (taki) wrote : XsessionErrors.txt
tags: added: apport-collected
Dheerru (dheerru)
Changed in linux (Ubuntu):
status: Fix Released → New
Tim Casey (tjcasey)
Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
kilinuxmi (kilinuxmi-gmail) wrote :

I am using Acer Crystal Eye webcam on Acer Aspire 4530 on Ubuntu 10.04 (2.6.32-24-generic kernel). Still doesn't work. Error message: "libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Not a JPG file ?"

To post a comment you must log in.