Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2006 11:12:25 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: usb audio and a 1 channel input device
Message-ID:  <20060310111225.93tbmzmxw4s8www4@netchild.homeip.net>
In-Reply-To: <20060310.131822.343160869.kazuhito@ph.noda.tus.ac.jp>
References:  <20060309163525.M9264@bartsplace.net> <20060310.131822.343160869.kazuhito@ph.noda.tus.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Kazuhito HONDA <kazuhito@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.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
Let the machine do the dirty work.
		-- "Elements of Programming Style", Kernighan and Ritchie





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060310111225.93tbmzmxw4s8www4>