![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Apple Users Discussions for users who are using Apple Intel or PPC based systems with Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Dipped in Ubuntu
![]() |
HOWTO: Fix iSight in Hardy
Unfortunately despite all the great improvements we've seen in Hardy, the iSights on our Apple Intel Macs got left a little out in the cold. First we're having problems getting the firmware to load, then after fixing that the stock uvcvideo.ko doesn't create a valid video chain which causes the camera not to work at all.
Below are the instructions to get your iSight up and running. First, if you haven't already done it go ahead and add the Mactel PPA to your /etc/apt/sources.list. This is a good repo to find Mactel-specific fixes and features, including where we'll find the tools to fix our iSights. Code:
# Mactel PPA deb http://ppa.launchpad.net/mactel-support/ubuntu hardy main deb-src http://ppa.launchpad.net/mactel-support/ubuntu hardy main Code:
$ sudo apt-get update $ sudo apt-get install isight-firmware-tools Now we're going to use one of the utilities we just installed to extract the iSight firmware so it can be properly loaded: Code:
$ sudo ift-extract -a /lib/firmware/AppleUSBVideoSupport Code:
$ sudo modprobe -r uvcvideo $ sudo modprobe uvcvideo 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.orig $ sudo apt-get install libusb-0.1-4 libusb-dev linux-headers-$(uname -r) subversion $ svn co --revision 205 svn://svn.berlios.de/linux-uvc/linux-uvc/trunk uvcvideo-r205 $ cd uvcvideo-r205 $ make $ sudo make install $ sudo depmod -ae $ sudo modprobe uvcvideo Good Luck!
__________________
"This would make more difference if it made any difference at all; but it doesn't make any difference at all, because you are listening to a conversation among dead businesses." -- Eben Moglen Last edited by benanzo; April 25th, 2008 at 10:42 PM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2006
Location: France
Beans: 17
Ubuntu 7.10 Gutsy Gibbon
|
Re: HOWTO: Fix iSight in Hardy
I got no problem at all, I just followed the basic instructions and it worked instantly.
I own a MB C2D 2nd gen. Is this a problem with newer machines? |
|
|
|
|
|
#3 |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: Fix iSight in Hardy
I'm using a first-gen MacBook (1,1)
This howto is in response to the following two bugs: https://bugs.launchpad.net/mactel-support/+bug/185634 https://bugs.launchpad.net/ubuntu/+s...24/+bug/216310
__________________
"This would make more difference if it made any difference at all; but it doesn't make any difference at all, because you are listening to a conversation among dead businesses." -- Eben Moglen |
|
|
|
|
|
#4 | |
|
OK, I Ubuntu. Do you Ubuntu?
![]() |
Re: HOWTO: Fix iSight in Hardy
Quote:
Also, going to try to get Dirk to replace the old iSight How-To in the FAQ.
__________________
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; April 24th, 2008 at 10:40 AM.. |
|
|
|
|
|
|
#5 | |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: Fix iSight in Hardy
Quote:
But you're right, compiling a new module *may* not be necessary.
__________________
"This would make more difference if it made any difference at all; but it doesn't make any difference at all, because you are listening to a conversation among dead businesses." -- Eben Moglen |
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: May 2006
Beans: 1
|
Re: HOWTO: Fix iSight in Hardy
Thanks for the HOWTO.
One note for those following it, though: You should really try your isight after just the firmware extraction - I followed the whole HOWTO and my isight only worked in ekiga, not in cheese. I then reverted the uvcvideo.ko back to the original one and everything worked fine. |
|
|
|
|
|
#7 | |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: Fix iSight in Hardy
Quote:
__________________
"This would make more difference if it made any difference at all; but it doesn't make any difference at all, because you are listening to a conversation among dead businesses." -- Eben Moglen |
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: Fix iSight in Hardy
I have edited source.list file as it was said in 1st step of howto. I follow steps and when I do 3rd code box, here's what happens:
Code:
ugljesha@blackbox:~$ sudo ift-extract -a /lib/firmware/AppleUSBVideoSupport -f /lib/firmware/isight.fw ** Message: Found Mac OS X.4 intel driver ** ERROR **: Unable to open /lib/firmware/lib/firmware/isight.fw for writing. aborting... Aborted
__________________
Macbook owner. Ubuntu 8.04 Hardy Heron & Mac OS X 10.4 Tiger user. Life is a big char, so just sit & enjoy. #include <brain.h> |
|
|
|
|
|
#9 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2007
Location: SP, Brazil
My beans are hidden!
|
Re: HOWTO: Fix iSight in Hardy
Quote:
mabovo@macbook:~$ sudo ift-extract -a /lib/firmware/AppleUSBVideoSupport -f /lib/firmware/isight.fw ** Message: Found Mac OS X.4 intel driver ** ERROR **: Unable to open /lib/firmware/lib/firmware/isight.fw for writing. aborting... Cancelado mabovo@macbook:~$ Also running gstreamer-properties I got this: mabovo@macbook:~$ gstreamer-properties gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink' gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc' gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc' gstreamer-properties-Message: Skipping unavailable plugin 'esdmon' mabovo@macbook:~$ - Not supported std output video device for autovideosink channel - None device found std input video for v4l2 plugin Do we need still blacklist isight_usb in Hardy ? Can we set iSight be loaded with udev instead of hal ? Last edited by mabovo; April 25th, 2008 at 08:53 AM.. Reason: To complement information |
|
|
|
|
|
|
#10 | |
|
OK, I Ubuntu. Do you Ubuntu?
![]() |
Re: HOWTO: Fix iSight in Hardy
Quote:
Code:
sudo ift-extract -a /lib/firmware/AppleUSBVideoSupport The IFT dev said that there is a switch or something to force the use of udev, but as you know, there are problems using udev to do it. It should use hal. mabovo, you have already done this part anyway... All you need to do is compile the newer uvcvideo module
__________________
20" iMac C2D (iMac5,1) How-Tos: Multi-Boot Mactel | EFI-MBR Madness Before You Post... | Mactel-Support Team | Intel Mac FAQ |
|
|
|
|
| Bookmarks |
| Tags |
| hardy, howto, ift-extract, isight, mactel, uvcvideo |
| Thread Tools | |
| Display Modes | |
|
|