Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 15:29:37 -0400 (EDT)
From:      Wesley Morgan <morganw@chemikals.org>
To:        Eric Anderson <anderson@centtech.com>
Cc:        Daniel Eischen <deischen@freebsd.org>, freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Andrea Bittau <a.bittau@cs.ucl.ac.uk>, Dennis Melentyev <dennis.melentyev@gmail.com>
Subject:   Re: HDA sound driver mod for sigmatel 92xx
Message-ID:  <20060717151203.L58067@volatile.chemikals.org>
In-Reply-To: <44BB9DD7.3040908@centtech.com>
References:  <20060606124030.GA32057@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <20060709141724.GA33010@shorty.sorbonet.org> <20060717113622.7ee97e3a@localhost> <b84edfa10607170431w4d06c927n2a18436a89ed21c3@mail.gmail.com> <44BB77B9.5000302@centtech.com> <Pine.GSO.4.64.0607171015240.134@sea.ntplx.net> <44BB9DD7.3040908@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jul 2006, Eric Anderson wrote:

> On 07/17/06 09:17, Daniel Eischen wrote:
>> On Mon, 17 Jul 2006, Eric Anderson wrote:
>> 
>>> On 07/17/06 06:31, Dennis Melentyev wrote:
>>>> 2006/7/17, Norberto Meijome <freebsd@meijome.net>:
>>>>> On Sun, 9 Jul 2006 15:17:24 +0100
>>>>> Andrea Bittau <a.bittau@cs.ucl.ac.uk> wrote:
>>>>> 
>>>>> > by the way, I got a version which should record stuff too:
>>>>> > http://darkircop.org/hdac-rec.tgz
>>>>> 
>>>>> Hi all,
>>>>> I downloaded and tried this last night . It works great, including with 
>>>>> Skype
>>>>> (for me, main reason for having sound really :)  ). Thanks!!
>>>>> 
>>>> ....
>>>>> anyway, thanks for the code :)
>>>> Will this code be commited/MFC'ed into 6-STABLE?
>>>> I'd like to give it a try on my Dell Inspirion 1300 with a similar
>>>> SigmaTel 92xx chip.
>>>> 
>>> 
>>> I think this driver is considered a hack at this point, and if so, it 
>>> won't ever be committed.  It might become a real driver at some point, and 
>>> then be committed, but at this stage I think it just barely works.  :)
>> 
>> That's funny, it works very well for me -- at least with mplayer.
>> 
>
> Me too, but just because it works well, doesn't mean it's committable. If I 
> recall, the original one was claimed as a hack, and the patches were made 
> against it.  I'm just saying what I recall, not that it is actually what will 
> happen.  It all goes to the people who have the commit bits, and core I'm 
> sure.

The driver works "OK", as in it plays PCM sound and might record, but the 
internal structure of it is insufficient to really be considered 
"complete". Every HDA codec might have a different widget layout, which as 
of now the driver doesn't do much more than probe. The mixers only work 
because the NID of the amps are hard-coded into the system, and the 
playback only works because *every* DAC is activated (I think).

I know that mine is capable of playing from a CD with configurable gain, 
should have a master volume level in addition to a PCM level (although, 
that could be a "soft" volume in windows) and at the least a microphone 
input. The problem is that I can't figure out how to connect all the 
widgets together properly to make this work. Even when I figure it out on 
my system, the topology of other codecs is likely to be different and 
require either a very flexible userland control (like NetBSD uses) or lots 
of chip-specific code in order to work.

Unfortunately I don't know anything about the OSS API or FreeBSD device 
drivers. I'm just working off of the HDA specs. Stephane's original idea 
is still what I think will be the best model for FreeBSD.


-- 
This .signature sanitized for your protection



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