i've been using alsa for a while now, since around 0.90 i think, and i've continued to use it since then, as i think it is pretty good. the installation is a pain in the ass as many have said, but that's half the fun. before i go onto my problem, the documentation for my card (sound blaster live) was straightforward. only took some pissing about with volume controls and audio players (about 5) to get it to work. this installation has never improved. the install scripts are good but there needs to be some kind of *working and thoroughly tested* setup checking/testing script (the recent one that trys to do modules.conf didn't work for me), instead of flying you up 90% of the mountain to leave you with a plate full of carrots to help you climb the rest.
ok, now down to the problem. my sound works perfectly - no problemo, BUT everytime i use mpg321 to play an mp3, i get this error: Warning, unrecognized mpg123 output:"ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Permission denied" there is a symlink from mpg123 to mp321. now this happens on every version of alsa i have ever tried, which is the whole 0.9* series and 1.0.* series. xmms says it's using OSS driver 1.2.10 (libOSS.so) and outputs no error. when you change it to use the alsa driver (libALSA.so) it ouputs: ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Permission denied ** WARNING **: alsa_setup(): Failed to open pcm device (default): Permission denied and refuses to play. mpg321 outputs the error as mentioned above but plays the song perfectly. aplay does something similar to xmms refuses to play and this error is outputted: ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Permission denied aplay: main:502: audio open error: Permission denied mplayer says it's using oss. i did install mpg123 at one point to try that, but it came up with a different error and played the song. ok, the initial thought is it's a permissions problem with /dev/snd/pcmC0D0p. giving full access ( chmod 777 ) produces scratchy sound, in fact, damn awful sound. with any permissions, root has that same god awful sound because it can override the file. i've deleted/moved the file - this just stops playback. so really, what i want to know is : what the hell is /dev/snd/pcmC0D0p ? pcm ? meaning my pcm volume? but i can play sound and alter the pcm volume in alsamixer. could it be that i've just been using the old OSS drivers (they aren't enabled in the kernel and i haven't installed them or called the modules), using the pcm device for OSS instead of the alsa one (pcmC0D0p ?), loving the sound of OSS thinking it was alsa ? i have googled, asked, read everything to find anything about this problem, but i can't find anything. if i was an alsa developer with 10 years programming experience and a phD, i could probably figure this out, but i'm not. Info is as follows: Slackware-current kernel 2.4.23 i386 sound part of lsmod outputs: Module Size Used by Tainted: PF snd-pcm-oss 38980 1 snd-mixer-oss 13328 0 [snd-pcm-oss] snd-emu10k1 74852 1 snd-pcm 61604 0 [snd-pcm-oss snd-emu10k1] snd-timer 14852 0 [snd-pcm] snd-util-mem 1392 0 [snd-emu10k1] snd-hwdep 5312 0 [snd-emu10k1] snd-rawmidi 14048 0 [snd-emu10k1] snd-ac97-codec 47468 0 [snd-emu10k1] snd-seq-device 4400 0 [snd-emu10k1 snd-rawmidi] snd 31844 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-hwdep snd-rawmidi snd-ac97-codec snd-seq-device] soundcore 3844 6 [snd] snd-page-alloc 6516 0 [snd-emu10k1 snd-pcm] sound card : Creative Soundblaster Live! if i get an answer from this list which tells me exactly what is going on, i will be damn surprised. Adam ___________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user