Sie befinden sich hier: start » ubuntu-linux_auf_einem_imac_24
ubuntu-Linux auf einem neuen iMac (Soundproblem beheben)
Meine Hardware
Meinen 24“ iMac (2,9 Ghz, 1 TB Harddrive, 4GB RAM, Alu-Body) habe ich mir im August 2009 gekauft. Er ist mit rEFIt als Dualboot-Maschine (Mac OS X Snow Leopard - ubuntu 9.10) eingerichtet.
Ich arbeite allerdings fast ausschließlich unter Linux - unter Mac OS so gut wie gar nicht (irgendwie werd ich damit nicht warm).
Der Rechner mit Intel-Chipsatz ist so neu, dass den - sehr guten (!) - internen Lautsprechern unter Linux kein Sound zu entlocken war. Dieses Problem ist jetzt gelöst.
Nachdem ich mir - wie viele andere - im Internet einen Wolf gesucht habe, dachte ich, ich stell die Lösung hier mal allen Suchenden zur Verfügung
.
Unter ubuntu kann man das eigene Mac-Modell ganz einfach mit folgendem Befehl herausfinden:
sudo dmidecode | grep Product
Bei mir ergibt dieser Befehl folgende Ausgabe:
Product Name: iMac9,1
Product Name: Mac-F2218FA9
Ein
lspci
meines iMacs gibt bei mir unter ubuntu folgendes aus:
00:00.0 Host bridge: nVidia Corporation MCP79 Host Bridge (rev b1)
00:00.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.0 ISA bridge: nVidia Corporation MCP79 LPC Bridge (rev b2)
00:03.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.2 SMBus: nVidia Corporation MCP79 SMBus (rev b1)
00:03.3 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.4 RAM memory: nVidia Corporation Device 0a98 (rev b1)
00:03.5 Co-processor: nVidia Corporation MCP79 Co-processor (rev b1)
00:04.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:04.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:06.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:06.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
00:09.0 PCI bridge: nVidia Corporation MCP79 PCI Bridge (rev b1)
00:0a.0 Ethernet controller: nVidia Corporation MCP79 Ethernet (rev b1)
00:0b.0 IDE interface: nVidia Corporation MCP79 SATA Controller (rev b1)
00:0c.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:15.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:16.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
02:00.0 VGA compatible controller: nVidia Corporation Device 062e (rev a1)
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
04:00.0 FireWire (IEEE 1394): Agere Systems FW643 PCI Express1394b Controller (PHY/Link) (rev 07)
Installation
Bei der Installation habe ich zuerst Mac OS neu installiert, dazu nach dem Booten von der Mac-OS-CD „Anpassen“ ausgewählt und mit dem Festplattendienstprogramm die Festplatte neu partitioniert: 200 GB für MAc, 800 GB für Linux. Danach habe ich rEFIt nach Anleitung installiert, dabei auch die Dokumentation von ubuntuusers.de zurückgegriffen, die ich hier ja nicht im Detail wiederholen muss.
Problem
Die Hardware des iMAc wird von ubuntu Jaunty und auch Karmic „out of the box“ gut erkannt. Lediglich der Sound lässt sich zunächst nicht aktivieren. Aber auch dieses Problem ist jetzt gelöst.
Zunächst hatte ich kleine zusätzliche Lautsprecher in die Buchse für den Kopfhörerausgang gesteckt. Hier funktionierte der Sound. Allerdings blieben die guten (!) internen Lautsprecher stumm.
Die Lösung
Mein iMac scheint die gleiche Hardware zu verwenden wie ein Macbook der 5. Generation. Wir machen also folgendes:
- Wir öffnen mit Root-Rechten die Datei:
/etc/modprobe.d/alsa-base.conf
- Wir fügen folgende Zeile am Ende der Datei ein:
options snd_hda_intel model=mb5
- alsa neu starten oder rebooten
- Fertig
Bei mir sieht die alsa-base.conf am Ende so aus, der relevante Teil ist hervorgehoben:
Dank
Dank an Stromi — Ulrich Berens 29.11.2009 17:09
Zuletzt angesehen: » ubuntu-linux_auf_einem_imac_24


