Received: by 10.213.65.68 with SMTP id h4csp1807563imn; Thu, 29 Mar 2018 11:24:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/1AhVUW4H2noirvaKZCJY6nx4rwHfMHyLh+NDi+KpAt1VQvY3tXUQjD9dAQAOmOY3pPgaH X-Received: by 2002:a17:902:22a:: with SMTP id 39-v6mr9613846plc.128.1522347859866; Thu, 29 Mar 2018 11:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522347859; cv=none; d=google.com; s=arc-20160816; b=MSY2FGkXPZt6wVMnm5w2v7RSaYZi6D2tAUWdLLCT/xzr5/9VIrGW+Sbz9yugZ7ftVR eXc7v/AoJb2Uq0CssbiJIsFxDBNBs5gvLEpZdxuHA5j2EPw5u2a9nDj++VyrK6vClq0t 2GfmcGImCHbH12WZKdCIZ0ZxE4HNvaLodAhN7p11GjnW+DdDL2H4qwCS92N8lO7+k7T0 gXbN7ofewnHuzVfy7k2zkb0kTF4R4M46g/AO8ji3aLWMtrpkOHFQ16eOdjebbNd1Wqr+ csN4tfD7S/UATqwl3A6XAWEJX61tqHTgSyM3c+qW0NWjaV+R4XtreuZhZws3cVHBw7CY 9OsQ== 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=v6nKNP94xwrhC6RdJbyCAR+Eo64eQf1p3KJ2lOtsoZ4=; b=vNnVYZftdKyDyV1TcP7AYlm0BSRfcXnsVvFaZC2aT4h0N0EvmMXk5Z3WzNh++xQZ/O +1vb+cLayfLKxixV9KIccQymGlo/o4mUwuZYnDYOVB/ZTjZgqPi3ZRxN8n9GUR/VgPNa pacLLsHQdqLDKo9+x2O59pQQr8Yyu1d9BlW/EG6jm5mltTbZFC9GHdyA5+7S/34gn12e QMeuQZjtUCKj9Gl24EqvfwaQVmd+P+GZXNTXn+aSFKLPuMF3FEVcXRgbjGcbl6UivBww W6uD3M5FZ1neVWW5Oid7K9Nteb7wG0SMJprYhm3qeP6Gv8eaIJ+2FniafLlQ03uvjqDm Z7Mw== 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 s21si4929593pfi.87.2018.03.29.11.24.06; Thu, 29 Mar 2018 11:24:19 -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 S1753505AbeC2SFr (ORCPT + 99 others); Thu, 29 Mar 2018 14:05:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47398 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752869AbeC2SFn (ORCPT ); Thu, 29 Mar 2018 14:05:43 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id AD13680391; Thu, 29 Mar 2018 20:05:41 +0200 (CEST) Date: Thu, 29 Mar 2018 20:05:41 +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: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180329180541.GA26545@amd> References: <20180323103006.alymgb3ywftb4gek@earth.universe> <20180326141638.GB1450@amd> <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> <20180329160828.GA14007@amd> <20180329163450.GQ5700@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20180329163450.GQ5700@atomide.com> 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 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2018-03-29 09:34:50, Tony Lindgren wrote: > * Pavel Machek [180329 16:09]: > > > Then using the n_gsm ts 27.010 uart mux, I dial: > > >=20 > > > ./ngsm-rw 1 "AT+CFUN=3D1" # connect to network > > > U0001+CFUN:OK > > > ./ngsm-rw 2 "AT+CMUT=3D0" # unmute speaker over ch2, do this over qm= i? > > > U0001+CMUT:OK > > > ./ngsm-rw 1 "ATD#123" # dial number > > > U0001D:OK > > >=20 > > > And I do hear a voice talking over the speakerphone :) Sorry have not= tested the > > > mic yet.. > >=20 > > Hehe, ok, that's fun! I don't need +CMUT=3D0. It gave me error but then > > the call worked, anyway... (I'm working with ttyUSB4). >=20 > Oh interesting. So maybe Android is doing AT+CMUT=3D0 for some other > modems and it's not really needed? Or you have settings preserved > from warm boot from Android? No idea. But I booted from recovery, and I had to power up modem using +CFUN... > I did not have any luck with ttyUSB4 last night. Did you dial with > ATD123; or ATD123? So is the semicolon really needed? > AT+CFUN=3D1 OK ATD800123456 NO CARRIER ATD800123456; OK I seem to need semicolon. And yes, I tried again after the call. Still says no carrier. Hmm. And when calling test number, the modem failed: > [ 438.236755] Somebody do a proper driver please cpcap_soc_work [ 495.496032] phy-mapphone-mdm6600 usb-phy@1: modem status: 0 off [ 499.406005] phy-mapphone-mdm6600 usb-phy@1: modem status: 0 off [ 499.407318] usb 2-1: USB disconnect, device number 2 [ 499.424926] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0 [ 499.434112] qcserial 2-1:1.0: device disconnected [ 499.443389] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1 [ 499.451904] qcserial 2-1:1.1: device disconnected [ 499.460968] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2 [ 499.469512] qcserial 2-1:1.2: device disconnected [ 499.478057] qcserial ttyUSB3: Qualcomm USB modem converter now disconnected from ttyUSB3 [ 499.486572] qcserial 2-1:1.3: device disconnected [ 499.504760] qcserial ttyUSB4: Qualcomm USB modem converter now disconnected from ttyUSB4 [ 499.513244] qcserial 2-1:1.4: device disconnected [ 499.519104] qmi_wwan 2-1:1.5 wwan0: unregister 'qmi_wwan' usb-4a064800.ohci-1, WWAN/QMI device [ 499.611511] qmi_wwan 2-1:1.6 wwan1: unregister 'qmi_wwan' usb-4a064800.ohci-1, WWAN/QMI device [ 499.676086] Somebody do a proper driver please cpcap_soc_work [ 499.688323] qmi_wwan 2-1:1.7 wwan2: unregister 'qmi_wwan' usb-4a064800.ohci-1, WWAN/QMI device [ 499.768859] qmi_wwan 2-1:1.8 wwan3: unregister 'qmi_wwan' usb-4a064800.ohci-1, WWAN/QMI device That one will be fun to debug, I'm afraid. (Or does the message at 495.496032 mean that we turned it off?) Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq9KvUACgkQMOfwapXb+vI3aACeMTD7Ccii/NsR4dxiS/2u9eAH 6nIAoLWmdDoXg6IwiSLMkYtvm9hw0jMZ =W3nw -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--