Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757751AbZCQKFW (ORCPT ); Tue, 17 Mar 2009 06:05:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753799AbZCQKFG (ORCPT ); Tue, 17 Mar 2009 06:05:06 -0400 Received: from rhlx01.hs-esslingen.de ([129.143.116.10]:41865 "EHLO rhlx01.hs-esslingen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752992AbZCQKFE (ORCPT ); Tue, 17 Mar 2009 06:05:04 -0400 Date: Tue, 17 Mar 2009 11:05:00 +0100 From: Andreas Mohr To: Takashi Iwai Cc: Andreas Mohr , Maxim Levitsky , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Kernel Testers List Subject: Re: [alsa-devel] Bugs on aspire one A150 Message-ID: <20090317100500.GA16029@rhlx01.hs-esslingen.de> References: <20090316170015.GA9776@rhlx01.hs-esslingen.de> <20090316173000.GA25647@rhlx01.hs-esslingen.de> <20090316180638.GB25647@rhlx01.hs-esslingen.de> <20090316212227.GA29471@rhlx01.hs-esslingen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Priority: none User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4612 Lines: 102 Hi, On Tue, Mar 17, 2009 at 08:57:06AM +0100, Takashi Iwai wrote: > At Mon, 16 Mar 2009 22:22:27 +0100, > Andreas Mohr wrote: > > > > Hi, > > > > On Mon, Mar 16, 2009 at 09:28:39PM +0100, Takashi Iwai wrote: > > > The question is whether the left / right channels recorded from > > > digital mic are really raw data, or they are for modified data > > > (for differential, etc)... It's hard to guess without the actual > > > data. > > > > I don't quite follow you here. Is there anything I could do about this? > > The mic array on a laptop is used for beam forming and noise > suppressions. These require the software manipulation, of course. > The question is what kind of data is read from the hardware. Thus, > providing the raw streams for both mic inputs makes sense. Makes sense indeed. > Obviously the stream read from the codec chip is a PCM while usually > the digital mic gives the output as PDM. So PDM -> PCM isn't needed > here. But, still a question is why a phase inversion in the second > channel. Whether it's intentional (e.g. to make the further > conversion easier) or not. > > Would be interesting if you can figure out which digital-mic component > is used on your laptop (and if we can have any chip information by > luck). Well, as some manufacturers/types of digital microphones I found Akustica (AKU 1126 / 2000 / 2001 / 2002 / 2004 / 2103), Analog Devices (ADMP421), National Semiconductor (digital microphones, amplifiers LMV1024, LMV1026) [1], [2], [3] and Andrea Digital Array Microphones. ALC268 specs [4] say that they actually support interfacing LMV1024/1026, SPD0205ND (what the heck is this one?), AKU2000. Umm wait, Aspire One has ALC269. ALC269 datasheet doesn't say anything about microphone manufacturers. Note that eeepc models 901++ have ALC269 as well and - surprise, surprise - an inverted noise cancellation issue as well!!!!!: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/331130 "Dreamcom 10 Laptop" [7]: " integrated Realtek HD audio processor, two built-in Akustica digital microphones and two built-in stereo speakers" This was the only reference up and down that I could find to _any_ notebook's microphone manufacturer listing. I suspect that Aspire One has an Akustica microphone array as well since Akustica seems to be the leading brand (hmm, any ideas about where the second microphone is located if at all existing, but it must exist!!? - probably at the front bottom?). Note that I found that the 16bit inverted data is NOT exactly a sum of 0x10000, IOW those _are_ two _separate_, inverted streams of audio data (for noise cancellation somehow I guess). OH WAIT!! If most Acer models have _both_ microphones at the screen bezel (left and right side) yet Aspire One has them (as I'd guess) at the top of the bezel (known) and at the front bottom, then this would mean - hold your breath - that the microphone array's physical properties (regarding noise cancellation) are moved by 90 degrees, possibly exactly explaining the malfunctioning (this would explain why Aspire One and eeepcs have issues whereas other Aspire models probably don't have them!?!?). Hmm OTOH providing an audio source from somewhere on the left side / right side of the netbook doesn't suddenly provide any audio, thus it's probably a nice theory ;) But OTOH the fact remains that those netbooks have a drastic microphone geometry design change versus the normal Acer notebooks, thus it likely is the reason for this issue somehow, somewhere. Another very widely used brochure phrase was "Acer PureZone technology with two built-in stereo microphones featuring beam forming, echo cancellation, and noise suppression technologies" I couldn't locate more pointers to details here though. Insightful Apple OS X ALC269 adaptation descriptions: [5]. Windows Vista (ick!) microphone array discussions: [6]. [1]. http://www.national.com/nationaledge/apr03/article.html (background explanations!) [2]. https://www.national.com/appinfo/amps/microphone.html [3]. http://www.national.com/GER/news/item/1,4300,50,00.html [4]. https://nmso.mdg.ca/specsheets/Intel_ALC268_Sound.pdf [5]. http://ipis-osx.wikidot.com/internal-sound [6]. http://windowsteamblog.com/blogs/windowsvista/archive/2007/11/09/microphone-arrays-digital-microphones.aspx [7]. http://www.lcr-europe.org/meter/12/stereo+speaker.html Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/