Received: by 10.192.165.148 with SMTP id m20csp2343537imm; Thu, 26 Apr 2018 09:25:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqnnClWlku0OGDmX0vQu41W0v+Zn39ACekhgx0YZ5hclqi+Fl2D60b4K0kG/Za084byoy/g X-Received: by 10.98.242.74 with SMTP id y10mr10653119pfl.75.1524759937250; Thu, 26 Apr 2018 09:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524759937; cv=none; d=google.com; s=arc-20160816; b=H7shP9PWJmtgzJQFnCvcvC2ZrkYvowmpDalSHUr1VnDBm7Uwwk/G+WodBEFlf80h7s MSxndWJkXiGBNHHUN7NqE6DADTXX27j5ZjuPqF35YJju8t6SCLqk8xrmCcOSzsF1ke8X Mf0KqCl7OAb8fRwYGvgFjswyq6+7Pa5VaqP/+L/7UULrvqqK+k3wVCInKDsOvrKyp/kH psz2w69W0axWFZ0/ZK8oYpZ3pYC/bR2zG4hdWSn6xypNwPBQ4jF9875Baks4cAKhks2x 6Rxp8Qy9GwP3Wl9GQfeFWMvE1pADftskg8ri+MIHj8jyE3nGyBBY4JXHKYzvyfKwq/y/ PkYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=0P8fsEtyuHR6roMDXm5wn6xqUHOABNZYJ0hyWoI/Gr8=; b=SkEptKTToiTaZoLMjA2+IgKMHUPx4TCyA5ZGod/JopcVT4mhXoBtSeICV95oM0Jwht 1aqIiEimyuc/jrsjmg2+27WO6DvCNo2JgcTGVnzvGsPLYuEsGb0Kbm9cLO6khBpMxVxr JE667s7H9JJOfvUfDU573Rq714EwpiPpgnuAkiqAE8bS9NoGWfrCf0XkZulHv0vVxobT 4ToqZGlQA1ZAMJbWlSTsfD2/oLxivrSq6H7cOJDRgEifSLMSkkh0mqBzyzWNeOnqQIMI KC/dmktvQdAfA7ycuR9X3Bu6slhAoGgPoBdW9ZSriZOiGnJ9Yo8+lLkM+3PRhOvjahE7 lN8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MA1spOHR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si5482113pfi.147.2018.04.26.09.25.22; Thu, 26 Apr 2018 09:25:37 -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=pass header.i=@gmail.com header.s=20161025 header.b=MA1spOHR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932250AbeDZQWe (ORCPT + 99 others); Thu, 26 Apr 2018 12:22:34 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:46533 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756803AbeDZQWb (ORCPT ); Thu, 26 Apr 2018 12:22:31 -0400 Received: by mail-pf0-f177.google.com with SMTP id p12so2791524pff.13; Thu, 26 Apr 2018 09:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0P8fsEtyuHR6roMDXm5wn6xqUHOABNZYJ0hyWoI/Gr8=; b=MA1spOHR5l3EwRoKc9mwUkdMtRQ9XNRlFIGMYuj0QorHrvAl2zArNdo+dCmB6IMOBi qhIs5+S3Uxi+AQzP058Pf1mU9O66N28mqn73AtY2ENKIcvTT203LtkKKgATm99flOWIR SAg7Jn2iuHLrCGjOUUnO9Ps6efhTlEHTkpLiCSCEjv0pybGLWVBqwvJ7s/ONWEWmZxVc Mi70pjI1MDhTKMj9yF1GAnKNsWwgeOGUhdKaKA8kHkK+EaVO7ww4sCDmCi/dn8gHOxg1 bW7lYRalmT9b42p/LTrEZ97MugKD7jhF1P4yyRNZFo5DgueuW1KB+EMVuZiQIJohOWXo ZGwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0P8fsEtyuHR6roMDXm5wn6xqUHOABNZYJ0hyWoI/Gr8=; b=hmkv8I3wkVjr/f+HGYRntF5aOzDlE2LYt9zlF7KyL5znxEWREwfxprn+IWROAuCBxN aVlOxZWm0+/RnFlszCLQNf0fBvRr1LoEjxdzdUXx0UuwttWOMX1RnDlyger0Cw5Yj8hA 7D4BsXubexSoThnkGATVZvWoG5BeP0j7g0/6hAVrZR+5os9t7gG7kn5/eFLqGaNGjmiy VXpYad//+MpljbBD6wSErs20hyAprZKkzp0wxYuEGjxUS2noaPLUblC+odUsrmBHrz0h qkf562jXExVuPckC5b8kOYlZ+coNiAVUqm/zt0H+d3l1ObRg0qUKMf3QwUl6QUU4WkXU l+Rg== X-Gm-Message-State: ALQs6tBvN1PDFNUXVMiu1rIhhusDVJZpq3C9NW58oj1JGW9B62jE7W8N nhKM0jeahDhlNlUPgt4qkYc= X-Received: by 10.99.140.14 with SMTP id m14mr28471238pgd.320.1524759750270; Thu, 26 Apr 2018 09:22:30 -0700 (PDT) Received: from [192.168.1.5] ([110.77.171.126]) by smtp.googlemail.com with ESMTPSA id e19sm33068757pff.169.2018.04.26.09.22.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 09:22:29 -0700 (PDT) Subject: Re: [PATCH] USB: serial: option: adding support for ublox R410M To: Johan Hovold Cc: =?UTF-8?Q?Bj=c3=b8rn_Mork?= , =?UTF-8?B?U1ogTGluICjmnpfkuIrmmbop?= , stable , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Williams 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> <20180426161228.GW4615@localhost> From: Lars Melin Message-ID: <09866ede-25cf-3ca1-1be6-e720b4b5dd23@gmail.com> Date: Thu, 26 Apr 2018 23:22:25 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180426161228.GW4615@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/26/2018 23:12, Johan Hovold wrote: > 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 Good point, I forgot about the required firmware loading for Gobi1K. So this device should be handled by the option driver. /Lars