From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbdATOL5 (ORCPT ); Fri, 20 Jan 2017 09:11:57 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:32860 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751977AbdATOLz (ORCPT ); Fri, 20 Jan 2017 09:11:55 -0500 Date: Fri, 20 Jan 2017 15:04:04 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Pavel Machek Cc: Jarkko Nikula , Peter Ujfalusi , sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, alsa-devel@alsa-project.org, helen.koike@collabora.co.uk, lars@metafoo.de, broonie@kernel.org Subject: Re: Nokia N900: microphone mixers Message-ID: <20170120140404.GG32502@pali> References: <201701121934.19810@pali> <20170114225614.GA25321@amd> <201701150100.54214@pali> <20170115100533.GA15816@amd> <40dbce4e-d99d-d77d-e682-5b004c70ca40@bitmer.com> <20170120133159.GA5241@amd> <20170120133830.GF32502@pali> <20170120140047.GB5241@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170120140047.GB5241@amd> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 20 January 2017 15:00:47 Pavel Machek wrote: > On Fri 2017-01-20 14:38:30, Pali Rohár wrote: > > On Friday 20 January 2017 14:31:59 Pavel Machek wrote: > > > Hi! > > > > > > Do you have any idea how to control the microphone? I'd like the audio > > > source to be microphone on headset (not the built in one). So I run > > > alsamixer, set everything in "capture" section to zero... and I still > > > get the audio from the internal microphone :-(. > > > > > > Tested with arecord | aplay. > > > > > > Any ideas? > > > > Hi! Try to set Jack Function to Headset or enable b HS Mic. > > I can't find "b HS Mic" function. I can set "Input Select" to "ADC", > and ten internal microphone is off, but I can't get any audio on > input. I tried with "Jack function" both "headset" and "headphone". > > Do I need to enable microphone bias voltage somewhere? When you set Jack function to headset it automatically enable HS Mic control which controls mic bias. If Jack function in headset mode does not work, then there is bug. Try older versions of kernel... -- Pali Rohár pali.rohar@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?B?Um9ow6Fy?= Subject: Re: Nokia N900: microphone mixers Date: Fri, 20 Jan 2017 15:04:04 +0100 Message-ID: <20170120140404.GG32502@pali> References: <201701121934.19810@pali> <20170114225614.GA25321@amd> <201701150100.54214@pali> <20170115100533.GA15816@amd> <40dbce4e-d99d-d77d-e682-5b004c70ca40@bitmer.com> <20170120133159.GA5241@amd> <20170120133830.GF32502@pali> <20170120140047.GB5241@amd> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Content-Disposition: inline In-Reply-To: <20170120140047.GB5241@amd> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Pavel Machek Cc: alsa-devel@alsa-project.org, ivo.g.dimitrov.75@gmail.com, khilman@kernel.org, tony@atomide.com, broonie@kernel.org, aaro.koskinen@iki.fi, sre@kernel.org, kernel list , lars@metafoo.de, abcloriens@gmail.com, Jarkko Nikula , helen.koike@collabora.co.uk, linux-omap@vger.kernel.org, patrikbachan@gmail.com, linux-arm-kernel , serge@hallyn.com List-Id: linux-omap@vger.kernel.org T24gRnJpZGF5IDIwIEphbnVhcnkgMjAxNyAxNTowMDo0NyBQYXZlbCBNYWNoZWsgd3JvdGU6Cj4g T24gRnJpIDIwMTctMDEtMjAgMTQ6Mzg6MzAsIFBhbGkgUm9ow6Fy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CBKYWNrIGZ1bmN0aW9uIHRvIGhlYWRzZXQgaXQgYXV0 b21hdGljYWxseSBlbmFibGUgSFMgTWljCmNvbnRyb2wgd2hpY2ggY29udHJvbHMgbWljIGJpYXMu CgpJZiBKYWNrIGZ1bmN0aW9uIGluIGhlYWRzZXQgbW9kZSBkb2VzIG5vdCB3b3JrLCB0aGVuIHRo ZXJlIGlzIGJ1Zy4gVHJ5Cm9sZGVyIHZlcnNpb25zIG9mIGtlcm5lbC4uLgoKLS0gClBhbGkgUm9o w6FyCnBhbGkucm9oYXJAZ21haWwuY29tCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwpsaW51eC1hcm0ta2VybmVsIG1haWxpbmcgbGlzdApsaW51eC1hcm0t a2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFp bG1hbi9saXN0aW5mby9saW51eC1hcm0ta2VybmVsCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: pali.rohar@gmail.com (Pali =?utf-8?B?Um9ow6Fy?=) Date: Fri, 20 Jan 2017 15:04:04 +0100 Subject: Nokia N900: microphone mixers In-Reply-To: <20170120140047.GB5241@amd> References: <201701121934.19810@pali> <20170114225614.GA25321@amd> <201701150100.54214@pali> <20170115100533.GA15816@amd> <40dbce4e-d99d-d77d-e682-5b004c70ca40@bitmer.com> <20170120133159.GA5241@amd> <20170120133830.GF32502@pali> <20170120140047.GB5241@amd> Message-ID: <20170120140404.GG32502@pali> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 20 January 2017 15:00:47 Pavel Machek wrote: > On Fri 2017-01-20 14:38:30, Pali Roh?r wrote: > > On Friday 20 January 2017 14:31:59 Pavel Machek wrote: > > > Hi! > > > > > > Do you have any idea how to control the microphone? I'd like the audio > > > source to be microphone on headset (not the built in one). So I run > > > alsamixer, set everything in "capture" section to zero... and I still > > > get the audio from the internal microphone :-(. > > > > > > Tested with arecord | aplay. > > > > > > Any ideas? > > > > Hi! Try to set Jack Function to Headset or enable b HS Mic. > > I can't find "b HS Mic" function. I can set "Input Select" to "ADC", > and ten internal microphone is off, but I can't get any audio on > input. I tried with "Jack function" both "headset" and "headphone". > > Do I need to enable microphone bias voltage somewhere? When you set Jack function to headset it automatically enable HS Mic control which controls mic bias. If Jack function in headset mode does not work, then there is bug. Try older versions of kernel... -- Pali Roh?r pali.rohar at gmail.com