Date: Fri, 25 Feb 2005 00:56:32 +0900 (JST) From: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: usb/78028: The system must tell users information of a USB sound device. Message-ID: <20050225.005632.343192547.kazuhito@ph.noda.tus.ac.jp> Resent-Message-ID: <200502241600.j1OG0lfI069385@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78028 >Category: usb >Synopsis: The system must tell users information of a USB sound device. >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 24 16:00:47 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kazuhito HONDA >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD kaoru 6.0-CURRENT FreeBSD 6.0-CURRENT #221: Tue Feb 22 17:57:42 JST 2005 root@kaoru:/usr/obj/src/sys/i386/compile/KAORU.6.0B.0 i386 >Description: Some USB audio devices have fixed sampling rates. So users must know sampling rates proper to them. Thus the system must teach the fixed samplig rates. >How-To-Repeat: >Fix: A patch below is applied to src/sys/dev/sound/usb/uaudio.c --- uaudio.c.orig Thu Jan 6 10:43:22 2005 +++ uaudio.c Fri Feb 25 00:00:22 2005 @@ -2054,7 +2054,7 @@ USBDEVNAME(sc->sc_dev), format); return (USBD_NORMAL_COMPLETION); } -#ifdef USB_DEBUG +#if defined(USB_DEBUG) || defined(__FreeBSD__) printf("%s: %s: %dch, %d/%dbit, %s,", USBDEVNAME(sc->sc_dev), dir == UE_DIR_IN ? "recording" : "playback", chan, prec, asf1d->bSubFrameSize * 8, format_str); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225.005632.343192547.kazuhito>