usb audio and a 1 channel input device
Kazuhito HONDA
kazuhito at ph.noda.tus.ac.jp
Sat Mar 11 18:15:53 GMT 2006
From: Alexander Leidinger <Alexander at Leidinger.net>
Subject: Re: usb audio and a 1 channel input device
Date: Fri, 10 Mar 2006 12:08:29 +0100
> Bart van Leeuwen <bart at bartsplace.net> wrote:
>
> > On Fri, 10 Mar 2006 11:12:25 +0100, Alexander Leidinger wrote
> >> Kazuhito HONDA <kazuhito at ph.noda.tus.ac.jp> wrote:
> >>
> >> > If your USB controller is uhci, you should do 1) below only.
> >> > But yours os ohci, you should 1) and 2).
> >> >
> >> > 1) Comment out these lines in a function "uaudio_init_params()" of
> >> > a file "/usr/src/sys/dev/sound/usb/uaudio.c":
> >> > if ((sc->sc_playchan.pipe != NULL) || (sc->sc_recchan.pipe
> >> != NULL))
> >> > return (-1);
> >>
> >> Is there a sane way here if we are on a uhci or ohci chipset? I
> >> would prefer to check it and allow it if we are on an uhci chipset.
> >
> > I believe the change is relevant to both cases?
>
> Sort of. With the driver of hps, you can remove it entirely,
Oh. I haven't tried to use the recent driver of hps, so I didn't know it.
With the recent driver of hps, 1) isn't necessary.
> but with the
> driver in the base system, we have the restriction to only remove this code
> for an uhci chipset (since the ohci driver has problems with this duplex
> operation).
That's right, exactly.
Sincerely yours,
Kazuhito HONDA
More information about the freebsd-multimedia
mailing list