Received: by 10.192.165.148 with SMTP id m20csp2330831imm; Thu, 26 Apr 2018 09:14:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/LGfG06LyxQbVHQnQukeGBcHMLr65x/MOJP6TuWNFcrRe+iiOJ+7Mlbm1BFQaqxjrDpZ80 X-Received: by 10.99.127.80 with SMTP id p16mr27739346pgn.79.1524759257552; Thu, 26 Apr 2018 09:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524759257; cv=none; d=google.com; s=arc-20160816; b=xT6SaGBUtyUTHXspmiNvF110/N8HiYuPB4CrJfGMx+VtP2y/bHs1IwoqZvnJJjckn/ vARnKMgywysrAMm9XUs38ijh0qQKHSCVE8cZlnCdlVGkcvOzWR2mRR04yfNjstHz1Mai NK/OAoxoudGkSuWbDn56FKDu+WSaO5vw0qHGQvgl+/TIxaAGZoVK449u+2LrgSiP8amJ BAhdDMLqpjcgX3PF4lpF7pGdRLrw/EBznrgJBij8FEg7wxfaZspF3jFcnS0eCb/3QRdx avu66cJFqZyhw/uBU9za+GK9B4cL3coR0bqZA1aOeVYczDeXT5qm1JEPwRQdK6vGDzKA o/qg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=7GGmbaRlNs6UqZvFQ89wDQn5dVJFAFGRRgO0We1MDKI=; b=XXtEQulL9U+5Z4+hHM5NAvsSLE3BBMSP+zcg1Wj8aUxPhemOuaC7YPprNkLY/qJIOS 3rgyK4/Fkw+A/y43boJTzO1zK13YddQ//J/cVzrbkzzyqn43Ler0pYKv5a3XzqcICdsJ 4VQB4TEZNP4AsGW+MIJbpHwXLW5kRlU9zciVjW56juAVUdtHtpAB8HvNlxb2YJTPCyEv sZH+Vrl+t4K4sht3Dpp+ythB45zZpYC9c+S5YDVqBQKoxhqvCQiy9SHxciaOLNP9ltcq WZ0D4/FmuTujFWGkuGdPqoTxXL/7nJeLmSOXqiZhf5IAKHjkBHz/HolRYMLxblozjjV+ H31Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Hh9VaxnG; 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 d124si5980995pgc.6.2018.04.26.09.14.03; Thu, 26 Apr 2018 09:14:17 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Hh9VaxnG; 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 S932152AbeDZQMj (ORCPT + 99 others); Thu, 26 Apr 2018 12:12:39 -0400 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 Received: by mail-lf0-f47.google.com with SMTP id u21-v6so29975674lfu.9; Thu, 26 Apr 2018 09:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=7GGmbaRlNs6UqZvFQ89wDQn5dVJFAFGRRgO0We1MDKI=; b=Hh9VaxnGk51FIviMD42w5nD/4rbyMz92zYi+FCCA4aSzGq99Bn8g4MXTt9XUW4xF3r M+8EQhNKLX5IXohGIWpirm4mPjzIj0avO+zQ6uKXbXhQ8xPVMcCFuUpLhKM6xeF+iHj4 1nVwaRMDdsE+2kz0xtrdA+Pe7xVcwcoIBsShNr4AV7ETuRoSJopiUCg0oVM16kMMgyfn amPchrFghpaeCgDR5FjjjZ30l9djFqWWhaEyAaqNmNeR3FcnwQk5bRwqLLjzGm7uI5C9 IPDGoHGTESA+wGA/lroBM1x03+Da8EyeGGItVdlmDPfxG7IJ4J/pwHDk6mrmkmL9nDs8 vjXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=7GGmbaRlNs6UqZvFQ89wDQn5dVJFAFGRRgO0We1MDKI=; b=MoMCMaFGsuzAcfKXq3eKkIOPKkatHu/+0LuwVBQVGRJkw79vpFEcLqED9I8fVSSJFA qDXi7wSfKKpt7xEYshUSR2Ba9jVdeLbmQFgBlS7Q7kIt6MQBL6zyMHQbvAyAW6XwtTjZ zVDt7xBTo6YkO+2IhszKw8iIZmsEooqdtOf/PAlKsXotIJWqvfg+KbaHuz2w2UHfodTv eN16ovX60fjCVHydAJt7ZyixXRidxf/h+7a8SjgvsCzwLrq8IX1OK0wUn4yUAFf7fqRb 7XNGSj7VH//X67IIosJM+cbRFQWLCzjWE/UrYuPMaOsyg4Ai/DK5gkaikMBfJEDdBz9i PDww== X-Gm-Message-State: ALQs6tBZWq4MLMtW8kyRHFQR+rZfzfffot90WS4zJG1LTRESBSkVrnaz VA82JwUnbKszNlmCCKAPNFg= X-Received: by 10.46.137.147 with SMTP id c19mr15895250lji.123.1524759155202; Thu, 26 Apr 2018 09:12:35 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.cust.bredbandsbolaget.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id i6sm375589lji.49.2018.04.26.09.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 09:12:34 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fBjVU-0003iz-EE; Thu, 26 Apr 2018 18:12:28 +0200 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> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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