Bug 47349

Summary: Fake a sound ioctl (plus linux hook)
Product: Base System Reporter: Daniel O'Connor <doconnor>
Component: kernAssignee: freebsd-emulation (Nobody) <emulation>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Daniel O'Connor 2003-01-22 06:00:20 UTC
The sound system lacks support for the SNDCTL_DSP_SETDUPLEX ioctl, I think
because it will do full duplex all of the time. This causes a problem with
at least one Linux app (TeamSpeak2) as it tries this ioctl, and it fails so
it thinks you can't do full duplex audio.

Fix: 

Apply this patch
http://www.gsoft.com.au/~doconnor/snd-duplex-patch.txt
and then rebuld sound and linux kld's, reinstall and reboot, and now TS works.
How-To-Repeat: Install TeamSpeak and watch how you are muted :)
Comment 1 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-18 13:14:08 UTC
Responsible Changed
From-To: freebsd-bugs->emulation

One for emulation
Comment 2 Bruce M Simpson freebsd_committer freebsd_triage 2004-07-08 23:55:25 UTC
State Changed
From-To: open->patched

Patched in rev 1.120 of linux_ioctl.c
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-10-29 03:11:41 UTC
State Changed
From-To: patched->closed

Committed July 2004 and unlikely to be MFCed any further than that.