From doconnor@cain.gsoft.com.au  Tue Jan 21 21:56:45 2003
Return-Path: <doconnor@cain.gsoft.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7507E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jan 2003 21:56:45 -0800 (PST)
Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A4B3B43ED8
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jan 2003 21:56:43 -0800 (PST)
	(envelope-from doconnor@cain.gsoft.com.au)
Received: from cain.gsoft.com.au (localhost [127.0.0.1])
	by cain.gsoft.com.au (8.12.4/8.12.6) with ESMTP id h0M5udiX055742
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Jan 2003 16:26:40 +1030 (CST)
	(envelope-from doconnor@cain.gsoft.com.au)
Received: (from doconnor@localhost)
	by cain.gsoft.com.au (8.12.4/8.12.5/Submit) id h0M5udi5055741;
	Wed, 22 Jan 2003 16:26:39 +1030 (CST)
Message-Id: <200301220556.h0M5udi5055741@cain.gsoft.com.au>
Date: Wed, 22 Jan 2003 16:26:39 +1030 (CST)
From: "Daniel O'Connor" <doconnor@cain.gsoft.com.au>
Reply-To: "Daniel O'Connor" <doconnor@cain.gsoft.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fake a sound ioctl (plus linux hook)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47349
>Category:       kern
>Synopsis:       Fake a sound ioctl (plus linux hook)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    emulation
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 22:00:20 PST 2003
>Closed-Date:    Sat Oct 29 02:12:03 GMT 2005
>Last-Modified:  Sat Oct 29 02:12:03 GMT 2005
>Originator:     Daniel O'Connor
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD cain.gsoft.com.au 4.7-RC FreeBSD 4.7-RC #11: Mon Sep 30 17:25:01 CST 2002 doconnor@cain.gsoft.com.au:/usr/obj/usr/src/sys/CAIN i386


>Description:

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.

>How-To-Repeat:
Install TeamSpeak and watch how you are muted :)

>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.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->emulation 
Responsible-Changed-By: bms 
Responsible-Changed-When: Fri Jun 18 12:14:08 GMT 2004 
Responsible-Changed-Why:  
One for emulation 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47349 
State-Changed-From-To: open->patched 
State-Changed-By: bms 
State-Changed-When: Thu Jul 8 22:55:25 GMT 2004 
State-Changed-Why:  
Patched in rev 1.120 of linux_ioctl.c 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47349 
State-Changed-From-To: patched->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Oct 29 02:11:41 GMT 2005 
State-Changed-Why:  
Committed July 2004 and unlikely to be MFCed any further than that. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47349 
>Unformatted:
