I just installed alsa-driver-0.5.12a, alsa-lib-0.5.10b, and
alsa-utils-0.5.10 on a kernel 2.4.16 system.  No devfs.

1) To compile alsamixer, I needed to make the following change to the
generated makefile to get rid of link errors:

--- alsamixer/Makefile.old        Wed Dec 12 22:47:52 2001
+++ alsamixer/Makefile    Wed Dec 12 21:28:32 2001
@@ -61,7 +61,7 @@
 ALSA_LIBS =  -lasound
 CC = gcc
 CURSESINC = 
-CURSESLIB = 
+CURSESLIB = -lncurses
 LEX = flex
 LN_S = ln -s
 MAKEINFO = makeinfo

Why didn't configure add -lncurses to the Makefile?


2) My /proc/asound doesn't include a dev directory!  Why not?
Therefore, in snddevices I needed to change STATIC from 0 to 1
to get it to create the actual device nodes (rather than just
symlinking to /proc/asound/dev) and re-run snddevices.


Now alsamixer works, but aplay still dies with ENOENT.


3) aplay is looking for /dev/snd/pcmC0D0p, but none was created
by snddevices.  So, just for the heck of it, I tried symlinking
it to the existing /dev/snd/pcmC0D0 and, guess what?  It worked!

    ln -s pcmC0D0 pcmC0D0p

Is this bad?  I have no idea what this will do for my alsa install,
but it seems to make aplay and xmms work.

So, what's going on??  If it wasn't for strace, I probably couldn't
have gotten ALSA working at all.

    - Scott






_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to