Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27597 - i810_audio locks the read channel if dsp is opened as RDWR while write channel is bussy
Summary: i810_audio locks the read channel if dsp is opened as RDWR while write channe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 07:08 UTC by Jesper Toft
Modified: 2004-04-09 07:44 UTC (History)
2 users (show)

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


Attachments
a patch that seems to work. (i810_audio.diff,1.23 KB, patch)
2003-08-30 07:16 UTC, Jesper Toft
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Toft 2003-08-30 07:08:29 UTC
If you open your /dev/dsp for readwrite, while the write channel is bussy (Other 
music is playing), it attaches to the read channel, but doesnt detatch when it finds 
out that the write channel is bussy. 

Reproducible: Always
Steps to Reproduce:
Simple c code: 
open("/dev/dsp",O_RWONLY); 
open("/dev/dsp",O_RDWR); 
 
Actual Results:  
Now the read channel is locked untill the system is restarted. 
 

Expected Results:  
Beeing able to open the channel?
Comment 1 Jesper Toft 2003-08-30 07:16:07 UTC
Created attachment 16815 [details, diff]
a patch that seems to work.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-04 00:55:08 UTC
This is a bug for the kernel team...

What kernel are you using that you experienced this problem with?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-03-14 13:31:42 UTC
Jesper, what kernel did you get this issue with so we can apply the patch you attached?
Comment 4 Jason Cox (RETIRED) gentoo-dev 2004-04-08 19:21:48 UTC
Has anything happened with this? Jesper, which kernel is your patch against? Is the issue fixed with later kernel versions?
Comment 5 Jason Cox (RETIRED) gentoo-dev 2004-04-09 07:44:32 UTC
He hasn't responded in 6 months. I believe it's safe to assume this issue has been resolved.