Steven Rubenstein wrote: > Well, it definitely helps, but I also tried to install those RPMS, and > the driver rpm told me I needed the kernel rpm, and the kernel rpm > told me I needed the driver rpm, so I gave up on that and went back to > the source code?... Comments? > > SJR > > > Damien Covey wrote: > >> Steven Rubenstein wrote: >> >>> I was using 0.9.0rc3 with Red Hat 7.3 with no problem, but 0.9.0rc3 >>> won't compile on Red Hat 8.0. Anyone else had this problem? I can >>> include as much of stdout/stderr from "make" as anyone would like to >>> see. >>> >>> Thanks, >>> >>> SJR >> >> > >> I have alsa 0.9rc3 running on Redhat 8.0, although I didn't compile >> from source. Using the RPM's provided at freshrpms.org was straight >> forward easy. Had to manually configure the /etc/modules.conf , but >> that wasnt too hard. >> >> This wont help with any compile problems, but then you dont have to >> compile the rpms. Hope this helps. > > >
From http://freshrpms.net/docs/alsa/ This should tell you everything you need to know. It worked for me. I have one tip for after you get alsa working. To save volume settings use "/usr/sbin/alsactl store" which writes your volume settings to /etc/asound.state, make sure the volumes are set how you want them using "alsamixer". You can reload this on startup in your scripts, maybe /etc/rc.d/rc.local using the command "/usr/sbin/alsactl restore" which will read the /etc/asound.state file. You could even create different volume settings for different users and reload them in the "~/.bash_profile". This page describes the few steps needed to install and use ALSA (the Advanced Linux Sound Architecture) with Red Hat Linux. As it is not included by default, and since it contains some kernel modules and device entries, installing, upgrading and removing ALSA cleany hasn't always been trivial. Note about the kernel drivers : You need to install both "alsa-driver" and "alsa-kernel" packages at the same time since they both depend on each other. You will need an "alsa-kernel" package that was compiled for your kernel (same version and architecture). You can easily recognize a matching "alsa-kernel" package from its name, e.g. "alsa-kernel-smp-0.9.0rc3-fr10_2.4.18_14.athlon.rpm" will work for the SMP 2.4.18-14 athlon kernel. If you do not find a matching package, recompile the source "alsa-driver" rpm while running the kernel you intend to use ALSA with and having the corresponding "kernel-source" package installed. Once this is done, simply install the resulting "alsa-kernel" binary rpm. Install instructions : dot Install both "alsa-driver" and "alsa-kernel" packages (see above). dotInstall "alsa-lib" package and eventually "alsa-lib-devel" if you intend to recompile some applications that can support ALSA natively. dot Install "alsa-utils" which contains useful tools like the "alsamixer". dot Edit your /etc/modules.conf file accordingly to the instructions found on The ALSA Soundcard Matrix <http://www.alsa-project.org/alsa-doc/> for your sound card/chip. dotRemove your current sound module (if any, and closing all applications accessing sound before, including "esd" or "arts"), e.g. "modprobe -r maestro3". dotInsert the new ALSA modules, e.g. "modprobe snd-maestro3; modprobe snd-pcm-oss; modprobe snd-mixer-oss; modprobe snd-seq-oss", there should be no output (see the "Install" section about your sound card/chip in The ALSA Soundcard Matrix <http://www.alsa-project.org/alsa-doc/> for your exact module names). dot Run "alsamixer" or the regular "aumix" to unmute the devices and set the desired volume. Everything should then be configured properly to have you use ALSA natively and also through it's OSS compatibility layer! Normally, all existing applications should still work with no modifications, they just won't take advantage of the nice features ALSA has to offer. The default Red Hat Linux esound daemon works fine with ALSA. Testing suggestions : dot Install "alsa-xmms" and select it as XMMS's output plugin. dot Install an ALSA enabled version of Ogle and play a DVD. dot Install an ALSA enabled version of Xine and run "xine -A alsa09". dot Install an ALSA enabled version of MPlayer and run "gmplayer -ao alsa9". If you have any corrections or suggestions about improvements to this document, please contact me. For general information about ALSA, and the benefits you can have from using it, please refer to the ALSA Project <http://www.alsa-project.org/> website. Contact : Matthias Saou <mailto:matthias.saou--at--est.une.marmotte.net>