From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FC4EC43387 for ; Wed, 16 Jan 2019 23:06:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 189D920675 for ; Wed, 16 Jan 2019 23:06:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388023AbfAPXGJ (ORCPT ); Wed, 16 Jan 2019 18:06:09 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49958 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387980AbfAPXGG (ORCPT ); Wed, 16 Jan 2019 18:06:06 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 59011801E9; Thu, 17 Jan 2019 00:05:57 +0100 (CET) Date: Thu, 17 Jan 2019 00:06:02 +0100 From: Pavel Machek To: Tony Lindgren Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Jarkko Nikula , Johan Hovold , Kuninori Morimoto , Marcel Partap , Merlijn Wajer , Michael Scott , NeKit , omerlle@gmail.com, Sebastian Reichel , Peter Ujfalusi , Rob Herring Subject: Re: WIP Droid 4 voice calls, GNSS & PM with a TS 27.010 serdev driver Message-ID: <20190116230602.GA3131@amd> References: <20181217004450.GW6707@atomide.com> <20181227101647.GA32260@amd> <20181228193105.GW6707@atomide.com> <20190116135829.GA10426@amd> <20190116145904.GM5544@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20190116145904.GM5544@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 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Yeah the scripts in droid4-sms-tools git repo work for me for sending > and receiving. They do not work with cdma currently as the format is > different. >=20 > Maybe you've managed to change the mode of the modem to queue the > messages with the at commands to the usb port? I did not have ttyUSB open during that boot. I hope this kind of settings does not survive across reboots. > You are reading and writing to /dev/motmdm9 for incoming sms right? Yes, I think so. Same one where hex-coded PDU comes. > > > My logs show that Android uses two different commands for ack. > > > Either AT+GCNMA=3D1 or AT+CNMA=3D0,0 gets used depending on something > > > that I have no idea of.. Maybe the network connected? >=20 > I think AT+GCNMA=3D1 works 3g and AT+CNMA=3D0,0 with cdma. Or it could be > that one of them is just a delayed ack, I don't know. Strange. It does not seem to be recognized at all. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlw/uNoACgkQMOfwapXb+vJkJgCgtVXOjauuirufh27+aE7wL1wK srwAoKKn3ZrHosTe5XBvcVSlcKcXrF59 =UwGO -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--