Received: by 10.213.65.68 with SMTP id h4csp1876981imn; Thu, 29 Mar 2018 12:45:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/nbBRK1/ShV1olT7l8LbyXaWjspnQxDFKsGvPr3zDCXhySOV1AfQKWp7gHOW6hN1Ucemet X-Received: by 2002:a17:902:b191:: with SMTP id s17-v6mr3585718plr.137.1522352742290; Thu, 29 Mar 2018 12:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522352742; cv=none; d=google.com; s=arc-20160816; b=P7oFu7tCbm/YH09av3jRNj4gE45vh3ScYdgFfUeHsDjVprVeE7s69sXRKxk+8PE2Nu PmivwNcJItv2UWyBhcqTEIYXp7R6P66mi592VfNU6omF7sBUB5HMHfS+3lGqu2uax3z6 OcSmmZV7WRDxMKqY4T82GD4/Gr7MUBWofQ7Ap3TwNVRfa1VdMhjz1U5l8NIG4IIO9A/O 9yscF2Sil1hwulw1ool1DpBqSGRW62Mn6mvQv/kg/xAMiB8oSXEQfP9oUIR+OdNta2MB pN9/tL7MNjUj9CX+O8R/g+b3tlEtsmcOmSt4czQWk+4vouv/vTiwOxqCUUiDho+xXaWy pKng== 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=ewhx73GfV9CmbFQP8zjlcSvRRUXBrDt1DkG1OHrQtCA=; b=FRBA9RXUEn4Y48llSJAn07fx11rixxncCCGx3ahcgFpEfpj9idH3ijKNgfCqMp/qwg l8Nuhxjv2rdsynKWa6V7evjbKjet6nZS2EzUOxeGIGKQkx5471DUawVzAoQ8mbnTTJ30 h7v4vpmgRW1KyBibd+zUDCiAS2BVyqMDum8UiNx3x2WCNvF6q0upk30BfYS5Rb750fx2 M0IkJx/1XNd+2WbBMnxtXAEff+LJ6sgmaqmlymF1vag3roZToE/bMfKx7nDuWEeEHo0t wSto8c+6tdJjrgSxxrqtMwCFpDPBlhoQE8LU+p1iUIrQxyuREqMwf2sFlzu1d1pt49fl b4Hg== 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 c136si4497620pga.318.2018.03.29.12.45.27; Thu, 29 Mar 2018 12:45:42 -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 S1752051AbeC2ToR (ORCPT + 99 others); Thu, 29 Mar 2018 15:44:17 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:50176 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbeC2ToO (ORCPT ); Thu, 29 Mar 2018 15:44:14 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 5B28B8037B; Thu, 29 Mar 2018 21:44:12 +0200 (CEST) Date: Thu, 29 Mar 2018 21:44:12 +0200 From: Pavel Machek To: Dan Williams , ofono@ofono.org Cc: Sebastian Reichel , Tony Lindgren , Kishon Vijay Abraham I , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Marcel Partap , Michael Scott , Rob Herring Subject: Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4 Message-ID: <20180329194411.GD27688@amd> References: <20180309023750.108942-1-tony@atomide.com> <20180322135553.GA27648@amd> <20180322164633.GF5799@atomide.com> <20180322192843.GA17189@amd> <20180323105455.GB21644@amd> <20180323113521.45va72bhzis6ym6m@earth.universe> <20180323201343.GC23658@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tEFtbjk+mNEviIIX" Content-Disposition: inline In-Reply-To: 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 --tEFtbjk+mNEviIIX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Does ofonod work for you? I could not get that one to work... >=20 > Because it's looking for a Gobi modem but the MDM6600 isn't one and > doesn't expose that layout (and doesn't really need to anyway). I > don't think ofono has a generic QMI driver, so you'd either need to for > ce it to use the telitqmi or quectelqmi drivers, or write your own > generic QMI one. You are right, it is detected as gobi now: user@devuan:/my/ofono$ sudo python2 test/list-modems [ /gobi_0 ] SystemPath =3D /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb= 2/2-1 Features =3D Emergency =3D 0 Powered =3D 0 Lockdown =3D 0 Interfaces =3D Online =3D 0 Type =3D hardware =2E..and nothing works. commit db9b292f9290b97c87a8d4b4836af4763c06a39c Author: Bassem Boubaker Date: Mon Mar 19 17:57:31 2018 +0100 I tried this: diff --git a/plugins/udevng.c b/plugins/udevng.c index ff5d41af..6b103254 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -1578,8 +1578,6 @@ static struct { { "mbm", "cdc_ether", "0930" }, { "mbm", "cdc_ncm", "0930" }, { "hso", "hso" }, - { "gobi", "qmi_wwan" }, - { "gobi", "qcserial" }, { "sierra", "qmi_wwan", "1199" }, { "sierra", "qcserial", "1199" }, { "sierra", "sierra" }, @@ -1602,6 +1600,8 @@ static struct { { "telit", "cdc_acm", "1bc7", "0021" }, { "telitqmi", "qmi_wwan", "1bc7", "1201" }, { "telitqmi", "option", "1bc7", "1201" }, + { "telitqmi", "qmi_wwan", "22b8", "2a70" }, + { "telitqmi", "option", "22b8", "2a70" }, { "nokia", "option", "0421", "060e" }, { "nokia", "option", "0421", "0623" }, { "samsung", "option", "04e8", "6889" }, But no luck: ofonod[15879]: plugins/udevng.c:create_modem() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[15879]: plugins/udevng.c:create_modem() driver=3Dtelitqmi ofonod[15879]: src/modem.c:ofono_modem_create() name: (null), type: telitqmi ofonod[15879]: plugins/udevng.c:setup_telitqmi() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[15879]: plugins/udevng.c:setup_telitqmi() /dev/cdc-wdm0 255/251/255 05 (null) usbmisc ofonod[15879]: plugins/udevng.c:setup_telitqmi() wwan0 255/251/255 05 (null) net ofonod[15879]: plugins/udevng.c:setup_telitqmi() /dev/cdc-wdm1 255/251/255 06 (null) usbmisc ofonod[15879]: plugins/udevng.c:setup_telitqmi() wwan1 255/251/255 06 (null) net ofonod[15879]: plugins/udevng.c:setup_telitqmi() /dev/cdc-wdm2 255/251/255 07 (null) usbmisc ofonod[15879]: plugins/udevng.c:setup_telitqmi() wwan2 255/251/255 07 (null) net ofonod[15879]: plugins/udevng.c:setup_telitqmi() /dev/cdc-wdm3 255/251/255 08 (null) usbmisc ofonod[15879]: plugins/udevng.c:setup_telitqmi() wwan3 255/251/255 08 (null) net ofonod[15879]: plugins/udevng.c:destroy_modem() /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064800.ohci/usb2/2-1 ofonod[15879]: src/modem.c:ofono_modem_remove() 0x596480 ofonod[15879]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm0 ofonod[15879]: plugins/udevng.c:destroy_modem() wwan0 ofonod[15879]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm1 ofonod[15879]: plugins/udevng.c:destroy_modem() wwan1 ofonod[15879]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm2 ofonod[15879]: plugins/udevng.c:destroy_modem() wwan2 ofonod[15879]: plugins/udevng.c:destroy_modem() /dev/cdc-wdm3 ofonod[15879]: plugins/udevng.c:destroy_modem() wwan3 ofonod[15879]: plugins/upower.c:upower_connect() upower connect ofonod[15879]: plugins/hfp_hf_bluez5.c:connect_handler() Registering External Profile handler ... With quectelqmi result was similar. I know there are AT commands available at /dev/ttyUSB4. Is there easy way to make ofonod connect to that? Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --tEFtbjk+mNEviIIX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq9QgsACgkQMOfwapXb+vIYRwCfaMPX3tG2WfokQSGnBgAuPcdh GMQAoMEtLEciA7AIAasTmqdxmd/lV3Id =B5XZ -----END PGP SIGNATURE----- --tEFtbjk+mNEviIIX--