From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f47.google.com ([209.85.215.47]:42610 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754553AbeDZQMg (ORCPT ); Thu, 26 Apr 2018 12:12:36 -0400 Date: Thu, 26 Apr 2018 18:12:28 +0200 From: Johan Hovold To: Lars Melin Cc: =?iso-8859-1?Q?Bj=F8rn?= Mork , Johan Hovold , SZ Lin =?utf-8?B?KOael+S4iuaZuik=?= , stable , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams Subject: Re: [PATCH] USB: serial: option: adding support for ublox R410M Message-ID: <20180426161228.GW4615@localhost> References: <20180426062831.320-1-sz.lin@moxa.com> <20180426070927.GT4615@localhost> <72c63853-aa2d-e74c-1112-36d54ef52a85@gmail.com> <20180426081403.GA335@localhost> <87r2n25i6i.fsf@miraculix.mork.no> <3895ed90-bbb9-e7ce-34c0-a1654646cf83@gmail.com> <98b50ae7-b889-6811-476e-9cdc8a62a484@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <98b50ae7-b889-6811-476e-9cdc8a62a484@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Apr 26, 2018 at 06:40:46PM +0700, Lars Melin wrote: > On 4/26/2018 18:39, Lars Melin wrote: > > On 4/26/2018 18:19, Bj�rn Mork wrote: > >> Anyway, Qualcomm based designs are definitely handled by both drivers. > >> Using qcserial only makes sense if the interface layout matches one of > >> the defined shared schemes, which currently are: > >> > >> ����QCSERIAL_G2K = 0,��� /* Gobi 2000 */ > >> ����QCSERIAL_G1K = 1,��� /* Gobi 1000 */ > >> ����QCSERIAL_SWI = 2,��� /* Sierra Wireless */ > >> ����QCSERIAL_HWI = 3,��� /* Huawei */ > > > > It seems to me that this Quectel device matches the interface layout for > > Gobi1K: > > > > �������� * Gobi 1K USB layout: > > �������� * 0: DM/DIAG (use libqcdm from ModemManager for communication) > > �������� * 1: serial port (doesn't respond) > > �������� * 2: AT-capable modem port > > �������� * 3: QMI/net > > �������� */ > Ublox, not Quectel.. Yeah, but qcserial appears to select a different altsetting for the DM port for Gobi 1000, an altsetting which this particular device does not have. I didn't re-read the full thread I referred to earlier, but I think in it, Dan mentioned Gobi 1000 device requiring firmware to be loaded too. So if it's not a G1K device, we probably shouldn't be using qcserial even if the interface layout happens to match. Thanks, Johan