Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 02:05:27 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        Nick Sayer <nsayer@quack.kfu.com>
Cc:        freebsd-hardware@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: porting uaudio
Message-ID:  <20020702010527.GA2701@genius.tao.org.uk>
In-Reply-To: <3D20EA59.6040701@kfu.com>
References:  <3D20EA59.6040701@kfu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 01, 2002 at 04:48:41PM -0700, Nick Sayer wrote:
> I'm giving some preliminary thought to attempting to port NetBSD's 
> uaudio to the PCM framework. I *believe* I have a good idea what the 
> various entry points for CHANNEL_DECLARE() (in PCM) do. I think. Maybe.
> 
> What is less clear to me is the sort of hows and whys of USB device 
> drivers. My presumption is that the USB side of uaudio.c (from NetBSD) 
> should be relatively straightforward to port, and that the majority of 
> the work will be to shoehorn that into the PCM side. I further presume 
> that when I'm done, I'll have a snd_uaudio.ko module that will have 
> module dependencies on USB and PCM and that it will just work and stuff. :-)

That sounds fair, and exactly what I'd assume too.

I've not looked at the code yet, but if you're up for doing the work
I'll help out in whatever way I can.

I'm not sure whether NetBSD use the same pcm framework that we do.
I doubt that they use the same drivers, but the infrastructure might
be compatible.  It's probably worth dropping Cameron (cg@FreeBSD.org)
and seeing what his opinion is.  I know he was talking about doing
some usb audio work a little while ago, but was waiting for the
async pipes to be ported to FreeBSD.  (It's possible that there's
not enough support in -stable to run uaudio at this time - the USB
controller code is a bit behind and I'm not sure whether it has
async pipes yet).

Joe

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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