Date: Tue, 18 Nov 2008 23:41:42 GMT From: Luiz Pasqual <pasquall@terra.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/128977: uaudio is not full duplex Message-ID: <200811182341.mAINfg6g040874@www.freebsd.org> Resent-Message-ID: <200811182350.mAINo1K1073517@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128977 >Category: usb >Synopsis: uaudio is not full duplex >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 18 23:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Luiz Pasqual >Release: 7.1-PRERELEASE >Organization: >Environment: FreeBSD renault 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Tue Nov 18 19:10:43 BRST 2008 root@renault:/usr/obj/usr/src/sys/PASQUALL i386 >Description: When a Headset USB is attached it is impossible to hear and speak at the same time, it is a problem if we are using softphones. >How-To-Repeat: - Attach a headset USB - And try to make a conversation via some softphone >Fix: In the file: /usr/src/sys/dev/sound/usb/uaudio.c Commenting this lines and rebuild kernel, should solve this problem: --- uaudio.c 2008-11-18 21:13:30.000000000 -0200 +++ uaudio.c.new 2008-11-18 21:09:31.000000000 -0200 @@ -3828,14 +3828,16 @@ int uaudio_init_params(struct uaudio_softc *sc, struct chan *ch, int mode) { int i, j, enc; int samples_per_frame, sample_size; +/* if ((sc->sc_playchan.pipe != NULL) || (sc->sc_recchan.pipe != NULL)) return (-1); +*/ switch(ch->format & 0x000FFFFF) { case AFMT_U8: enc = AUDIO_ENCODING_ULINEAR_LE; ch->precision = 8; break; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811182341.mAINfg6g040874>