Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Apple Intel Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Apple Intel Users
Discussions for users who are using Apple Intel based systems with Ubuntu.

 
Thread Tools Display Modes
Old July 3rd, 2007   #1
ivesjd
Ubuntu Extra Shot
 
ivesjd's Avatar
 
Join Date: Apr 2007
Beans: 360
Ubuntu 7.10 Gutsy Gibbon
HOW-TO: iSight setup

Should be working now (11/10/2007)



Quick and easy iSight setup


As of 10/27/2007 on Gutsy. Thanks to cyberdork33 for the fixes to get this working.


In this how-to, there is no need to mount your OS X partition.
Code:
sudo modprobe -r uvcvideo
sudo mv /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko.original
* Install prerequisites, libusb-dev, you might need kernel headers that match your kernel
Code:
sudo apt-get install libusb-0.1-4 libusb-dev linux-headers-$(uname -r)
* Download the new all-in-one bundle, with firmware autoloader as provided by Ivan N. Zlatev by clicking here .
*Change directories to where the tar file is. Then untar it.
Code:
 tar -xvf uvcvideo-isight.tar.gz
* Now build and Install the uvcvideo module
Code:
cd against-revision-140
sudo make
sudo make install
* Load the module
Code:
sudo modprobe uvcvideo
Now it should work. Here is a test you can run to see it in action.

GSTREAMER TEST
Code:
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink

Last edited by ivesjd; November 10th, 2007 at 01:14 PM.. Reason: Gutsy Release
ivesjd is offline   Reply With Quote
Old July 3rd, 2007   #2
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,454
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: HOW-TO: iSight setup

There is a bug with newer kernels and the uvcvideo module. Upgrading will likely break it.
https://bugs.launchpad.net/ubuntu/+s...20/+bug/105638
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ

Last edited by cyberdork33; August 2nd, 2007 at 09:34 AM..
cyberdork33 is offline   Reply With Quote
Old July 3rd, 2007   #3
david_edmundson
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 48
Re: HOW-TO: iSight setup

If you are a kubuntu user you will need to install gstreamer to run the final command.
I installed gstreamer0.10*, though it's probably possible to do it with a bit less.

Another problem I encountered was when I mounted it, dmesg said the following

Code:
[28959.720000] Linux video capture interface: v2.00
[28959.828000] uvcvideo: iSight: firmware successfully loaded.
[28959.828000] uvcvideo: Found UVC 0.00 device <unnamed> (05ac:8300)
[28959.828000] uvcvideo: No valid video chain found.
[28959.828000] usbcore: registered new interface driver uvcvideo
[28959.828000] USB Video Class driver (v0.1.0)
This can be fixed by running
Code:
modprobe uvcvideo trace=15
If that fix works, add it to your module options.

Last edited by david_edmundson; July 3rd, 2007 at 05:43 PM..
david_edmundson is offline   Reply With Quote
Old July 3rd, 2007   #4
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,454
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: HOW-TO: iSight setup

you need at least gstreamer0.10 to use cheese too if you want that.
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote
Old July 27th, 2007   #5
ramvi
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 28
Question Re: HOW-TO: iSight setup

Heya!

Thanks for what seems to be a great howto!
I've got a problem tough.

The dmesg says this when I modprobe uvcvideo:
Code:
[  782.604000] Linux video capture interface: v2.00
[  782.608000] usbcore: registered new interface driver uvcvideo
[  782.608000] USB Video Class driver (v0.1.0)
When I run the test I get this:
Code:
ramvi@ramvi:~$ gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
FEIL: fra element /pipeline0/v4l2src0: Cannot identify device '/dev/video0'.
Tilleggsinformasjon for feilsøking:
v4l2_calls.c(404): gst_v4l2_open (): /pipeline0/v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
FREEING pipeline ...
ramvi is offline   Reply With Quote
Old July 27th, 2007   #6
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,454
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: HOW-TO: iSight setup

Quote:
Originally Posted by ramvi View Post
Heya!

Thanks for what seems to be a great howto!
I've got a problem tough.

The dmesg says this when I modprobe uvcvideo:
Code:
[  782.604000] Linux video capture interface: v2.00
[  782.608000] usbcore: registered new interface driver uvcvideo
[  782.608000] USB Video Class driver (v0.1.0)
When I run the test I get this:
Code:
ramvi@ramvi:~$ gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
FEIL: fra element /pipeline0/v4l2src0: Cannot identify device '/dev/video0'.
Tilleggsinformasjon for feilsøking:
v4l2_calls.c(404): gst_v4l2_open (): /pipeline0/v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
FREEING pipeline ...
Try rebooting. The correct module should load this time, then try the test again. It looks like one of the many errors I've gotten before try to get this to work right. I don't really have a solutiion because I just kinda fiddle with it until it starts working.
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote
Old July 30th, 2007   #7
ramvi
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 28
Re: HOW-TO: iSight setup

I have tried that - same error
ramvi is offline   Reply With Quote
Old July 30th, 2007   #8
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,454
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: HOW-TO: iSight setup

Quote:
Originally Posted by ramvi View Post
I have tried that - same error
I am getting the same error in gutsy now.
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote
Old August 1st, 2007   #9
ramvi
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 28
Re: HOW-TO: iSight setup

Gutsy here as well
ramvi is offline   Reply With Quote
Old August 1st, 2007   #10
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,454
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: HOW-TO: iSight setup

did you try with that recent kernel update? I was hoping that might fix it.

EDIT: answering my own question here... It still does not work.

I found the bug report on this. It appears to have started with a kernel update in feisty.
https://bugs.launchpad.net/ubuntu/+s...20/+bug/105638
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ

Last edited by cyberdork33; August 1st, 2007 at 10:13 PM..
cyberdork33 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:59 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry