Received: by 10.213.65.68 with SMTP id h4csp1554155imn; Sun, 1 Apr 2018 08:40:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+8yvGyDqaHFMNxlTt6qRoADjS/cyCu/sNt24FqVtdw/82hJ4FiZqkCnmevAZfCP7fnJb9D X-Received: by 2002:a17:902:604f:: with SMTP id a15-v6mr6753526plt.184.1522597217900; Sun, 01 Apr 2018 08:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522597217; cv=none; d=google.com; s=arc-20160816; b=FTbrCwv0xiE/m2KlRIX5Wvnipa2htR8JCXx+m/SCuRCs1eQwnm9jHf115l3mmECm3w Tnd7ob+Vd+9TLGt+UE7z5UshAinQpHgOODVbLRXEvn9TBrpNXpWwP1h5gSWCGfGUW7m/ VR7ZmBojV8nyyyP4TsK7fJzAbAx2cWaU02RC0qBU7K56W7NWmvm5wEAcE4IbUoYVfFz3 2QRfsle0hPhPsq6BpxjXaQz2ce/s+jxMymHUIcYWsUPfhTRUrFvz2AHDAxyZ4ERxNbSg lqA6Oco8GA+qk1cUy1QL2GLuiVGWBU9bNY15trxxKN73h7D/eJmNF6XoxGYGKR15mOD3 XPKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=0wHWStdBUBsWIbhKJHzxXM1Z1TITbs2Sa08sg/7DfFA=; b=YafMiE61wotbdmygqI3aik1T/6d035pX3TbBSwM6HxcuBk0jzHOxSHedus6YcF+8ct DK31NY1UC8ZiZDWvfXNUCgvDhPZ1tMFXnsaFhONDruYLpYzu5qJSsD/ygvXnc2Jzol6O qfbeNcxG+tzNwRjvQPm0EIybRSrmR+FgMlnA4SvzBtD+SjvO5TeQmQRcf+O4vQbVzL6B XhwPxH1rnV3uLJnfUGd6LYJwkM1mLTWE2aD0kBdqDBSAIh9sBhYVrZ7zLM7jAFFmnhQ0 NUgC8tjMr6XU23SMSExEpOGJ7qhVbYf6P15bHC+5z+y7FdiElkSOZr4d+A86riFf4m6p mIpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si9429433pff.72.2018.04.01.08.39.34; Sun, 01 Apr 2018 08:40:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753619AbeDAPgh (ORCPT + 99 others); Sun, 1 Apr 2018 11:36:37 -0400 Received: from muru.com ([72.249.23.125]:34776 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753582AbeDAPgf (ORCPT ); Sun, 1 Apr 2018 11:36:35 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id E5B7180E4; Sun, 1 Apr 2018 15:37:55 +0000 (UTC) Date: Sun, 1 Apr 2018 08:36:31 -0700 From: Tony Lindgren To: Pavel Machek Cc: Sebastian Reichel , Mark Brown , Liam Girdwood , Rob Herring , Lee Jones , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Dan Williams Subject: Re: call/normal switch was Re: omap4-droid4: voice call support was Message-ID: <20180401153631.GA5700@atomide.com> References: <20180328022910.GM29239@sirena.org.uk> <20180328140219.f6667up5evrrafkv@earth.universe> <20180329014507.GM5700@atomide.com> <20180331145531.GA10404@amd> <20180331181935.GX5700@atomide.com> <20180331191939.GA8999@amd> <20180331194616.GA19388@amd> <20180331195524.GB19388@amd> <20180331234314.GZ5700@atomide.com> <20180401131852.GA11086@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180401131852.GA11086@amd> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [180401 13:20]: > On Sat 2018-03-31 16:43:14, Tony Lindgren wrote: > > * Pavel Machek [180331 19:56]: > > > On Sat 2018-03-31 21:46:16, Pavel Machek wrote: > > > > On Sat 2018-03-31 21:19:39, Pavel Machek wrote: > > > > > On Sat 2018-03-31 11:19:35, Tony Lindgren wrote: > > > > > > Cool :) Microphone still does not work for me.. I tried tweaking > > > > > > the alsamixer settings but no mic. This is with cold boot with > > > > > > droid4-kexecboot if that might make a difference, we may have > > > > > > some register uninitialized somewhere. Any ideas? > > > > > > > > > > Ok, I was focusing on the speaker side. > > > > > > > > > > alsamixer, tab to go to capture settings, set it to 37 37 Mic2 Mic1 > > > > > should work, according to my notes, but not recently tested and not > > > > > tested against real human. > > > > > > > > > > I'll attempt to test it, but something in my userland shuts down > > > > > system just after boot 60% of time, which is rather annoying. > > > > > > > > Hmm. So I tried again, and setting Mic1 and back in the capture > > > > settings crashed the modem. Bang, disconnected from the USB. > > > > > > Next try, and it worked this time. > > > > > > _Before the call_, set mode to Normal and then Call. Then go to > > > capture, and set 100 100 Mic2 Mic1. Then place a call, > > > > > > AT+CFUN=1 > > > OK > > > ATD6; > > > > No luck with microphone here :( Using ttyUSB4, AT+CFUN=1 > > works, but ATD command on it just hangs the USB interface > > and I have to reload phy-mapphone-mdm6600 to reset the > > modem. > > Test call with real human worked (thanks to Rolf K.), I could hear him > well but he reported call was very quiet. And that was with capture > settings at 100%. Maybe the volume also needs to be controlled at mdm6600 end. I'm seeing some AT+CLVL=n with n being between [0-7] calls on DLCI2 in my Android logcat logs. > If you had a register dump from android with mics working, preferably > not in speaker mode, perhaps I could try to figure it out? OK here are four diffs against starting the phone app for regular call, speaker call, and muted versions of them: http://muru.com/linux/d4/cpcap/ Also, I'm connected over cdma right now, not 3g, but I doubt that makes a difference for the microphone. Regards, Tony