From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4 Date: Sat, 24 Mar 2018 21:02:24 +0100 Message-ID: <20180324200224.GA17857@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> <20180324142517.GA94954@atomide.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Return-path: Content-Disposition: inline In-Reply-To: <20180324142517.GA94954@atomide.com> Sender: linux-kernel-owner@vger.kernel.org To: Tony Lindgren Cc: Dan Williams , Sebastian Reichel , 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 List-Id: devicetree@vger.kernel.org --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat 2018-03-24 07:25:17, Tony Lindgren wrote: > * Dan Williams [180324 14:00]: > > On Fri, 2018-03-23 at 21:13 +0100, Pavel Machek wrote: > > > 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. >=20 > We also get five USB uarts if we add the device id with something > like the patch below. I don't quite get why we get five UARTS? Not sure, either. Often more than one uart is useful, you get AT commands on one, while GPRS data flow on some other.=20 > Also not sure if we should be using drivers/usb/serial/qcaux.c > instead of qcserial.c? >=20 > And from what I recall trying it out, adding the USB UARTs > somehow confused ModemManager I think, that needs to be retested > though :) >=20 > And the USB UARTs added do not offer the same set of AT commands > as the n_gsm serial mux. Hmm. Interesting. Anyway, for me ttyUSB4 is interesting, as it seems to react to AT commands, and in particular reacts to ADT123; (; is important). AT+CMGF=3D1 AT+CMGS=3D"123" foo^Z Works for SMS sending. Good. (And... Thanks!) Now, if someone knows what needs to be done to get GSM audio working, let me know. That's something I'd really like. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq2rtAACgkQMOfwapXb+vIfzwCfbqg02z0w/RbRCCJLVbkTsu7v 8doAn2cEZIYwoYurIUkBq7xfk5hI/gLE =mWT6 -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--