From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 31 20:43:05 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A3F216A437 for ; Wed, 31 Aug 2005 20:43:05 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.tele2.se [212.247.155.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8826243D45 for ; Wed, 31 Aug 2005 20:43:04 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-217-39-191.daxnet.no ([193.217.39.191] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 235607708; Wed, 31 Aug 2005 22:43:02 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 31 Aug 2005 22:43:54 +0200 User-Agent: KMail/1.7 References: <20050831070748.GA10153@raysrv1.netuse.de> <20050831120139.GC28448@raysrv4.netuse.de> <20050831223107.09d415a1@Magellan.Leidinger.net> In-Reply-To: <20050831223107.09d415a1@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200508312243.55828.hselasky@c2i.net> Cc: Alexander Leidinger Subject: Re: uaudio fullduplex on 5.4-RELEASE? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 20:43:05 -0000 On Wednesday 31 August 2005 22:31, Alexander Leidinger wrote: > On Wed, 31 Aug 2005 14:01:39 +0200 > > Pia Gerhardt wrote: > > On Wed, 31 Aug 2005 11:52 +0200, Alexander Leidinger wrote: > > > Pia Gerhardt wrote: > > > >Hi, > > > >I installed a 5.4-RELEASE over ftp just yesterday, and > > > >managed to make uaudio output work on my logitech 350 > > > >USB headset with a minor patch. I was wondering if there > > > >is some way to make fullduplex on uaudio work in this > > > >release. > > > > > > Some USB chips have problems with fullduplex operation. Because of th= is > > > it's disabled by default. AFAIK it's not known if it is a problem with > > > our USB subsystem or not. > > > > Hi, > > accidently forgot to cc the list. I think its worth a try. Whats the > > most elegant way to enable it? > > You have to enable it by modifying a source file. But I don't remember > which one and how. > > Maybe google is able to find how to do it. Someone mentioned it > somewhere on the FreeBSD lists. > > Bye, > Alexander. Here, found this in the archives: On Friday 22 April 2005 06:39, Kazuhito HONDA wrote: > the uaudio driver doesn't allow USB devices to > open playback and record channel pipe, simultaneously, > if in FreeBSD-stable, at line 3650 of uaudio.c as below: > > =A0 =A0 =A0 =A0 if ((sc->sc_playchan.pipe !=3D NULL) || (sc->sc_recchan.p= ipe !=3D > NULL)) return (-1); /src/sys/dev/sound/usb/uaudio.c Then if you have "uaudio" in the kernel, recompile the kernel. Else recompi= le=20 the module, "sys/modules/uaudio". If full duplex doesn't work, then:=20 Download the three files below into a new directory and type=20 "make install" (to uninstall type "make deinstall") http://home.c2i.net/hselasky/isdn4bsd/privat/usb/Makefile http://home.c2i.net/hselasky/isdn4bsd/privat/usb/new_usb_1_5_4.diff.bz2 http://home.c2i.net/hselasky/isdn4bsd/privat/usb/new_usb_1_5_4.tar.bz2 Then recompile all USB modules and/or kernel, depending on your configurati= on.=20 Here is a quick USB-module compile script: #!/bin/sh cd /sys/modules/aue && make depend all install clean cd /sys/modules/axe && make depend all install clean cd /sys/modules/cdce && make depend all install clean cd /sys/modules/cue && make depend all install clean cd /sys/modules/if_ndis && make depend all install clean cd /sys/modules/kue && make depend all install clean cd /sys/modules/ndis && make depend all install clean cd /sys/modules/netgraph/bluetooth/ubtbcmfw && make depend all install clean cd /sys/modules/netgraph/bluetooth/ubt && make depend all install clean cd /sys/modules/rue && make depend all install clean cd /sys/modules/sound/driver/uaudio && make depend all install clean cd /sys/modules/ubsa && make depend all install clean cd /sys/modules/ubser && make depend all install clean cd /sys/modules/ucom && make depend all install clean cd /sys/modules/ucycom && make depend all install clean cd /sys/modules/udav && make depend all install clean cd /sys/modules/udbp && make depend all install clean cd /sys/modules/ufm && make depend all install clean cd /sys/modules/uftdi && make depend all install clean cd /sys/modules/ugen && make depend all install clean cd /sys/modules/uhid && make depend all install clean cd /sys/modules/ukbd && make depend all install clean cd /sys/modules/ulpt && make depend all install clean cd /sys/modules/umass && make depend all install clean cd /sys/modules/umct && make depend all install clean cd /sys/modules/umodem && make depend all install clean cd /sys/modules/ums && make depend all install clean cd /sys/modules/uplcom && make depend all install clean cd /sys/modules/ural && make depend all install clean cd /sys/modules/urio && make depend all install clean cd /sys/modules/usb && make depend all install clean cd /sys/modules/uscanner && make depend all install clean cd /sys/modules/uvisor && make depend all install clean cd /sys/modules/uvscom && make depend all install clean =2D-HPS