Received: by 10.213.65.68 with SMTP id h4csp588074imn; Sat, 7 Apr 2018 05:25:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx490guG1QPfftzx158p3UVeAyG8n1YMQJmTk2fsPCuLcgVMLIYUabUMQ+mYb/6dUUlnfkQHe X-Received: by 10.99.43.70 with SMTP id r67mr20584500pgr.422.1523103955448; Sat, 07 Apr 2018 05:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523103955; cv=none; d=google.com; s=arc-20160816; b=dDpzI+KqNaishyMl1qZcrUeqIskSCBNs+NeRVuPy9MwlnuLDH+7S0QVUU2sSMQBtHp PnC8M7caqLuJbjRSLlA7wA121DVHeIk7OoMe6KKSdGroU5JisyDKu8n9aYeQFzvi9xLw yrhbXK3LgN6wduwItv0CPsq7Se1VJowYVKXgLMj/3miv9NB2x8oI8bpOqieA53c0Ncfb TBjgqXBnj9rVHNdqjQzf9eEDXvo9gBXp9Gz5933HxpzUtkVP03u93O0RQApDsAKwNufu t29DIN+zIkSL2GjqIb0jpO1yOmEFecfmkaaopVth9y6zQKJibIgiF2TWh2HvQlUz5bk8 oUPA== 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=7XtuRPbt9jhi0juAtCT0Yj2aOH1wIz13vNhnJwRsxRs=; b=zmMInuOZjo6ldegn1s8ZtbZLXIBaS82FWFKx2EFRFxi2mirZcaXHuG33xCSqW2Vr6Z mNCGMm2u71MG2+wyqK2Tce23xj0h+tyVDeGVzMwebT70Ps3QUdIIgM0XH+cdWyzEgc70 WW4qJuMI7eXSYZBSvRyWJt/GeHac84a6D+TYJPYWWWJzM1fXw2pRrA6SGKAo00ZM79kW Pw4dN2yZgPjAfBozrhPICOuIuv4JL3Xxs46+oqzj0NODS+Ql2N1IG0Od8zxY97vgsKAS VIU9XZxehnRHiOpS900HM9/xVapv/jEusiMft3iNltNnrM2rBxVxnYgJG/T7Y7q5lUA+ ctTg== 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 b2si225527pgc.275.2018.04.07.05.25.18; Sat, 07 Apr 2018 05:25:55 -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 S1751572AbeDGMWg (ORCPT + 99 others); Sat, 7 Apr 2018 08:22:36 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36665 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeDGMWf (ORCPT ); Sat, 7 Apr 2018 08:22:35 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9A6EB803D4; Sat, 7 Apr 2018 14:22:33 +0200 (CEST) Date: Sat, 7 Apr 2018 14:22:33 +0200 From: Pavel Machek To: Merlijn Wajer Cc: Tony Lindgren , Dan Williams , 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 Subject: Re: simultaneous voice/data works (was Re: call/normal switch was Re: omap4-droid4: voice call support was) Message-ID: <20180407122233.GA11302@amd> References: <20180401153631.GA5700@atomide.com> <20180401173012.GB5700@atomide.com> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <20180407081000.GB7818@amd> 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 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat 2018-04-07 10:10:00, Pavel Machek wrote: > Hi! >=20 > It seems qmicli can be used while unicsy_demo/ofone talks to the modem > using the AT commands. >=20 > So I could do: >=20 > qmicli -d /dev/cdc-wdm0 --wds-follow-network --wds-start-network=3Dapn=3D= internet.t-mobile.cz > route del default > sudo ifconfig wwan0 up > dhclient wwan0 >=20 > to get GPRS/UMTS connection. AT commands still work. >=20 > Does anyone have any idea what to do to get the GPS to work? Got that to work. I installed modemmanager -- unfortunately that claims ttyUSB4 so it breaks voice/sms -- but then mmcli -m 0 --enable mmcli -m 0 --location-enable-gps-nmea watch -n .3 sudo mmcli -m 0 --location-get-gps-nmea =2E..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. Is modemmanager enabling GPS, or is it talking to libqmi to do that? The code is quite confusing to me... Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlrIuAgACgkQMOfwapXb+vKwNgCgnpkGp1ZCvHY6YIGdLkLNZj2B bF4An2dCSDEPgPDJVe6bZ9cpT1Ob5zoX =4HlO -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--