From owner-freebsd-hardware  Mon Jul  1 18: 5:47 2002
Delivered-To: freebsd-hardware@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3AF8637B401; Mon,  1 Jul 2002 18:05:42 -0700 (PDT)
Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 5D7A643E13; Mon,  1 Jul 2002 18:05:41 -0700 (PDT)
	(envelope-from joe@tao.org.uk)
Received: by tao.org.uk (Postfix, from userid 100)
	id 5D28238B; Tue,  2 Jul 2002 02:05:27 +0100 (BST)
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>
Mail-Followup-To: Josef Karthauser <joe@tao.org.uk>,
	Nick Sayer <nsayer@quack.kfu.com>, freebsd-hardware@freebsd.org,
	freebsd-stable@freebsd.org
References: <3D20EA59.6040701@kfu.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3D20EA59.6040701@kfu.com>
User-Agent: Mutt/1.3.99i
Sender: owner-freebsd-hardware@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-hardware.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-hardware>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-hardware>
X-Loop: FreeBSD.org

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-hardware" in the body of the message