All of lore.kernel.org
 help / color / mirror / Atom feed
* intek8x0 driver
@ 2003-07-20 11:04 Dirk Aust
  2003-07-20 11:57 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Aust @ 2003-07-20 11:04 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: intek8x0 driver
  2003-07-20 11:04 intek8x0 driver Dirk Aust
@ 2003-07-20 11:57 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2003-07-20 11:57 UTC (permalink / raw)
  To: Dirk Aust; +Cc: alsa-devel

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 <perex@suse.cz>
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-20 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 11:04 intek8x0 driver Dirk Aust
2003-07-20 11:57 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.