From owner-freebsd-usb@FreeBSD.ORG Fri Feb 25 11:00:41 2005 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFB9716A4CE for ; Fri, 25 Feb 2005 11:00:41 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95CCF43D60 for ; Fri, 25 Feb 2005 11:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PB0fEC046781 for ; Fri, 25 Feb 2005 11:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1PB0fa7046780; Fri, 25 Feb 2005 11:00:41 GMT (envelope-from gnats) Date: Fri, 25 Feb 2005 11:00:41 GMT Message-Id: <200502251100.j1PB0fa7046780@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Leidinger Subject: Re: usb/78028: The system must tell users information of a USB sound device. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Leidinger List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 11:00:41 -0000 The following reply was made to PR usb/78028; it has been noted by GNATS. From: Alexander Leidinger To: Kazuhito HONDA Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/78028: The system must tell users information of a USB sound device. Date: Fri, 25 Feb 2005 11:54:16 +0100 Kazuhito HONDA wrote: >> 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); Don't you think this information is better suited in the otput of /dev/sndstat? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 If you plan to leave your mark in the sands of time, you better wear work shoes.