usb/78028: The system must tell users information of a USB sound
device.
Kazuhito HONDA
kazuhito at ph.noda.tus.ac.jp
Thu Feb 24 08:00:59 PST 2005
>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 at 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:
More information about the freebsd-usb
mailing list