intek8x0 driver
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)
I can open the device:open("/dev/dsp", O_RDONLY|O_LARGEFILE) = 5
and make use of a lots ioctl.
If I'm not root, I even can't read() from that device, even though I'm the owner of /dev/dsp0.
Any ideas?
Best Regards
-------------------------------------------------------
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
Quoted 5 lines · Dirk Aust
Hello all,
I have some difficulties using the/dev/dspdevices, 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).
Quoted 2 lines
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