On Sun, 2003-03-23 at 05:49, Eirik Amundsen wrote: > What I would higly appreciate: > A detailed description of EXCACTLY what I will have to do to enable > sound on my system using the ALSA drivers.
Hi Eirik, I appreciate your confusion - it took me many months of experimentation (which often resulted in a completely non-working system!) before I began to feel comfortable with Linux, and I still suspect I've barely scratched the surface. To further compound things, I can't get anything past alsa 0.9.0rc6 to work on RH 8.1 (Phoebe), but you may be alright with the latest version on plain RH 8. Here is what I suggest: download the alsa-driver package from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.2.tar.bz2 download the alsa-lib package from: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-0.9.2.tar.bz2 download the alsa-utils package from: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-0.9.2.tar.bz2 Open a terminal window and cd into the directory you downloaded these files. Extract the contents by typing: tar -xjvf alsa-driver-0.9.2.tar.bz2, repeating for each package. You will now have three directories - alsa-driver-0.9.2, alsa-lib-0.9.2 and alsa-utils-0.9.2 in your download directory. Starting with the driver package: cd into the directory (i.e. cd alsa-driver-0.9.2) run the following commands: ./configure --with-cards=emu10k1 make su (after typing this, you will be prompted for the root password) make install You may encounter an error after one of the steps, if so, post it and people will try to help. After the make install step finishes, type exit (this will remove your root privileges). In case this step doesn't make sense, it is always recommended that you don't use root as your regular account, instead create a normal user account and then temporarily assume root privileges by using the su (superuser) command. You'll notice the difference in the terminal window as the normal user prompt is a $, while the su prompt is a #. Make sure you do the ./configure and make steps as a regular user, only su'ing for the make install. Next, do the same steps for both the alsa-lib-0.9.2 and alsa-utils-0.9.2 in that order. For these two, you only need to do ./configure (i.e. without the --with-cards=emu10k1, which was telling the alsa-driver package to only compile the drivers for your Audigy card). Now, if everything compiled and installed fine, return to the alsa-driver-0.9.2 directory. Type su, enter the root password and type: ./snddevices This creates some necessary links. Next, while still root, type: /sbin/modprobe snd-emu10k1 This should load the sound module. You may get a few unresolved symbols errors here, that is the case for me when I use the latest alsa drivers. If so, try the process again, but download the 0.9.0rc6 version instead (same ftp, just replace 0.9.2 with 0.9.0rc6). Finally, you have to turn up the volume in the mixer as alsa mutes everything by default, so, as a regular user type: alsamixer and adjust the output settings. You should now have sound! Two more things still, though: to make sure this module is loaded at startup, you need to modify the /etc/modules.conf file. As root (otherwise it will be read-only), edit the file using whatever editor you are comfortable with (i.e. emacs, gedit) and comment out or delete any sound lines that are there already from the RH install process (the # character denotes a comment). Then add: # ALSA native device support alias char-major-116 snd alias snd-card-0 snd-emu10k1 # OSS/Free setup alias char-major-14 soundcore alias sound-slot-0 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-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-os Save and exit. This is probably more than is strictly necessary, and I'm not exactly sure what it all does, but it seems to work! Now, when you restart it should load the alsa sound modules automatically. But, it is likely that the volumes will be muted again, so to fix that, type the following (as a regular user, after you have the volumes set the way you want): /usr/sbin/alsactl store This will save those values. Now, you have to tell redhat to load those values on startup, so edit the file /etc/rc.d/rc.local (as root), and add the following line: /usr/sbin/alsactl restore That should do it. Now, I must add that this is probably not the official, correct or even most efficient way to accomplish this, it is merely the way I have figured out, and it works for me. Others may critique at will! Let me know how it goes. Regards, Scott ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user