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 C4627C43387 for ; Wed, 16 Jan 2019 15:10:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90475206C2 for ; Wed, 16 Jan 2019 15:10:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387937AbfAPPKA (ORCPT ); Wed, 16 Jan 2019 10:10:00 -0500 Received: from muru.com ([72.249.23.125]:33862 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729600AbfAPPKA (ORCPT ); Wed, 16 Jan 2019 10:10:00 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 04F7B8030; Wed, 16 Jan 2019 15:10:05 +0000 (UTC) Date: Wed, 16 Jan 2019 07:09:56 -0800 From: Tony Lindgren To: Pavel Machek 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: <20190116150956.GN5544@atomide.com> 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190116145904.GM5544@atomide.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [190116 14:59]: > * Pavel Machek [190116 13:58]: > > And I wanted to ask -- did you figure out how to acknowledge the > > SMSs? +CGNNA does not seem to do the job: > > > > 07912470338016... > > AT+CGNMA=1 > > +CGNMA:ERROR=9 > > 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. > > Maybe you've managed to change the mode of the modem to queue the > messages with the at commands to the usb port? > > You are reading and writing to /dev/motmdm9 for incoming sms right? To debug, you can modprobe n_gsm debug=0xff and you'll see all the packet data in dmesg, maybe email me the dmesg output of your ack command packet data? Or compare against what Android is doing, you can echo 0x7fffffff to the ts27010 sysfs debug file somewhere to see similar packet data with logcat -b radio. Regards, Tony