From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 8 03:43:07 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9CDA16A4CE for ; Sat, 8 Jan 2005 03:43:07 +0000 (GMT) Received: from ns.kt-is.co.kr (ns.kt-is.co.kr [211.218.149.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A1743D49 for ; Sat, 8 Jan 2005 03:43:07 +0000 (GMT) (envelope-from yongari@kt-is.co.kr) Received: from michelle.kt-is.co.kr (ns2.kt-is.co.kr [220.76.118.193]) (authenticated bits=128) by ns.kt-is.co.kr (8.12.10/8.12.10) with ESMTP id j083goAh039088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 8 Jan 2005 12:42:50 +0900 (KST) Received: from michelle.kt-is.co.kr (localhost.kt-is.co.kr [127.0.0.1]) by michelle.kt-is.co.kr (8.13.1/8.13.1) with ESMTP id j083h59K020022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Jan 2005 12:43:05 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Received: (from yongari@localhost) by michelle.kt-is.co.kr (8.13.1/8.13.1/Submit) id j083h1is020021; Sat, 8 Jan 2005 12:43:01 +0900 (KST) (envelope-from yongari@kt-is.co.kr) Date: Sat, 8 Jan 2005 12:43:01 +0900 From: Pyun YongHyeon To: matricks@teepop.net Message-ID: <20050108034301.GA19636@kt-is.co.kr> References: <40EBD8FB-6061-11D9-8DF8-000A9575BDF6@teepop.net> <20050107085743.GA16570@kt-is.co.kr> <1105110182.41dea4a6392af@webbmail.teepop.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1105110182.41dea4a6392af@webbmail.teepop.net> User-Agent: Mutt/1.4.2.1i X-Filter-Version: 1.11a (ns.kt-is.co.kr) cc: freebsd-multimedia@freebsd.org Subject: Re: ATI IXP development X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: yongari@kt-is.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 03:43:08 -0000 On Fri, Jan 07, 2005 at 04:03:02PM +0100, matricks@teepop.net wrote: [...] > > > > Glad to see a someone who can write new audio driver. > > It seems that the datasheet of AD1888 is publicly available. > > So I guess you can release the driver under BSD license. > > http://www.chipcatalog.com/Analog/Datasheet/AD1888.htm > > [...] > > I'm not sure I can write it. Never written a driver before but I've coded C/C++ > for many years and have basic understanding how drivers work and how to develop > them. Somewhere you have to take the first step and this seams like a good place > to start. > Hmm.. If I had the hardware I would have tried to write a new driver. As you know, FreeBSD lacks a few driver for recent sound hardwares. I'd like to change this but all hardware I got is old/discontinued one and no new driver was needed except cs4231 on sparc64. > I looked at the atiixp driver for ALSA and one of the FreeBSD AC'97 drivers and > I don't see why I shouldn't be able to peice something together. If you have > some information that I should read except the Developers Handbook, please > enlighten me. > AD1888 Codec support could be added into ac97 support code. But I don't know you got a copy of ATI IXP200 datasheet. If the datasheet is not avilable you have to guess its register layout/usage from linux driver. Direct porting linux driver to FreeBSD may be possible but I don't like GPL'ed source codes contaminate our tree. Of course, the driver can live in ports tree but maintaining kernel driver in ports tree is endless pain to driver maintainer. While writing cs4231 driver on sparc64 I read existing driver code in sys/dev/sound/pci directory. You may also want to see sound subsystem, bus dma and locking section in Architecture Handbook. All new drivers should be MP-safe. > .magnus auvinen -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org