Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 183 to 183 | ||||||||
|---|---|---|---|---|---|---|---|---|
For more details on framebuffer support with uvesafb (which is a lot faster than vesafb) in the upcoming Ubuntu 8.04 (Hardy Heron), see here.
Jabber in Gutsy | ||||||||
| Changed: | ||||||||
| < < |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. A workaround: If you enter your password in the "Password:" field of the "Basic" tab on the "Modify Account" dialog, and check the "Remember password" box, and save, then pidgin works OK with XMPP (Jabber). The password is stored in the pidgin ~/.purple/accounts.xml configuration file.
| |||||||
| > > |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. A workaround: If you enter your password in the "Password:" field of the "Basic" tab on the "Modify Account" dialog, and check the "Remember password" box, and save, then pidgin works OK with XMPP (Jabber). The password is stored in the pidgin ~/.purple/accounts.xml configuration file. The bug is fixed in Ubuntu 8.04 (Hardy Heron).
| |||||||
There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine.
xterm in Gutsy | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 388 to 388 | ||||||||
|---|---|---|---|---|---|---|---|---|
| dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input/pointing1 org.bluez.input.Device.Connect | ||||||||
| Added: | ||||||||
| > > |
You may need to add the following lines to just before the exit 0 at the end of /etc/init.d/bluetooth (to reset the hci0 device):
sleep 1 && /usr/sbin/hciconfig hci0 reset sleep 1 && /usr/sbin/hciconfig hci0 reset | |||||||
| Then after a reboot, you only need to issue the following command, to get the keyboard to connect. Since the mouse connects happily all by itself after the above commands, one way to get the keyboard to connect would be to enable gdm auto-login, add the following command to a script, | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 447 to 447 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Then to find the device address of the mouse, I turned the mouse off then on again using the switch that looks | ||||||||
| Changed: | ||||||||
| < < |
like a lens cover (under the mouse) and then I used the following command: | |||||||
| > > |
like a lens cover (under the mouse) and then I used the following commands: | |||||||
|
| ||||||||
| Added: | ||||||||
| > > |
hciconfig hci0 up | |||||||
| hcitool scan | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 374 to 374 | ||||||||
|---|---|---|---|---|---|---|---|---|
| here as well as these pages: here and here. | ||||||||
| Added: | ||||||||
| > > |
The PIN (passcode) for the Mighty Mouse is 0000 here on the Apple support site. | |||||||
| Changed: | ||||||||
| < < |
Look in /var/lib/bluetooth/*/names for the bluetooth addresses.
| |||||||
| > > |
Update: for Ubuntu 8.04 (Hardy Heron) the hidd has been removed, so instead follow this guide to get the mouse and keyboard working.
Look in /var/lib/bluetooth/*/names for the bluetooth addresses of your keyboard and mouse, let's say they're KK:KK:KK:KK:KK:KK and MM:MM:MM:MM:MM:MM respectively. To configure them initially, use these commands.
| |||||||
| Deleted: | ||||||||
| < < |
Update: for Ubuntu 8.04 (Hardy Heron) the hidd has been removed, so instead follow this guide to get the mouse and keyboard working:
| |||||||
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:input dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input org.bluez.input.Manager.CreateDevice string:KK:KK:KK:KK:KK:KK | ||||||||
| Line: 387 to 389 | ||||||||
| Then after a reboot, you only need to issue the following command, to get the keyboard to connect. | ||||||||
| Changed: | ||||||||
| < < |
Since the mouse connects happily all by itself, you could enable gdm auto-login, add this command to a script, then launch the script from a button (if you don't have any other keyboard which you can connect to the iMac, and don't have any other machine from which you ssh into the iMac to run this command). | |||||||
| > > |
Since the mouse connects happily all by itself after the above commands, one way to get the keyboard to connect would be to enable gdm auto-login, add the following command to a script, then launch the script from a button. | |||||||
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input/keyboard0 org.bluez.input.Device.Connect | ||||||||
| Changed: | ||||||||
| < < |
To enable gdm auto-login, just add your username to the [daemon] section of /etc/gdm/gdm.conf-custom configuration file. This is obviously insecure, as no password screen will be presented by gdm.
| |||||||
| > > |
To enable gdm auto-login, just add your username to the [daemon] section of /etc/gdm/gdm.conf-custom configuration file. This is obviously insecure, as no password screen will be presented by gdm, but then anyone can achieve a similar
result by inserting an Ubuntu live CD into the slot and rebooting the system.
| |||||||
[daemon] AutomaticLoginEnable=true AutomaticLogin=your_username | ||||||||
| Changed: | ||||||||
| < < |
I also tried this guide on Ubuntu 8.04 (Hardy Heron), but although it does allow the keyboard to be recognized after booting, the result on the iMac24 was that the keyboard tended to randomly miss or repeat keystrokes. The easiest way to test that the effect was occurring was to pause for a second, then quickly press the same key three times. The result was that often only one or two keystrokes would be seen, instead of all three. The symptom also seems to affect the mouse, making it "stagger" instead of moving smoothly. | |||||||
| > > |
I also tried using this guide on Ubuntu 8.04 (Hardy Heron), but although it does allow the keyboard to be recognized after booting, the result on the iMac24 was that (if the machine doesn't crash outright) the keyboard tended to randomly miss or repeat keystrokes. The easiest way to test that the effect was occurring was to pause for a second, then quickly press the same key three times. The result was that often only one or two keystrokes would be seen, instead of all three. The symptom also seems to affect the mouse, making it "stagger" instead of moving smoothly. | |||||||
| It might be useful to install the following package, which contains the bluetooth manager for the gnome desktop: | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 375 to 375 | ||||||||
|---|---|---|---|---|---|---|---|---|
| here and here. | ||||||||
| Added: | ||||||||
| > > |
Look in /var/lib/bluetooth/*/names for the bluetooth addresses.
| |||||||
Update: for Ubuntu 8.04 (Hardy Heron) the hidd has been removed, so instead follow this guide to get the mouse and keyboard working:
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:input | ||||||||
| Changed: | ||||||||
| < < |
dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input org.bluez.input.Manager.CreateDevice string:KK:KK:KK:KK:KK:KK dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input/keyboard0 org.bluez.input.Device.Connect dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input org.bluez.input.Manager.CreateDevice string:MM:MM:MM:MM:MM:MM dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input/pointing1 org.bluez.input.Device.Connect | |||||||
| > > |
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input org.bluez.input.Manager.CreateDevice string:KK:KK:KK:KK:KK:KK
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input/keyboard0 org.bluez.input.Device.Connect
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input org.bluez.input.Manager.CreateDevice string:MM:MM:MM:MM:MM:MM
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input/pointing1 org.bluez.input.Device.Connect
dbus-send --system --type=method_call --print-reply --dest=":1.10" /org/bluez/input/keyboard0 org.bluez.input.Device.Connect <verbatim> [daemon] AutomaticLoginEnable=true AutomaticLogin=your_username <nop> | |||||||
| Changed: | ||||||||
| < < |
This guide also seems to apply to Ubuntu 8.04 (Hardy Heron). | |||||||
| > > |
I also tried this guide on Ubuntu 8.04 (Hardy Heron), but although it does allow the keyboard to be recognized after booting, the result on the iMac24 was that the keyboard tended to randomly miss or repeat keystrokes. The easiest way to test that the effect was occurring was to pause for a second, then quickly press the same key three times. The result was that often only one or two keystrokes would be seen, instead of all three. The symptom also seems to affect the mouse, making it "stagger" instead of moving smoothly. | |||||||
| It might be useful to install the following package, which contains the bluetooth manager for the gnome desktop: | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 375 to 375 | ||||||||
|---|---|---|---|---|---|---|---|---|
| here and here. | ||||||||
| Changed: | ||||||||
| < < |
Update: for Ubuntu 8.04 the hidd has been removed, so instead follow this guide to get the mouse and keyboard working:
| |||||||
| > > |
Update: for Ubuntu 8.04 (Hardy Heron) the hidd has been removed, so instead follow this guide to get the mouse and keyboard working:
| |||||||
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:input dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input org.bluez.input.Manager.CreateDevice string:KK:KK:KK:KK:KK:KK | ||||||||
| Line: 384 to 384 | ||||||||
| dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input/pointing1 org.bluez.input.Device.Connect | ||||||||
| Added: | ||||||||
| > > |
This guide also seems to apply to Ubuntu 8.04 (Hardy Heron). | |||||||
|
It might be useful to install the following package, which contains the bluetooth manager for the gnome
desktop:
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 375 to 375 | ||||||||
|---|---|---|---|---|---|---|---|---|
| here and here. | ||||||||
| Added: | ||||||||
| > > |
Update: for Ubuntu 8.04 the hidd has been removed, so instead follow this guide to get the mouse and keyboard working:
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:input dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input org.bluez.input.Manager.CreateDevice string:KK:KK:KK:KK:KK:KK dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input/keyboard0 org.bluez.input.Device.Connect dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input org.bluez.input.Manager.CreateDevice string:MM:MM:MM:MM:MM:MM dbus-send --system --type=method_call --print-reply --dest=":1.11" /org/bluez/input/pointing1 org.bluez.input.Device.Connect | |||||||
|
It might be useful to install the following package, which contains the bluetooth manager for the gnome
desktop:
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 927 to 927 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Apparently the steps to get the iSight working for the iMac24 go something like this (I only tested these steps while running the iMac24 from the Ubuntu 8.04 Hardy Heron | ||||||||
| Changed: | ||||||||
| < < |
alpha3 Live CD, as 8.04 is not yet released): | |||||||
| > > |
alpha5 Live CD, as 8.04 is not yet released): | |||||||
wget http://ppa.launchpad.net/bersace/ubuntu/pool/main/i/isight-firmware-tools/isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.deb | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 911 to 911 | ||||||||
|---|---|---|---|---|---|---|---|---|
Update for Ubuntu 8.04 Hardy HeronFor the upcoming Ubuntu 8.04 Hardy Heron, see launchpad bug 185634 and gentoo bug 203675. There is a helpful guide | ||||||||
| Changed: | ||||||||
| < < |
here (that page unfortunately doesn't display in Firefox 3.0b3) written by Étienne Bersac to the iSight firmware tools he is maintaining (based on the work of Ronald S. Bultje). | |||||||
| > > |
here written by Étienne Bersac to the iSight firmware tools he
is maintaining (based on the work of Ronald S. Bultje).
In case you're curious as to why that page doesn't display in Firefox 3.0b3,
it's because the server it's hosted on is sending the wrong MIME Media Type,
i.e. it's sending Content-Type: text/html; charset=UTF-8 in the HTTP header instead of
Content-Type: application/xhtml+xml. More details are explained
here
and in mozilla bugs
305873,
419155,
399232 and
327796 -- thanks to Daniel Holbert for the list of bug numbers.
| |||||||
| Apparently the steps to get the iSight working for the iMac24 go something like this (I only tested these steps while running the iMac24 from the Ubuntu 8.04 Hardy Heron | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 1155 to 1155 | ||||||||
|---|---|---|---|---|---|---|---|---|
| See the Audio section above for info on configuring AC3 passthrough for digital optical output, if you have a receiver with a digital optical (TOSLink) input. | ||||||||
| Changed: | ||||||||
| < < |
Macromedia Flash | |||||||
| > > |
Adobe/Macromedia FlashUpdate: Most google and utube videos play back just fine now using Gnash (on Ubuntu Gutsy on AMD64) within Firefox, so there's no need to worry about installing any proprietary Flash player. | |||||||
| See here for info on nspluginwrapper and here and here for the story on playing back the google videos of penLUG presentations on amd64. | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 903 to 903 | ||||||||
|---|---|---|---|---|---|---|---|---|
See the attached dmesg output which shows the tracing from the uvcvideo module after rebooting (and also running the above command to start the video).
| ||||||||
| Added: | ||||||||
| > > |
If that doesn't work (bug in Gutsy Gibbon), try a lower resolution:
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=352,height=288 ! ffmpegcolorspace ! ximagesink | |||||||
Update for Ubuntu 8.04 Hardy HeronFor the upcoming Ubuntu 8.04 Hardy Heron, see launchpad bug 185634 and gentoo bug 203675. There is a helpful guide | ||||||||
| Line: 961 to 966 | ||||||||
This installs the module as /lib/modules/$(uname -r)/usb/media/uvcvideo.ko.
Now we need to load the firmware, before loading the uvcvideo module.
| ||||||||
| Changed: | ||||||||
| < < |
Run the command lsusb and search for the Bus and Device IDs. These may change
depending on what order the iSight device appears on the USB bus, e.g.:
| |||||||
| > > |
Run the command lsusb and search for the Bus and Device numbers.
(On Gutsy, you might need to use lsusb -d 05ac:8501, to search specifically for the ID 05ac:8501,
as the description listed by lsusb only includes the manufacturer, Apple Computer, Inc., and not
the device name Built-in iSight [Micron]).
The Bus and Device numbers may change depending on what order the iSight device appears on the USB bus, e.g.:
| |||||||
Bus 005 Device 008: ID 05ac:8501 Apple Computer, Inc. Built-in iSight [Micron] | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 915 to 915 | ||||||||
|---|---|---|---|---|---|---|---|---|
wget http://ppa.launchpad.net/bersace/ubuntu/pool/main/i/isight-firmware-tools/isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.deb | ||||||||
| Changed: | ||||||||
| < < |
dpkg -i isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.deb | |||||||
| > > |
sudo dpkg -i isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.deb | |||||||
<nop> | ||||||||
| Line: 951 to 951 | ||||||||
<nop> | ||||||||
| Added: | ||||||||
| > > |
sudo apt-get install subversion | |||||||
| svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk cd trunk make | ||||||||
| Changed: | ||||||||
| < < |
sudo rm /lib/modules/2.6.24-8-generic/ubuntu/media/usbvideo/uvcvideo.ko | |||||||
| > > |
sudo rm /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko | |||||||
sudo make install
This installs the module as /lib/modules/$(uname -r)/usb/media/uvcvideo.ko.
| ||||||||
| Line: 968 to 969 | ||||||||
Then mount the usbfs and load the firmware for the iSight using:
sudo mount -t usbfs /dev/bus/usb /proc/bus/usb/ | ||||||||
| Changed: | ||||||||
| < < |
/usr/lib/udev/ift-load -f /lib/firmware/isight.fw -b 005 -d 008 | |||||||
| > > |
sudo /usr/lib/udev/ift-load -f /lib/firmware/isight.fw -b 005 -d 008 | |||||||
<nop> | ||||||||
| Changed: | ||||||||
| < < |
ift-load: Firmware loaded succesfully to 005:004 | |||||||
| > > |
ift-load: Firmware loaded succesfully to 005:008 | |||||||
Note that the lsusb Device ID changes after the firmware loads, presumably because
the device needs to reset itself after loading the firmware, and has to re-register
| ||||||||
| Line: 980 to 981 | ||||||||
|
We should now be able to unload and load the uvcvideo using:
| ||||||||
| Changed: | ||||||||
| < < |
modprobe -r uvcvideo modprobe uvcvideo | |||||||
| > > |
sudo modprobe -r uvcvideo sudo modprobe uvcvideo | |||||||
| Added: | ||||||||
| > > |
The dmesg output shows:
[ 924.507213] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8501) [ 924.513439] uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26). [ 1014.917312] usbcore: deregistering interface driver uvcvideo [ 1019.455855] Linux video capture interface: v2.00 [ 1019.460522] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8501) [ 1019.463115] uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26). [ 1019.465041] usbcore: registered new interface driver uvcvideo [ 1019.465045] USB Video Class driver (SVN r189) | |||||||
Test it out as usual, using:
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 369 to 369 | ||||||||
|---|---|---|---|---|---|---|---|---|
select the ALSA 1.2.10 output plugin [libALSA.so] and click the Configure button,
and select HDA Intel: ALC882 Digital (hw:0,1) to have only the digital output enabled.
| ||||||||
| Changed: | ||||||||
| < < |
Wireless keyboard (Apple bluetooth) | |||||||
| > > |
Wireless keyboard (bluetooth) | |||||||
| The wireless keyboard and mouse combo works in Ubuntu 7.04, thanks to the Ubuntu documentation here and here and here as well as these pages: here and | ||||||||
| Line: 815 to 815 | ||||||||
Works fine at 100 baseT and gigabit speeds. Note that the Ethernet port is auto-sensing and self-configuring, so you do not need a hub (or a cross-over cable) to connect it directly to another computer.
Firewire and USB | ||||||||
| Changed: | ||||||||
| < < |
Work fine by default. | |||||||
| > > |
Connecting both external Firewire and USB devices works fine by default, tested with hard drives, a Canon FB630U USB scanner, a Kodak V1253 camera and with various USB flash memory devices.
The internal ATA hard drive can also be accessed using "Firewire Target Disk Mode" by holding down T when booting the iMac24, see here.
Target Disk Mode only connects to the master ATA drive on the Ultra ATA bus. Essentially, your iMac24 becomes an external Firewire disk drive, and you can hotplug it into any machine which
can access Firewire hard drives.
| |||||||
Virtualization SupportThe/proc/cpuinfo does show the lm (long mode, i.e.x86_64 support) and vmx flags (hardware virtualisation support,
| ||||||||
| Line: 1179 to 1183 | ||||||||
I wasn't able to locate the firmware file AppleUSBVideoSupport, mentioned earlier in the iSight section. Where does the Apple installer retrieve it from?
| ||||||||
| Added: | ||||||||
| > > |
Internal Hard DriveThe internal ATA hard drive can be accessed using "Firewire Target Disk Mode" by holding downT when booting the iMac24, see here.
Target Disk Mode only connects to the master ATA drive on the Ultra ATA bus. Essentially, your iMac24 becomes an external Firewire disk drive, and you can hotplug it into any machine which
can access Firewire hard drives.
| |||||||
| Back to LinuxHints - Everything GNU ever wanted to know about Linux -- PeterKnaggs - 30 Jun 2007 | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | |||||||||||||
| Line: 8 to 8 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| default 1GB (the upgrade to 3GB memory and the graphics card upgrade are only available "online"). The packing in which the machine is shipped is very well designed, making it convenient for occasionally moving the machine from one place to another. | |||||||||||||
| Changed: | |||||||||||||
| < < |
Apple's pre-installed operating system takes some getting used to, but once you've installed the X11 package (from the included Apple OSX software DVD), | ||||||||||||
| > > |
Apple's pre-installed operating system takes some getting used to, but once you've installed the X11 package (from the included Apple OSX software DVD), | ||||||||||||
enabled "focus-follows-mouse" by typing the following incantation into a Terminal window:
defaults write com.apple.x11 wm_ffm true | |||||||||||||
| Line: 25 to 25 | |||||||||||||
| diskutil list | |||||||||||||
| Added: | |||||||||||||
| > > |
An introduction to Open Firmware and the Apple boot loader can be found here, thanks to Amit Singh. | ||||||||||||
Update: Installing Ubuntu Gutsy Gibbon 7.10 on the Apple iMac24This time around, I partitioned the entire internal drive using the Ubuntu installer. I removed Max OSX completely, as I hadn't been using it while Ubuntu Feisty Fawn was on the machine. Now that Ubuntu is the only operating system on the machine, the system sounds a loud startup musical chord, then takes around 20 seconds (while the screen stays entirely lit in an eery whiteish blue) before it gets into grub. This is | |||||||||||||
| Changed: | |||||||||||||
| < < |
quite a lot longer than it used to take. | ||||||||||||
| > > |
quite a lot longer than it used to take. Pressing the D key (to tell the Open Firmware to boot from disk) seems to help speed things up.
| ||||||||||||
Bluetooth in GutsyThe bluetooth keyboard and mouse now work properly after a reboot, as compared to Ubuntu 7.04. To get them working, I clicked on the gnome Bluetooth Applet (right-click on the blue icon on the top panel, choose Preferences) and my keyboard and mouse now show up in the list | |||||||||||||
| Line: 810 to 812 | |||||||||||||
way to configure the wireless when a WEP key is needed.
Wired networking | |||||||||||||
| Changed: | |||||||||||||
| < < |
Works fine at 100 baseT, haven't tried at gigabit yet. | ||||||||||||
| > > |
Works fine at 100 baseT and gigabit speeds. Note that the Ethernet port is auto-sensing and self-configuring, so you do not need a hub (or a cross-over cable) to connect it directly to another computer. | ||||||||||||
Firewire and USBWork fine by default. | |||||||||||||
| Line: 843 to 845 | |||||||||||||
| It's apparently a high-speed USB device. I followed these forum threads to get it to work, and found the second thread the easiest to follow (as it's more recent), but the first thread is worth reading too: thread and | |||||||||||||
| Changed: | |||||||||||||
| < < |
thread. | ||||||||||||
| > > |
thread. There's also a more recent explanation on this gentoo page here. | ||||||||||||
| The driver used is the new all-in-one bundle, with firmware autoloader provided by Ivan N. Zlatev. Having the firmware as part of the download is convenient, so you don't need to have an OSX partition | |||||||||||||
| Line: 896 to 899 | |||||||||||||
See the attached dmesg output which shows the tracing from the uvcvideo module after rebooting (and also running the above command to start the video).
| |||||||||||||
| Changed: | |||||||||||||
| < < |
For Ubuntu Hardy Heron, see launchpad bug 185634. | ||||||||||||
| > > |
Update for Ubuntu 8.04 Hardy HeronFor the upcoming Ubuntu 8.04 Hardy Heron, see launchpad bug 185634 and gentoo bug 203675. There is a helpful guide here (that page unfortunately doesn't display in Firefox 3.0b3) written by Étienne Bersac to the iSight firmware tools he is maintaining (based on the work of Ronald S. Bultje). Apparently the steps to get the iSight working for the iMac24 go something like this (I only tested these steps while running the iMac24 from the Ubuntu 8.04 Hardy Heron alpha3 Live CD, as 8.04 is not yet released):wget http://ppa.launchpad.net/bersace/ubuntu/pool/main/i/isight-firmware-tools/isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.deb dpkg -i isight-firmware-tools_1.0.2-0ubuntu0~ppa1_amd64.debInstalling the above package prompts you as follows, and it's best to say No.
Ensure you have access to the AppleUSBVideoSupport driver file.
If not disable firmware extraction, you can retry it later.
Extract firmware from Apple driver ?
<Yes> <No>
It's because the installer expects to find the following file
/MacOSX/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contentents/MacOS/AppleUSBVideoSupport which is indeed the location of the firmware file,
but this location is not for Ubuntu. It is actually a variation of the location of the firmware
file on a proprietary operating system provided by Apple Corporation.
In case you don't want to waste time installing such an operating system, you can find the
firmware file inside this package, at the location against-revision-*/firmware/AppleUSBVideoSupport.
Use the firmware tools to extract the firmware from the AppleUSBVideoSupport file,
alter it by applying three patches and place the result in the file /lib/firmware/isight.fw, as follows.
wget http://files.i-nz.net/projects/linux-kernel/isight/uvcvideo-isight.tar.gz tar zxvf uvcvideo-isight.tar.gz cd against-revision-*/firmware sudo ift-extract --apple-driver AppleUSBVideoSupportThe resulting output from the ift-extract tool should be:
** Message: Found Mac OS X.4 intel driver ** Message: Firmware extracted successfully in /lib/firmware/isight.fw ** Message: Apply patch 0 : Fix video control interface descriptor ** Message: Apply patch 1 : Fix video streaming interface descriptor ** Message: Apply patch 2 : Fix video streaming device qualifier ** Message: Firmware patched successfullyNext, build the uvcvideo.ko module from the Linux UVC kernel driver sources:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk cd trunk make sudo rm /lib/modules/2.6.24-8-generic/ubuntu/media/usbvideo/uvcvideo.ko sudo make installThis installs the module as /lib/modules/$(uname -r)/usb/media/uvcvideo.ko.
Now we need to load the firmware, before loading the uvcvideo module.
Run the command lsusb and search for the Bus and Device IDs. These may change
depending on what order the iSight device appears on the USB bus, e.g.:
Bus 005 Device 008: ID 05ac:8501 Apple Computer, Inc. Built-in iSight [Micron]Then mount the usbfs and load the firmware for the iSight using: sudo mount -t usbfs /dev/bus/usb /proc/bus/usb/ /usr/lib/udev/ift-load -f /lib/firmware/isight.fw -b 005 -d 008This should give: ift-load: Firmware loaded succesfully to 005:004Note that the lsusb Device ID changes after the firmware loads, presumably because
the device needs to reset itself after loading the firmware, and has to re-register
with the USB bus.
We should now be able to unload and load the uvcvideo using:
modprobe -r uvcvideo modprobe uvcvideoTest it out as usual, using: gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink | ||||||||||||
Built-in MicrophoneThere is a built-in microphone over the top middle of the screen, to the left of the video camera. Recording from it works fine usingaudacity, once the alsa driver has been patched,
| |||||||||||||
| Line: 924 to 1010 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
Note: The message Warning: Open by 'devname' is unintentional and not supported. is output if you use /dev/scd0 as the
value of the dev argument to readcd, as we're supposed to pass in the device number (e.g. 0,0,0), based on the output
from cdrecord -scanbus shows for our device.
| ||||||||||||
sudo apt-get install cdrecord | |||||||||||||
| Changed: | |||||||||||||
| < < |
/usr/bin/readcd -v dev=/dev/scd0 f=./test.iso | ||||||||||||
| > > |
/usr/bin/readcd -v dev=0,0,0 f=./test.iso | ||||||||||||
| scsidev: '/dev/scd0' devname: '/dev/scd0' scsibus: -2 target: -2 lun: -2 | |||||||||||||
| Line: 945 to 1035 | |||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
/usr/bin/readcd -v dev=/dev/scd0 f=./test.iso | ||||||||||||
| > > |
/usr/bin/readcd -v dev=0,0,0 f=./test.iso | ||||||||||||
| scsidev: '/dev/scd0' devname: '/dev/scd0' scsibus: -2 target: -2 lun: -2 | |||||||||||||
| Line: 1050 to 1140 | |||||||||||||
| You can choose to set the scan resolution to 75, 150, 300 and as high as 600 dpi (of course it's quite slow to scan at the 600 dpi resolution). The default scan resolution is 75 dpi, and 300 dpi resolution gives a fairly quick scan. | |||||||||||||
| Added: | |||||||||||||
| > > |
Exploring the Mac OS X DVD ContentsI made a backup of the DVDs provided by Apple by inserting them and using the commands:/usr/bin/readcd -v dev=0,0,0 f=./Mac_OS_X_Install_Disc_1_image eject /dev/scd0 /usr/bin/readcd -v dev=0,0,0 f=./Mac_OS_X_Install_Disc_2_image eject /dev/scd0The resulting Mac OS X Install Disc 1 image was of size 5662343168 bytes and had an md5sum of 37e7a1e9432730ed04746654c44ef944. The resulting Mac OS X Install Disc 2 image was of size 8253407232 bytes and had an md5sum of 88be5bd6e2f230c8809e4667ee83ca3c. To explore their contents under Linux, the images can be mounted as follows, using the hfsplus filesystem driver.
sudo losetup /dev/loop0 ./Mac_OS_X_Install_Disc_1_image sudo mkdir /MacOSX1 sudo mount -t hfsplus /dev/loop0 /MacOSX1 sudo find /MacOSX1 -print > /tmp/Mac_OS_X_Install_Disc_1_image.list sudo umount /MacOSX1 sudo losetup -d /dev/loop0 rmdir /MacOSX1The commands to mount the second image are similar. sudo losetup /dev/loop1 ./Mac_OS_X_Install_Disc_2_image sudo mkdir /MacOSX2 sudo mount -t hfsplus /dev/loop1 /MacOSX2 sudo find /MacOSX2 -print > /tmp/Mac_OS_X_Install_Disc_2_image.list sudo umount /MacOSX2 sudo losetup -d /dev/loop1 rmdir /MacOSX2I wasn't able to locate the firmware file AppleUSBVideoSupport, mentioned earlier in the iSight section. Where does the Apple installer retrieve it from?
| ||||||||||||
| Back to LinuxHints - Everything GNU ever wanted to know about Linux -- PeterKnaggs - 30 Jun 2007 | |||||||||||||
| Line: 1072 to 1201 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
| |||||||||||||
| Line: 1082 to 1219 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 269 to 269 | ||||||||
|---|---|---|---|---|---|---|---|---|
sudo apt-get install libc6-dev cd $HOME | ||||||||
| Changed: | ||||||||
| < < |
curl -O ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2 | |||||||
| > > |
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2 | |||||||
| tar jxvf alsa-driver-1.0.14.tar.bz2 cd $HOME/alsa-driver-1.0.14/alsa-kernel/pci/hda | ||||||||
| Changed: | ||||||||
| < < |
curl -O http://www.penlug.org/twiki/pub/Main/LinuxHardwareInfoAppleiMac24/udiff-patch_realtek.txt | |||||||
| > > |
wget http://www.penlug.org/twiki/pub/Main/LinuxHardwareInfoAppleiMac24/udiff-patch_realtek.txt | |||||||
| patch < udiff-patch_realtek.txt cd $HOME/alsa-driver-1.0.14 | ||||||||
| Line: 822 to 822 | ||||||||
apt-get install libqt3-mt libxalan110 libxerces27 xalan | ||||||||
| Changed: | ||||||||
| < < |
curl -O http://www.virtualbox.org/download/1.4.0/virtualbox_1.4.0-21864_Ubuntu_feisty_amd64.deb | |||||||
| > > |
wget http://www.virtualbox.org/download/1.4.0/virtualbox_1.4.0-21864_Ubuntu_feisty_amd64.deb | |||||||
| sudo dpkg -i virtualbox_1.4.0-21864_Ubuntu_feisty_amd64.deb | ||||||||
| Line: 854 to 854 | ||||||||
| sudo apt-get install ekiga libpt-plugins-v4l2 sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse | ||||||||
| Changed: | ||||||||
| < < |
curl -O http://files.i-nz.net/projects/linux-kernel/isight/uvcvideo-isight.tar.gz | |||||||
| > > |
wget http://files.i-nz.net/projects/linux-kernel/isight/uvcvideo-isight.tar.gz | |||||||
| tar zxvf uvcvideo-isight.tar.gz cd against-revision-100 make | ||||||||
| Line: 896 to 896 | ||||||||
See the attached dmesg output which shows the tracing from the uvcvideo module after rebooting (and also running the above command to start the video).
| ||||||||
| Added: | ||||||||
| > > |
For Ubuntu Hardy Heron, see launchpad bug 185634. | |||||||
Built-in MicrophoneThere is a built-in microphone over the top middle of the screen, to the left of the video camera. Recording from it works fine usingaudacity, once the alsa driver has been patched,
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 924 to 924 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Added: | ||||||||
| > > |
sudo apt-get install cdrecord | |||||||
| /usr/bin/readcd -v dev=/dev/scd0 f=./test.iso scsidev: '/dev/scd0' devname: '/dev/scd0' | ||||||||
| Line: 993 to 994 | ||||||||
| sudo umount /dev/scd0 && eject /dev/scd0 | ||||||||
| Changed: | ||||||||
| < < |
There's no support for "tray close" command (eject -t), so this causes k3b some grief if you elect to verify the data you've burned,
because k3b ejects the media from the drive before attempting to read it back for verification.
| |||||||
| > > |
There's no support for "tray close" command (eject -t), so this causes k3b to pop up a dialogue box mentioning that it could not
re-load the media after it ejects the media, if you elect to verify the data you've burned. Once you re-load the media, k3b reads
it back for verification, you don't even need to click anything in the dialogue box.
| |||||||
We run into this bug when launching k3b and work around it using:
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 142 to 142 | ||||||||
|---|---|---|---|---|---|---|---|---|
| nvidia: module license 'NVIDIA' taints kernel. NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007 | ||||||||
| Added: | ||||||||
| > > |
Framebuffer in GutsyFor Ubuntu 7.10 (Gutsy Gibbon), the framebuffer is not properly configured to support VESA by the Ubuntu installer, so we need to do a few manual steps. Basically, just add the following two lines to the/etc/initramfs-tools/modules (the set of modules included in the initial ramdisk) configuration file.
fbcon vesafbThen run this command to rebuild the initial ramdisk: sudo update-initramfs -uAlso, edit /etc/modprobe.d/blacklist-framebuffer and comment out the line blacklisting vesafb so that it will actually be loaded into the kernel during boot:
#blacklist vesafbEdit /boot/grub/menu.lst and add the following line.
# defoptions=vga=0x346Run the following command to update the kernel boot line in the grub configuration file: sudo update-grubAfter reboot, you should now see the full boot messages, and have a nice high resolution console font to work with on your virtual terminals (Ctrl Alt F1 through Ctrl Alt F6, Ctrl Alt F7 is where xorg is running). The console is particularly good for reading manual pages. For more details on framebuffer support with uvesafb (which is a lot faster than vesafb) in the upcoming Ubuntu 8.04 (Hardy Heron), see here.
| |||||||
Jabber in GutsyThere's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. A workaround: If you enter your password in the "Password:" field of the "Basic" tab on the "Modify Account" dialog, and check the "Remember password" box, and save, then pidgin works OK with XMPP (Jabber). The password is stored in the pidgin~/.purple/accounts.xml configuration file.
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 14 to 14 | ||||||||
|---|---|---|---|---|---|---|---|---|
| defaults write com.apple.x11 wm_ffm true enabled the ssh server (find the checkbox somewhere under the System Preferences for Network), | ||||||||
| Changed: | ||||||||
| < < |
and installed your favorite open source applications using the convenient disk images from opensourcemac, you'll begin to feel a little more at home. But this page is mainly about using Ubuntu Feisty Fawn on the iMac. | |||||||
| > > |
and installed your favorite Free Software applications using the convenient disk images from here, you'll begin to feel a little more at home. But if you're here, you already know there's no substitute for Free Software, so this page is about using Ubuntu (a GNU/Linux distribution of Free Software) on the iMac. | |||||||
|
To display the partitions on your hard drive, the Apple OSX command to use is as follows:
| ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 994 to 994 | ||||||||
|---|---|---|---|---|---|---|---|---|
have a receiver with a digital optical (TOSLink) input.
Macromedia Flash | ||||||||
| Changed: | ||||||||
| < < |
See here and here | |||||||
| > > |
See here for info on nspluginwrapper and here and here | |||||||
for the story on playing back the google videos of penLUG presentations on amd64.
USB Scanner | ||||||||
Apple iMac24 | ||||||||
| Changed: | ||||||||
| < < |
This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | |||||||
| > > |
This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | |||||||
| It seems to be a good hardware design if you're looking for a very quiet (the various fans are hard to hear), fairly portable (lightweight) desktop machine with a good screen, and have no interest in upgrading the curious-looking hardware. The only upgrade available in the Apple retail stores is to have 2GB memory installed instead of the | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 113 to 113 | ||||||||
|---|---|---|---|---|---|---|---|---|
Audacity Export as mp3 in GutsyYou may be wondering where the option to export a project as an mp3 file has gone to now in Gutsy: you need to click on the "Browse for other folders" and click on the "WAV, AIFF, and other uncompressed types" to find the "MP3 Files" option. Then the "Options..." button will show the usual mp3 export options, and clicking the Save button will save the project as an mp3.Graphics in Gutsy | ||||||||
| Changed: | ||||||||
| < < |
After enabling the restricted drivers for the Nvidia card, you'll notice that the new Compiz Fusion is enabled by default. It's remarkably stable, compared to Compiz in Feisty. Remember to install the settings manager: | |||||||
| > > |
After enabling the restricted drivers for the Nvidia card, you'll notice that the new Compiz Fusion is enabled by default. It's remarkably stable, compared to Compiz in Feisty, although it interferes with xvmc video
playback, so you may prefer to disable it by adding the following line to $HOME/.gnomerc to select the (previously default) metacity window manager. It's somewhat surprising that there isn't a menu option to switch back to the metacity window
manager (as there was in Beryl):
export WINDOW_MANAGER=metacityRemember to install the settings manager: | |||||||
sudo apt-get install compizconfig-settings-manager | ||||||||
| Line: 137 to 144 | ||||||||
There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine.
xterm in Gutsy | ||||||||
| Changed: | ||||||||
| < < |
There seems to be a bug in xterm in Gutsy, if you have
| |||||||
| > > |
There seems to be a bug in libXt when running xterm in Gutsy when compiz-fusion is enabled. If you have
| |||||||
*saveLines: 100000 *scrollBar: true | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 136 to 136 | ||||||||
|---|---|---|---|---|---|---|---|---|
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. A workaround: If you enter your password in the "Password:" field of the "Basic" tab on the "Modify Account" dialog, and check the "Remember password" box, and save, then pidgin works OK with XMPP (Jabber). The password is stored in the pidgin ~/.purple/accounts.xml configuration file.
There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine.
| ||||||||
| Added: | ||||||||
| > > |
xterm in GutsyThere seems to be a bug inxterm in Gutsy, if you have
*saveLines: 100000 *scrollBar: truein your $HOME/XTerm file, xterm occasionally segfaults. A workaround (which still keeps the savelines) is to remove the scrollBar entry.
| |||||||
How I Didn't Install UbuntuI didn't have any success (thus far) in trying to boot Ubuntu from an external firewire or USB drive (using elilo and rEFIt), but I did learn that | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 133 to 133 | ||||||||
|---|---|---|---|---|---|---|---|---|
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007
Jabber in Gutsy | ||||||||
| Changed: | ||||||||
| < < |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine. | |||||||
| > > |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. A workaround: If you enter your password in the "Password:" field of the "Basic" tab on the "Modify Account" dialog, and check the "Remember password" box, and save, then pidgin works OK with XMPP (Jabber). The password is stored in the pidgin ~/.purple/accounts.xml configuration file.
There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine.
| |||||||
How I Didn't Install UbuntuI didn't have any success (thus far) in trying to boot Ubuntu from an external firewire or USB drive (using elilo and rEFIt), but I did learn that | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 979 to 979 | ||||||||
|---|---|---|---|---|---|---|---|---|
have a receiver with a digital optical (TOSLink) input.
Macromedia Flash | ||||||||
| Changed: | ||||||||
| < < |
See here for the story on playing back the google videos of penLUG presentations on amd64. | |||||||
| > > |
See here and here for the story on playing back the google videos of penLUG presentations on amd64. | |||||||
USB ScannerA little off-topic perhaps, but the little old Canon Canoscan FB630U USB scanner now works fine now in | ||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||||
| Line: 1009 to 1009 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
| ||||||||||
| Line: 1018 to 1020 | ||||||||||
| ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
Apple iMac24This page is about running Ubuntu on the Apple iMac24 MA456LL (released in September 2006), from the point of view of a Linux user. | ||||||||
| Line: 133 to 133 | ||||||||
|---|---|---|---|---|---|---|---|---|
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007
Jabber in Gutsy | ||||||||
| Changed: | ||||||||
| < < |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. | |||||||
| > > |
There's a bug in pidgin that prevents XMPP protocol (Jabber) connections from being able to log in. There's also a bug in kopete which prevents outbound conversations from being established, although inbound conversations work fine. | |||||||
How I Didn't Install UbuntuI didn't have any success (thus far) in trying to boot Ubuntu from an external firewire or USB drive (using elilo and | ||||||||