At Tue, 17 Mar 2009 17:18:28 +0100, Andreas Mohr wrote:
Hi,
On Tue, Mar 17, 2009 at 12:25:13PM +0100, Takashi Iwai wrote:
At Tue, 17 Mar 2009 11:47:55 +0100, Andreas Mohr wrote:
Fortemedia device names include FM2018-380, not sure yet which one is in Aspire One.
http://www.fortemedia.com/products/index.htm ( especially http://www.fortemedia.com/products/fm1182.htm )
http://www.wpgholdings.com/event/S/SACg_04_ForteMedia_SAM.pdf mentions "FM201x" and www.sacg.com.tw (this one could be useful!). Searching Google "FM201[0-9] Fortemedia" comes up with FM2010 and FM2018 and thus http://www.hengdasheng.com.cn/uploadfile/391/cfile/2008102414057847.pdf which is a relatively informative datasheet.
I'm not sure whether FM2018 is on a netbook. Rather my guess is it's a digital-mic component by FortMedia together with their software library for SAM handling.
I had the same thoughts later. Since they use an extensive SAM handling library, there probably isn't such a chip, otherwise they probably wouldn't need it ;) Could you thus implement a nice beam-forming sound evaluation SAM library for ALSA pretty pretty please? ;)
A patch please :)
...or, is that SAM library available to us given that it exists in the factory install? If so, then one should probably make good use of it...
An easy one would be a relatively simple algorithm, but I don't know whether any free library code. Better to ask on LAD.
BTW, a simple "fix" for the mono capture problem, you can patch the config file for HD-audio in alsa-lib like below. Then the first channel will be used for mono capture instead of averages. Give it a try.
(But, this won't fix programs that prefer "hw" access such as pulseaudio, of course.)
I'm not *quite* sure whether this is really what you meant, but I patched /usr/share/alsa/cards/HDA-Intel.conf (libasound2 1.0.18-1ubuntu7) in exactly this way and then did arecord -Dplughw:0 -fdat -c1 test.wav; aplay test.wav but well, with equal slider positions there was no audio again.
Don't use -Dplughw:0. Then the default setup will be used.
% arecord -fdat -c1 test.wav
Takashi