Em Saturday 19 January 2008 12:45:52 Claudio Matsuoka escreveu:
On Jan 19, 2008 9:56 AM, Tobin Davis tdavis@dsl-only.net wrote:
I have already requested documentation and a development board from Conexant, so I should be able to get a fully functional driver going soon. In the meantime, I'll try to get a test patch out to you as soon as possible.
If this is the Hermosa codec (see http://helllabs.org/codecgraph/out/hp-spartan-ng.svg), Herton has just finished fully functional support to it, based on the HP "Spartan 1.1"
Yes, it was working, but there were some things to sort out, like the Spartan 1.1 doesn't have to switch between capture source as each mic (int, ext) has its own adc, and I hacked it without removing the capture source from mixer.
Also I worked on the same code provided by hsfmodem, that already has support for 5051, but I don't know why it wasn't sent upstream yet by Conexant/hsfmodem people.
laptop (subdevice ID is 14f1:5051).
Herton, did you submit the patches for Hermosa support to the list?
No, as I didn't fixed the patches for proper submission, and the part of hsfmodem probably Conexant/Linuxant people should send with proper Signed-offs etc. But anyway I'll attach here the patches for reference, that are not ready for inclusion and will not apply to current alsa tree.
The patch that adds code with support for the Hermosa chip is entirely from hsfmodem-7.68.00.04full [1]. Note that hsfmodem has its proprietary part but this is only GPL code, and Linuxant also adds a Copyright for this code at the start of the patch_conexant.c that isn't in this patch ("Copyright (c) 2005-2006 Linuxant Inc."), as this patch applies above others in local tree here that after integrates with hsfmodem licensed by HP (copyright line is added by another patch).
The other patch is my hacked modifications to support the Spartan 1.1 (yes, it's ugly, should be a separate model), that also needs to remove Capture Source mixer item that doesn't make sense for it.
[1] http://www.linuxant.com/drivers/hsf/full/downloads.php -> http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.68.00.04full/hsf...
-- []'s Herton