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,URIBL_BLOCKED,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 B3658C43387 for ; Thu, 27 Dec 2018 10:16:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 858CD21741 for ; Thu, 27 Dec 2018 10:16:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730749AbeL0KQv (ORCPT ); Thu, 27 Dec 2018 05:16:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47012 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729015AbeL0KQu (ORCPT ); Thu, 27 Dec 2018 05:16:50 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id D722E806B4; Thu, 27 Dec 2018 11:16:43 +0100 (CET) Date: Thu, 27 Dec 2018 11:16:47 +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: <20181227101647.GA32260@amd> References: <20181217004450.GW6707@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20181217004450.GW6707@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 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > So the little elves have been slowly working to get voice calls > working on droid 4 with the mainline kernel. And just in time for the > upcoming holidays, it might be possible to call friends and > relatives. Thanks a lot for the Christmas present :-). > 2. Test a voice call >=20 > $ minicom -D /dev/motmdm1 # Then Ctrl-a-e to enable local echo > AT # Case sensitive AT commands.. > :OK # Response uses : as separator.. > AT+CFUN=3D1 # Enable radio > +CFUN:OK > ~+RSSI=3D1,9,108,99,0,0,0 > ... > ATD1234567890 # Dial some phone number > D:OK > ... > ATH # Hang up > H:OK Ok, I really need SMS messages, too. Fortunately, they are on /dev/motmdm9, in PDU format. Quite logical. And you probably need to acknowledge them, using PDU, too... (because otherwise you'll just get the same SMS over and over and over). Which is also logical, but hard to do from shell/python. Proper solution involves special support for ofonod... Fortunately ttyUSB4 still works, so I can still use my old code... and I started logging motmdm1 and 9 to a file as a backup... that should be better than my existing solution. (But I don't get power benefits etc.) Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwkpo8ACgkQMOfwapXb+vIwRQCeKWaJOmwziTu0UuqdIxXS0zM4 TckAn1AG9W8Gd8OVMedZPaQqhF2wrxRb =eDKP -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--