Received: by 10.213.65.68 with SMTP id h4csp2124501imn; Sun, 8 Apr 2018 20:18:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx48RmQ3hS3RQY7y4XmkAcs6Lvqnhe2atYFCKSIIwtCWA1A9Jd21FBHAvRG3KGw424tbY9LuJ X-Received: by 2002:a17:902:5902:: with SMTP id o2-v6mr35931758pli.81.1523243928032; Sun, 08 Apr 2018 20:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243928; cv=none; d=google.com; s=arc-20160816; b=Z0AK53C3dq1VtILknPrTttuDbGTum9p69V17DJorAoyUYHpizP9rIHjDLnOc2hHlOy P07qzSvgZowpj67ubR79i0pXf9cbuR3odY4iSxSMGb1Vp6/hKHyrtADNSNd4N2aAQeCQ fJLNAy14NE4pZzjfOHTsBJVkAX7j3M+YdlsX2MBo4IqClG3asI8gplLf71XfmONSYzUz CRN5z+OzXUusCjxmOyqywFV9LKjNAdJRBtD1c0JUJyz9lzi+IjGmdxuDxm2VbfqRK4sg rpDyfn7tXmaBUPez7gdNmqZ8nZQXMMMDcmjb+tfdd/vMx1TQvNjCS8m1JAXV+XkGdEZE xB3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=FyV1mo9RHhqwbDc+UnOrn2rhI4gWQKvAPz+SYfM8i90=; b=u7ZC8t1QaZPo3+kzhZEx0Cefu4kB9muCcg0yC3zY+PwT/H0wyx/yxdk7dTsjqSahMo aGtlBizMRMlx/7YFbKreHJ2eCxXBS6u7mR0YeF36Qt3Dqp79ypFfhABPPK22kz2Yyuk7 O8oGnb6MxpIUEUjFGfw8taSMxgB6fZ1b2kKt3F100XPM4zQFo+2k3Lr/71Fw5xW1LCi3 aiy9Wv1gnFXhjbsIhwsGOhUq1Dy+gxXR/0sOEduBzbf4cEZpPHZo1y2ulxihuT0oJiAz Bgey9OxtTbPLBZWpVSl4Pi0aA/0MSASXvcOqP5JzapEXCqQ+7gTVwNaH55YF5gQQYi/1 Npiw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32-v6si13746197pld.591.2018.04.08.20.18.11; Sun, 08 Apr 2018 20:18:47 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752852AbeDIDPj (ORCPT + 99 others); Sun, 8 Apr 2018 23:15:39 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:48430 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752879AbeDIDPf (ORCPT ); Sun, 8 Apr 2018 23:15:35 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8F24E4022909; Mon, 9 Apr 2018 03:15:34 +0000 (UTC) Received: from ovpn-112-10.rdu2.redhat.com (ovpn-112-10.rdu2.redhat.com [10.10.112.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 92D53D7E0E; Mon, 9 Apr 2018 03:15:31 +0000 (UTC) Message-ID: <1a37aaadcd25b849d81bf295b28cdad7d5ffd1d2.camel@redhat.com> Subject: Re: simultaneous voice/data works (was Re: call/normal switch was Re: omap4-droid4: voice call support was) From: Dan Williams To: Pavel Machek Cc: Merlijn Wajer , Tony Lindgren , 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 Date: Sun, 08 Apr 2018 22:15:30 -0500 In-Reply-To: <20180408074124.GA19844@amd> References: <67086fdd0cdd69142cb89cd00f90e5a580e6607a.camel@redhat.com> <20180402155754.GD5700@atomide.com> <20180403150444.GE5700@atomide.com> <20180403155023.GA14638@atrey.karlin.mff.cuni.cz> <20180403194419.GG5700@atomide.com> <20180406120423.GA18691@amd> <516eb3f7-e300-d59d-6a31-ab7545c656f1@wizzup.org> <20180407081000.GB7818@amd> <20180407122233.GA11302@amd> <20180408074124.GA19844@amd> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 09 Apr 2018 03:15:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 09 Apr 2018 03:15:34 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dcbw@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-04-08 at 09:41 +0200, Pavel Machek wrote: > Hi! > > > > mmcli -m 0 --enable > > > mmcli -m 0 --location-enable-gps-nmea > > > watch -n .3 sudo mmcli -m 0 --location-get-gps-nmea > > > > > > ...can be used to get GPS data. Droid4 seems to have rather bad > > > GPS, > > > so you should probably put it near window for testing. > > > > > > Is there way to grab data from modemmanager and feed it to gpsd, > > > so > > > that normal applications can access gps? I don't see easy way. > > > > > > I tried --location-enable-gps-unmanaged , but that did not work > > > for > > > me. > > > > That requires a TTY that would spit out the GPS data; in this mode > > MM > > only sends the start/stop commands, and what comes out the GPS TTY > > is > > undefined (at least by MM). > > > > So unless you know that one of the 6600's TTYs does GPS and in what > > format it does GPS, then no. > > > > Doesn't --location-get-gps-nmea work for you? That will spit out > > the > > latest NMEA traces MM gets from the modem, if it supports NMEA. I > > believe --location-status will tell you what methods MM supports > > with > > the modem. > > Yes, --location-get-gps-nmea works for me. > > I guess one way forward would be to implement --location-get-gps-nmea > support for qmicli, and use that? Yeah, libqmi already has the necessary bits but it's not plumbed through to qmicli. Note that qmicli is a straight interface to QMI and doesn't try to impose abstractions on anything, so you wouldn't get -- location-get-gps-nmea, but you'd instead be working directly with the QMI PDS (older) and/or LOC (newer) service commands. Dan