isight doesn't work

Bug #127584 reported by mon
16
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Chuck Short

Bug Description

Binary package hint: linux-source-2.6.22

Hi

The built-in apple isight web cam on the macbook core 2 duo doesn't work. I've copied the firmware in /lib/firmware but this doesn't seem to be enough.

Any ideas?

Thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

using tribe 3 (gutsy) x86

Revision history for this message
ruebezahl (ruebezahl) wrote :

same for me on a macbook pro core 2 duo (15")
in gutsy tribe 3 and feisty

Revision history for this message
xtknight (xt-knight) wrote :

"sudo lspci -vv" would be helpful.

Revision history for this message
ruebezahl (ruebezahl) wrote :

requested lspci..

Revision history for this message
Chuck Short (zulcss) wrote :

Actually a lspci -nvv would be even more helpful.

Changed in linux-source-2.6.22:
assignee: nobody → zulcss
status: New → Incomplete
Revision history for this message
ruebezahl (ruebezahl) wrote :

so, here you are.
let me know if you need more outputs :)

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :
Revision history for this message
Philipp Edelmann (tukss) wrote :

Try using the driver from gentoo. You can get it from http://gentooexperimental.org/~genstef/dist/linux-uvc-0.1.0_pre100.tar.gz
The patch is already applied in the tarball. Simply do make && make install.
Works for me with a MacBookPro C2Duo in ekiga and mplayer-svn with ubuntu kernel 2.6.22 from git.

Revision history for this message
Daniele Dellafiore (ildella) wrote :

I can confirm. Using this procedure worked on feisty:

sudo modprobe -r uvcvideo
sudo mv /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko.original
sudo apt-get install libusb-0.1-4 libusb-dev linux-headers-$(uname -r)
wget http://files.i-nz.net/projects/linux-kernel/isight/uvcvideo-isight.tar.gz
tar -xzvf uvcvideo-isight.tar.gz
cd against-revision-100
make
sudo make install
sudo modprobe uvcvideo
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink

now when I run gst test I receive this error:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/v4l2src0: Cannot identify device '/dev/video0'.
Additional debug info:
v4l2_calls.c(404): gst_v4l2_open (): /pipeline0/v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
FREEING pipeline ...

This is on te same machine: MBP c2d 15, gutsy up to date. *not* santa rosa edition.

Revision history for this message
JulienM (julien-maillard) wrote :

I am currently running gutsy up to date on a MacBook Pro santa rosa edition, the isight works well.

Whith ekiga i had this bug: https://bugs.launchpad.net/ubuntu/+bug/131222 (just four first line of the webcam has been shown) I update pwlib and ekiga works without any problems.

And for gstreamer I have to used this command line to make it works:
gst-launch-0.10 v4l2src queue-size=2 ! ffmpegcolorspace ! xvimagesink

instead of this:
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! xvimagesink

This bug has been fixed in the cvs version i have made a patch for the current version of the gutsy package if someone is interesting in i can post it.

Revision history for this message
Daniele Dellafiore (ildella) wrote :

Yes, I can confirm it works also on MBP 2g (gutsy up to date). My script on comment
#9 was wrong cause in gutsy the /media/usbvideo folder has been moved, so the second line becomes:

sudo mv /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko.original

I removed "kernel" from path.
Now Ekiga detects iSight and it works.
The gstreamer test still fails (either one) with this output:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2062): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
FREEING pipeline ...

Maybe this is related to bug 131222.

Revision history for this message
Turbo Fredriksson (turbo-bayour) wrote :

The Gentoo driver works for me on 'linux-image-2.6.20-16-generic', version 2.6.20-16.32.

Revision history for this message
Gabriele Tassoni (gabriele-tassoni) wrote :

The bug is still present on 2.6.22-14-generic, isight can be initialized only at 320x240:

gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=320,height=240 ! ffmpegcolorspace ! ximagesink

otherwise it freezes (on all attempts at 640x480 or by using gstreamer based applications like cheese that defaults to 640x480).

So, bug still present for gutsy users.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've tried what gabriele said and it also happens here.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.