After many an hour of struggling, I have restored sound on my Macbook Pro 5,2 running karmic beta running 2.6.31-14-generic on a 64-bit system (which I lost on upgrading from Jaunty to Karmic beta). The following may be helpful.
Code:
~# sudo uname -a
Linux kronos 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
The key thing I did, apart from following a modification of the instructions found at
https://help.ubuntu.com/community/Ma.../Karmic/#Sound
(the part about removing pulseaudio) and
http://ubuntuforums.org/showpost.php?p=7979472&postcount=171
was to modify /etc/modprobe.d/alsa-base.conf by commenting out the line with snd-hda-intel and adding a new line with a different options, so
Code:
~# tail -2 /etc/modprobe.d/alsa-base.conf
# options snd-hda-intel power_save=10 power_save_controller=N
options snd-hda-intel model=mb5
I experimented with several versions of alsa but 1.0.21 worked, so I ran this scrip (seen in many posts with minor variations, one of the the link above):
Code:
sudo rm -rf /lib/modules/`uname -r`/kernel/sound
sudo aptitude reinstall linux-headers-`uname -r` linux-image-`uname -r`
sudo wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.21.tar.bz2
tar jxf alsa-driver-1.0.21.tar.bz2
cd alsa-driver-1.0.21
sudo ./configure --enable-dynamic-minors --without-oss --with-cards="hda-intel"
sudo make
sudo make install
After this, I reloaded alsa using
unmuted all channels using gnome-alsa-mixer after which I logged out, logged in. At this point, I had sound, although not using applications that typically rely on pulseaudio.
Next, I re-installed pulseaudio and, after some experimenting, discovered that in Sound Preferences, I needed to choose under Hardware the profile "Analog Stereo Duplex" to both hear sound. But now it works!
Bookmarks