Re: Audio


Subject: Re: Audio
frazz@lump.mine.nu
Date: Mon Feb 04 2002 - 09:41:32 MST


I have a question, have you been able to run XMMS under ALSA, and if so
what plugin are you using for XMMS? TIA.

        -Frazz

On Sat, 2 Feb 2002, Avinash Gupta wrote:

> Here is what I had to do to get ALSA running on my machine:
> YDL stock 2.4.10 kernel (SMP), XF86 4.1, G4 sawtooth w/AGP ATI Rage 128,
> Apple Studio Display 17" (using Apple Display Connector).
>
> 1. Download alsa-driver-0.9.0beta10.tar.bz2 from:
> ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.0beta10.tar.bz2
> 2. bzip2 -d alsa-driver-0.9.0beta10.tar.bz2
> 3. tar xvf alsa-driver-0.9.0beta10.tar
> 4. su -
> 5. modprobe soundcore
> 6. cp -R /lib/modules/2.4.10-12a/misc /tmp {for backup}
> 6. exit
> 7. cd alsa-driver-0.9.0beta10/cards/ppc
> 8. vi awacs.c
> 9. {Delete line 63 that says "#ifdef CONFIG_PMAC_PBOOK"}
> 10. {Delete line 76 that says "#endif"}
> 11. Save the file and quit
> 12. cd ../..
> 13. ./configure --with-cards=pmac
> 14. make
> 15. su -
> 15. make install
> 16. modprobe snd-card-pmac
>
> If all the above work, congratulations! All you need to do is add the
> following line to /etc/modules.conf (Comment out existing alias sound
> lines.).
>
> # ALSA portion
> alias char-major-116 snd
> options snd snd_major=116 snd_cards_limit=1
>
> alias snd-card-0 snd-card-pmac
>
> options snd-card-pmac snd_index=0
>
> # OSS/Free portion
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-slot-1 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-1-0 snd-mixer-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
>
> Reboot ... you should get no errors in loading the sound module and sound
> should work fine in KDE.
>
> If anything goes wrong, you can replace your old /lib/modules/2.4.10-12a/misc
> directory with the one from /tmp and you should be OK).
>
> DISCLAIMER: I have ONLY tested this on my machine with the stock YDL kernel.
> Your mileage may vary depending on your machine and kernel.
>
> -- Avinash Gupta (agupta@mediaone.net)
>
> On Thursday 31 January 2002 10:51, you wrote:
> > On Thu 31 Jan 2002, Avinash Gupta wrote:
> > > Sound works fine for me after using the ALSA beta drivers. I have
> > > mentioned this a few times on the list, but seems like no one else has
> > > been able to get sound to work the way I suggested. Well ... guess what?
> > > It works great for me ... Take a look at my earlier post:
> > >
> > > http://lists.yellowdoglinux.com/yellowdog-general/January02/0315.html
> >
> > I *want* to try the ALSA drivers, but their installation instructions
> > are kind of expert-ish. (they're like, "compile the drivers, load
> > the approriate one, then go." Uh, OK.)
> >
> > Is there a dumbed-down HOWTO for ALSA out there?
> >
> > Andy
> >
> > ---------------------------------------------------------
> > Andy Hocker office: CDF trailer 168-O
> > University of Rochester phone: (630)-840-8622
> > Fermilab/CDF - M.S. 318 fax: (630)-840-2968
> > PO Box 500 e: hocker@fnal.gov
> > Batavia, IL 60510 hey ho: let's go
> > ---------------------------------------------------------
>



This archive was generated by hypermail 2a24 : Mon Feb 04 2002 - 09:58:24 MST