From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 28 07:05:46 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CCDD16A46C for ; Wed, 28 Nov 2007 07:05:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 167BF13C45B for ; Wed, 28 Nov 2007 07:05:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55E2E.dip.t-dialin.net [84.165.94.46]) by redbull.bpaserver.net (Postfix) with ESMTP id EA39A2E04C; Wed, 28 Nov 2007 08:05:29 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0527275E49; Wed, 28 Nov 2007 08:05:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1196233527; bh=LyxeZWegsCM7p/jziiTm2ML60SUxYOVCF JJeyOh7Ozw=; h=Message-ID:X-Priority:Date:From:To:Cc:Subject: References:In-Reply-To:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:User-Agent; b=QHNZSe t/aVsqvw5vOBem926EY0ztf2GL48IfH7cZUeSnqpOO2MiN4GyoeSZoEG3NcQkglF0U5 ogF5T5aYH+tIeK5fQVzlTvQjjU1WszqtVLz54mo2nVxUE4PUBNaEdUInxmR1r3EAHkJ Iqu+LG7pdeuRsUFxHv6keNdUEtsVH02Yh2ixFc8WX6DsRgadle2zn8D1s6Ji9c7JrjR RQMyri5HZ875xfYrsyHo9CecG607FriB4Rc23ccfKOwmNf7+qibY/OzHhbPq9OCNhnu omPtjb9HN6vejaAEV/h57Zo/bhj3rjZfHnnYUGuCPe1O9TOGE7Vg6s9SKwo+t2WyJCx Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lAS75Qk7004162; Wed, 28 Nov 2007 08:05:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 28 Nov 2007 08:05:26 +0100 Message-ID: <20071128080526.qid2w9tvy800cck8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 28 Nov 2007 08:05:26 +0100 From: Alexander Leidinger To: Chuck Robey References: <47475DF3.8030407@chuckr.org> <47477B4F.6000008@chuckr.org> <47484E4F.8000404@queue.to> <4749D405.6050800@chuckr.org> <20071126092456.ft3ir1peok80ckww@webmail.leidinger.net> <474B011A.6030705@chuckr.org> In-Reply-To: <474B011A.6030705@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.323, required 6, autolearn=not spam, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, SMILEY -0.50, TW_SN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Howard Goldstein , freebsd-multimedia@freebsd.org Subject: Re: sound documentation for the snd_hda (Nvidia) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 07:05:46 -0000 Quoting Chuck Robey (from Mon, 26 Nov 2007 =20 12:23:38 -0500): > Alexander Leidinger wrote: >> Quoting Chuck Robey (from Sun, 25 Nov 2007 =20 >> 14:59:01 -0500): >> >>> Where do the developers of the HDA code hang out, on this list? Is the >>> snd_hda the current hda driver, and if so, where's the new code going >>> to be? >> >> The current HDA driver is in -current. RELENG_7 is on par (AFAIK). =20 >> RELENG_6 is "close", but you are better of with RELENG_7 or HEAD. =20 >> Yes this is the right list, and the only developer working on the =20 >> HDA front and our sound infrastructure I'm aware of is Ariff (sorry =20 >> to the 2 others which work on the envy and creative drivers, but =20 >> for this discussion you don't count ;-) ). He seems to be short of =20 >> time ATM. You could try to catch him on #freebsd-azalia on freenode. >> >> I'm not aware of a major rewrite in the HDA part. Ariff seems to be =20 >> working on something else: http://people.freebsd.org/~ariff/ > > I was operating under the assumption that those comments from hdac.c, > about the snd_hda driver badly needing a complete rewrite because it > was insufficiently, well, bussed? Yeah, bussed meant that code rework > was ongoing. > > If you even know what that comment about the busses being less than > they might be means, IF you could point me at any driver that you > personally think shows a more *ideal* setup, it would at least make me > aware of what's really wanted. You don't need to describe it yourself, > I know that'd be a major bore to do that for me, and I could probably > learn as well by just reading code that illustrates what things > *should* be. AFAIK, the non-ideal part of the driver is not related to our =20 soundsystem. I was told the HDA architecture allows more than just the =20 normal sound output you get with, e.g. AC97 based soundcards. So I =20 think the idea is to split up the driver specific part a little bit =20 more, so that you can add more things later. So the parts you need to =20 read are the HDA specs and get an idea what can be improved there. =20 Graphically it's like this ATM: +----------------------------------------+ | FreeBSD kernel | | +--------------+ | | | sound subsys | | +-------------------+------+-------+-----+ | +-------+--------+ | HDA code | +----------------+ And I think the goal is to get something like: +----------------------------------------+ | FreeBSD kernel | | +--------------+ | | | sound subsys | | +-------------------+------+-------+-----+ | +--------+--------+ |HDA bus/framework| ++-----+--------+-+ | | | sound ... something_else Hope this helps, Alexander. --=20 Kiss your keyboard goodbye! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137