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?
Created attachment 16815 [details, diff] a patch that seems to work.
This is a bug for the kernel team... What kernel are you using that you experienced this problem with?
Jesper, what kernel did you get this issue with so we can apply the patch you attached?
Has anything happened with this? Jesper, which kernel is your patch against? Is the issue fixed with later kernel versions?
He hasn't responded in 6 months. I believe it's safe to assume this issue has been resolved.