Received: by 10.213.65.68 with SMTP id h4csp901302imn; Sat, 31 Mar 2018 12:56:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx494Gds9L/WAIjf0n76/GW43CexSDKDFK+d3kqpudgKjSbTW9qZBk4yEM1GmZ+/Ch3v9KJzA X-Received: by 2002:a17:902:4481:: with SMTP id l1-v6mr4077097pld.43.1522526211283; Sat, 31 Mar 2018 12:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522526211; cv=none; d=google.com; s=arc-20160816; b=KGzmzO9Hb09B0qJhkkO9ryyk2GeblDVZy0VxYO2RDh7NAX/dB6MXOBfypHH1soHjme 6PiaIUM9CrDXIlLuKsLNtN2RKBgDO4BxoFZCfdiYOxIsEnri6CtqFIqudFXxftGC+icB j23ha1OctUClADn2D3+5fqOH6OW+HojnsJpnaWa0JJ/4MXW3ffUfurM8c2bej93Xm0sk e2mZfwHAAbeVV8DbRVUvuOWEa8Vuqv+IwsrpPb3wHFOD+MCbibTgWXxUFBGPAdLcWj0r ieomK9CMPaw/GEIjlemrMv1Jor5Oe7v2IBoLHg2tnx4auIyVqVoItiJDcHuuJvo6bkdV XDfg== 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=p5r0n6sanlZ9POGzBDyHcI9RBLeypK/NCg1zrczWyco=; b=C46Wv0xJZciS28ieQL0d6SCtQDUP/7RWybd+9njmGV+iuqO1AF6GrhJDk1LjyJuw1Y zGQvALmFe/1WleU0AHn1jlBjDorJTrfTISyyMlx4lk35rGW+gPAvCF6+MxnJnbhHZ2Bl /oyiAKa8ANboEKNgsYN9XtYmWI/whZS/rX7b34rp9XY0dPLhx1xrDgvW/u2krNjioqWk 4HviAioLlQZL3DCxN6I2JBEdVz4rUSPa68J2qulL6XRV/wtBPr44wfEdkZYIEFLdmW5X 45wMDPyUWh6PaBDgn1cIsWvpH5+PDJGHk6mi5Cp/MDm+K0NEgrNU9uPUh2bFt1zGCg00 kA2g== 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 o14si7458523pgn.655.2018.03.31.12.56.36; Sat, 31 Mar 2018 12:56:51 -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 S1751313AbeCaTz2 (ORCPT + 99 others); Sat, 31 Mar 2018 15:55:28 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53815 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbeCaTz0 (ORCPT ); Sat, 31 Mar 2018 15:55:26 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id EBDC0803E8; Sat, 31 Mar 2018 21:55:24 +0200 (CEST) Date: Sat, 31 Mar 2018 21:55:24 +0200 From: Pavel Machek To: Tony Lindgren 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: <20180331195524.GB19388@amd> References: <20180326155828.ttnduivadob4iqmd@earth.universe> <20180327121441.GH29239@sirena.org.uk> <20180327222237.wcx2aqznvdrvbaa5@earth.universe> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline In-Reply-To: <20180331194616.GA19388@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > > > * Pavel Machek [180331 14:56]: > > > > Hi! > > > >=20 > > > > > Hmm well I got audio call hacked to work as a proof of concept ha= ck, > > > > > see below. Maybe it can be used to verify some of the assumptions > > > > > above. > > > > >=20 > > > > > Then.. To split the work a bit, can you guys maybe try to decode > > > > > the cpcap register values and try to do a proper ASoC driver patc= h? > > > >=20 > > > > This is not proper patch yet, but it should be a step in that > > > > direction... > > >=20 > > > 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? > >=20 > > Ok, I was focusing on the speaker side. > >=20 > > 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. > >=20 > > I'll attempt to test it, but something in my userland shuts down > > system just after boot 60% of time, which is rather annoying. >=20 > 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=3D1 OK ATD6; If you change Mic1 setting, GSM modem will likely crash. Good luck, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq/56wACgkQMOfwapXb+vJ/qQCeIU54eQpC57waRBl7oeSUY2iq bgMAniWkWV59oz3p91PgHzDFqEDcXX1q =5l1u -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3--