Possible sound driver bug...?

Chris Evans (chris@ferret.lmh.ox.ac.uk)
Mon, 7 Jul 1997 18:25:14 +0100 (BST)


Hi,

I'm messing about with the relatively new mmap()'able DMA sound buffers,
with linux-2.0.31-pre2.

Basically, I have opened /dev/dsp O_WRONLY. However, when I try to mmap
the thing with PROT_WRITE only, the mmap call fails. If I open /dev/dsp
with O_RDWR, the mmap call will succeed.

Sounds like a simple one to fix to me, I haven't had the time to have a
detailed poke around yet...

Cheers,
Chris