bug in sound driver

Xian ml-freebsd-newbies at codepad.net
Tue Dec 21 08:28:17 PST 2004


I had a problem with Ogle (my DVD player) and it turned out to be a problem 
with the sound driver I'm using. I found this email in an archive that lead 
me to the workaround:

<email>
Wed Mar 24 2004, John Polstra wrote:
> On 24-Mar-2004 Bj|rn Englund wrote:
> 
> > Try setting the environment variable OGLE_OSS_RESET_BUG and then run
> > ogle and see if you still have the problem or if it works.
> 
> Wow, that fixes it!  I never would have guessed that this problem had
> anything to do with audio.
> 
> I'm a FreeBSD committer and might be able to help get our driver
> fixed.  Do you know whether this particular sound chip works with Ogle
> under Linux (without the OGLE_OSS_RESET_BUG work-around)?  If it does,
> then maybe I can see what the Linux driver is doing differently when
> it resets the chip.
> 

No I don't know if this chip works in linux.
But this is a common problem that pops up from time to time
in different audio drivers, nothing chip/hw specific.
I suspect that driver writers forget that the device should "reset"/be able to
accept new format settings after a 
SNDCTL_DSP_SYNC or SNDCTL_DSP_RESET ioctl,
and not just after a new open of the audio device.

/Bj|rn
</email>

Should I do anything like file a bug report? I don't know what these guys have 
done. btw on my system `uname -a` says

FreeBSD hercules.codepad.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Mon Dec 
20 17:20:40 GMT 2004     
root at hercules.codepad.net:/usr/obj/usr/src/sys/HERCULES i386
-- 
/Xian

"The important thing is not to stop questioning. Curiosity has its own reason 
for existing."
Albert Einstein


More information about the freebsd-newbies mailing list