[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

snd-powermac patch

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
$ 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-isapnp=no --with-oss=yes --with-pcm-oss-plugins=yes

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


Reply to: