Re: Audio


Subject: Re: Audio
From: Ren Bourion (rene.bourion@wanadoo.fr)
Date: Tue Feb 05 2002 - 09:50:35 MST


le 02/02/02 15:44, Avinash Gupta à agupta@mediaone.net a écrit :

> 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).
>
Thanks, Avinash, for this much refined "howto". I was one of those who tried
to follow your earlier suggestions, but not with any success. Now I have
applied this new procedure, and everything works as you said. The sound in
KDE works, and I am able to play a CD with the KDE player.

This is on an iMac with the stock YDL 2.1 software.

There remains a small question for me: the sound level is rather low. It is
perhaps sufficient for the system sounds, but not for the CD, although the
controls in the player and the mixer are set to 100 percent.

Has anyone an idea of what could be done to improve the sound level?

R.B.



This archive was generated by hypermail 2a24 : Tue Feb 05 2002 - 10:07:50 MST