Date: Fri, 25 Feb 2005 11:00:41 GMT From: Alexander Leidinger <Alexander@Leidinger.net> To: freebsd-usb@FreeBSD.org Subject: Re: usb/78028: The system must tell users information of a USB sound device. Message-ID: <200502251100.j1PB0fa7046780@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR usb/78028; it has been noted by GNATS.
From: Alexander Leidinger <Alexander@Leidinger.net>
To: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
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 <kazuhito@ph.noda.tus.ac.jp> 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.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502251100.j1PB0fa7046780>
