Bug 47349 - Fake a sound ioctl (plus linux hook)
Summary: Fake a sound ioctl (plus linux hook)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 06:00 UTC by Daniel O'Connor
Modified: 2005-10-29 03:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.