At line 200 of aplay.c (1.0.0pre3)
                if ((err = snd_ctl_open(&handle, name, 0)) < 0) {
                        error("control open (%i): %s", card, snd_strerror(err));
                        continue;
                }
if this error occurs, 'card' is never updated, the while loop becomes infinite.
because this bit from the end of the while loop is missed by the continue:

                        if (snd_card_next(&card) < 0) {
                            error("snd_card_next");
                            break;
                        }

I see this problem because when I load alsa drivers, I don't get the correct
permissions on files in /dev (I think).

Just found that the specific problem is that directory /dev/snd has permissions 
drw-rw----, should be drwxrwx--x

Can anybody help me about where this is configured?
I have options snd device_mode=0660 in my modules.conf which seems right for the
actual device files inside /dev/snd - is this wrong...?

thanks


Eliot Blennerhassett
AudioScience Inc.
--
Junk footer beyond this point. Read at your own risk.


-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to