On 21-Jul-02, Jayson Wallace wrote:

> cat caruso.au > /dev/snd/pcmC0D0p
> cat: write error: File descriptor in bad state

Not sure about this one... although I'm sure someone has asked about it
before.  A search for "file descriptor in bad state" in the archives
might well get something useful. :/

What happens if you just use "aplay" from the alsa-utils ditribution?
(You have installed alsa-lib and -utils, right?  They won't affect this
 exact problem, but they're very handy for everything else...)

> cat caruso.au > /dev/snd/pcmC0D0c
> cat: write error: Invalid argument

pcmC0D0c is a capture device, so writing to it isn't terribly useful, I
imagine - hence the error.

> Another question I have is about KDE. When it starts up it look for a
> device called /dev/dsp for the sound stuff. Do I need to create a link
> in to /dev/snd or is there a config file where I can tell it to look
> for /dev/snd instead?

First off, try running the "snddevices" script from the alsa-driver
package.  After that, you'll probably have permissions problems with the
/dev/snd devices, since they're really just pointers to /proc/asound/dev
(which can't be chmod'ed).  Your best plan for that is to create a
"sound" group, make yourself a member, and add "options snd
snd_device_gid=..." using the GID of your new group to
/etc/modules.conf.
-- 
Adam Jones ([EMAIL PROTECTED])(http://www.yggdrasl.demon.co.uk/)
.oO("But any idiot would know that."                                   )
PGP public key: http://www.yggdrasl.demon.co.uk/pubkey.asc



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to