Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91647 - QEMU grabs read-write access to /dev/dsp when it only needs write access
Summary: QEMU grabs read-write access to /dev/dsp when it only needs write access
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-05 21:17 UTC by qube99
Modified: 2006-05-07 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Changes O_RDWR to O_WRONLY in ossaudio.c (ossaudio_writeonly.patch,529 bytes, patch)
2005-05-05 21:18 UTC, qube99
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description qube99 2005-05-05 21:17:01 UTC
Qemu's soundblaster 16 emulation only supports writing out.  As such, its
ossaudio.c file grabbing read-write access isn't a good thing.  Some of us
actually want to use the one read hook for something else.

Reproducible: Always
Steps to Reproduce:
Comment 1 qube99 2005-05-05 21:18:31 UTC
Created attachment 58175 [details, diff]
Changes O_RDWR to O_WRONLY in ossaudio.c

This is a trivial patch and should be applyable any time after unpacking.
Comment 2 Luca Barbato gentoo-dev 2005-12-23 06:31:47 UTC
did you try to push it upstream?
Comment 3 Marco Matthies 2006-05-07 15:25:58 UTC
This bug has been fixed in upstream since July 24, 2005.
(Not sure if it's 0.7.1 or 0.7.2 where the fix appeared.)

I think this bug can be closed.

See:
http://cvs.savannah.nongnu.org/viewcvs/qemu/audio/ossaudio.c?root=qemu&r1=1.4&r2=1.5
Comment 4 Luca Barbato gentoo-dev 2006-05-07 15:35:05 UTC
closing then =)

thank you