From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 29 10:02:45 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 ACEC716A4DD; Sat, 29 Jul 2006 10:02:45 +0000 (UTC) (envelope-from m.apitz@oclcpica.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9094E43D46; Sat, 29 Jul 2006 10:02:43 +0000 (GMT) (envelope-from m.apitz@oclcpica.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id LAA15655; Sat, 29 Jul 2006 11:59:41 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) Received: from ppp-82-135-0-112.dynamic.mnet-online.de(82.135.0.112) by hunter.Sisis.de via smap (V2.1) id xma015634; Sat, 29 Jul 06 11:59:11 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.4/8.13.4/Submit) id k6TA26wQ020601; Sat, 29 Jul 2006 12:02:06 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to m.apitz@oclcpica.org using -f Date: Sat, 29 Jul 2006 12:02:06 +0200 From: Matthias Apitz To: Joel Dahl Message-ID: <20060729100206.GA19424@rebelion.Sisis.de> References: <44C04B33.7030305@FreeBSD.org> <1153490847.666.11.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1153490847.666.11.camel@localhost> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-RELEASE (i386) Cc: freebsd-multimedia@freebsd.org Subject: Re: azalia(4) from NetBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 10:02:45 -0000 El día Friday, July 21, 2006 a las 04:07:27PM +0200, Joel Dahl escribió: > On Fri, 2006-07-21 at 00:34 -0300, Marcus Alves Grando wrote: > > Multimidia, > > > > I have plan to import azalia(4) from NetBSD to FreeBSD. Can someone show > > me what's need? How i can proceed? That's possible? > > I'm not sure this is such a good idea. Stephane E. Potvin and a few > others are already working on HDA support and several patches are > available in the list archives. You'd probably only be duplicating work > if you decide to port the azalia driver from NetBSD, so if you really > want to help, you should take a look at the following patches: > > The original driver from Stephane E. Potvin: > http://www.leidinger.net/FreeBSD/hdac_20060525.tbz > > >From Andrea Bittau: > http://darkircop.org/hdac.tgz > http://darkircop.org/hdac-rec.tgz > > >From Wesley Morgan: > http://files.chemikals.org/hdac.tgz > > >From Daniel Eischen: > http://people.freebsd.org/~deischen/hdac.tgz > > I can't stop you from porting the azalia driver, but I would like to > encourage you to at least take a look at what we already have before you > do anything. :-) I have one laptop with the following sound chip: none0@pci0:27:0: class=0x040300 card=0x107c1734 chip=0x26688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class = multimedia which works with the driver from OpenSound (I say this to ensure that it is really playing sound :-)). Today I gave a try to three of the above mentioned drivers: 1. From Daniel Eischen: http://people.freebsd.org/~deischen/hdac.tgz this gives: # kldload ./hdac.ko # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: (1p/0r/0v channels default) # cat hdac.ko > /dev/dsp # but no noise comes out. In /var/log/messages I've: Jul 29 09:58:56 farc kernel: pcm0: mem 0xffef8000-0xffefbfff irq 16 at device 27.0 on pci0 Jul 29 09:58:56 farc kernel: init 0xc2817e80 Jul 29 09:58:56 farc kernel: pcm0: Output Streams: 4, Input Streams: 4, Bidirectional Streams: 0 Jul 29 09:58:56 farc kernel: pcm0: CORB Size: 256, RIRB Size: 256 Jul 29 09:58:56 farc kernel: pcm0: Vendor info: 10573055 1057 3055 7 0 2 Jul 29 09:58:56 farc kernel: pcm0: Vendor info: 10ec0880 10ec 880 8 0 1 Jul 29 09:58:56 farc kernel: pcm0: at device 0:1 (no driver attached) Jul 29 09:58:56 farc kernel: pcm0: