On Sun, 20 Jul 2003, Dirk Aust wrote:

> Hello all,
> I have some difficulties using the /dev/dsp devices, when trying to use the 
> call: 
> 
> mmap2(NULL, 16384, PROT_READ, MAP_SHARED, 5, 0) = -1 EIO (Input/output error)

Note that you are allowed to mmap only stereo 16-bit streams with 
the intel8x0 driver (and maybe only at 48kHz rate - check your 
/var/log/messages, if your codec is restricted).

> If I'm not root, I even can't read() from that device, even though I'm the 
> owner of /dev/dsp0.

Probably a permission problem.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to