[alsa-devel] snd-powermac
Risto Suominen
risto.suominen at gmail.com
Sat Mar 29 16:05:53 CET 2008
I'm about to send the following to alsa-user mailing list:
I've been trying to fix ALSA support for older PowerMacs. Anyone
experiencing problems - like missing or inoperative or wrongly
directed controls in alsamixer - could you, please, test my patch and
write the results into this list or directly to me?
If you are still with me, check first with lsmod that you are using
snd-powermac:
$ lsmod | grep ^snd.powermac
snd_powermac 56576 0
$
Then you will need to install make, C-compiler and kernel headers
corresponding to your running kernel, f.ex (Ubuntu Dapper 6.06.1):
$ sudo aptitude install make gcc linux-headers-2.6.15-26-powerpc
and fetch the ALSA driver source code and my patch:
$ wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.16.tar.bz2
$ wget http://ristosu.wippiespace.com/pub/alsa-driver-1.0.16-p4.diff
Unpack the source and apply the patch:
$ tar xjf alsa-driver-1.0.16.tar.bz2
$ cd alsa-driver-1.0.16
$ patch -p0 < ../alsa-driver-1.0.16-p4.diff
Finally configure:
$ ./configure --disable-verbose-printk
--with-kernel=/usr/src/linux-headers-2.6.15-26-powerpc
--with-build=/usr/src/linux-headers-2.6.15-26-powerpc
--with-moddir=/lib/modules/2.6.15-26-powerpc/updates/sound
--with-isapnp=no --with-oss=yes --with-pcm-oss-plugins=yes
--with-cards=powermac
make and install:
$ make
$ sudo make install-modules
To load the new modules without rebooting:
$ sudo modprobe -r snd-powermac
$ sudo modprobe -r snd-pcm-oss
$ sudo modprobe snd-powermac
Risto
More information about the Alsa-devel
mailing list