Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4141982imm; Tue, 11 Sep 2018 07:35:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZAJwszM+BY9IlQuGcK/zCxclrsscUCS29FHFPAR+z/nk1wTXgHsEwIX4h5lSkDtIAYRzKx X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr28925333pgv.387.1536676510115; Tue, 11 Sep 2018 07:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536676510; cv=none; d=google.com; s=arc-20160816; b=fwfG6EfQZVW7zkATfnsMPX3D6J4oycOh6BV8kdCP417X8KRDg9rIWyKyWh3NF8nMxD d8HAczfTyfX9YhbJs/zxs8kLUXPK533SfHaeLuBictzavnsWjbPLeQ+VSZ2ADzw5iyJa /a9pK1ybFGUGAO4RP8K9+9M1XIWtW/rJo7gcEs24YlE2ozBBP6h9cBQlgzmgQYWixV/D /BfsffHzGFy8ucUDWk6DVV/0EdAfQzEzzUZH+tevHGVmKo71NhPimK/VeoYU4PXnTvS3 fIhZ3Hjg0hWu/l8Ke3xSMm8E1ZMtqKdhq53S1RWNZWJiJFwjYUI7aKAsZ+cl1CvSl3Tk cd9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6kRI0bGnXFrJnydiZGXfMepAyhXINLy2lIXbQ2mJCcU=; b=Al7g/uWL9HsVYWVvI5s1UIC9r7yOmq37OfSf4m3xwvuWT7YbnF1E+8qWaJwEDpKAQi Rg2eRiCfbHUpVpr+zmpUVzpXmV1xvW/k/hVgkdFh04XzVRkihOE162iJROe2JtWTx0QU XJvNDbXnLplomaomWrk59CE52IW2okSZ5FGw0fA5WxCwTmhwUBxHCp9fVJRalqfY/4sX zenYQTzhg59+v2N3sDZafdURRPVnuJ3tRqQmdJ/A7wli42A6XKPiEpLP7U8m4niL69Hw Dnl4IxWvTtprpOf/Mc0/oqvFlI6gN50wJcbUfKQjWqL/lXZgNzcWaRCRBqyyc07RFNoJ MX5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vgim0BdM; 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 w3-v6si9317717pll.449.2018.09.11.07.34.54; Tue, 11 Sep 2018 07:35:10 -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=Vgim0BdM; 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 S1727752AbeIKTeF (ORCPT + 99 others); Tue, 11 Sep 2018 15:34:05 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:39885 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbeIKTeE (ORCPT ); Tue, 11 Sep 2018 15:34:04 -0400 Received: by mail-io0-f194.google.com with SMTP id l7-v6so3723223iok.6; Tue, 11 Sep 2018 07:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6kRI0bGnXFrJnydiZGXfMepAyhXINLy2lIXbQ2mJCcU=; b=Vgim0BdM0yaWxWtcEAZqLdyiH8JYuY+2MsqwM6bFBnyL94PDoxkRZd+uXDXaEFwcFC M+QLFsmeJYc8C9Q3XAQCohZeT+q+x//Di6rOKPa+rF+KidXe4MQp8fNy+tI6UL0YEKYg hQQH/XDGHL917orkIt5YnfMW7hpOaUMWVuqwbeWtMN3xg4vjMP1Y+bwMn1mTDH2I0+qA XCcyDhpCbpA68L1Yb0CKol1pnqpbS//I3HqjkGDUbqHk9yNIFiCWybpx6LYdIb/Jutnk zyVSz4JczM7F42Y6jh/yaMi6Iztlq4qlUCW/G2t7ycuF6oGbred/U2DpF0KzVsiNnWvG +rmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6kRI0bGnXFrJnydiZGXfMepAyhXINLy2lIXbQ2mJCcU=; b=OykGiRyCBTvB7cVA4Co706Z4JpiL+37+Pk0q0aJG//rOaavD4sLnQxmo+x7JBzMj5r 7Gt47pefVzzm2ByWnmnQRIK19OCO4igh45+LrVjE7QqokSXcNocq+hxoO/FICr39sXdZ kmpjOBo7XnewfLVwGAW6UAfxVRMJwG4zu/Yi0ayCC5irAac4iON7Z98WT52dCulaceiF j+ZxwhmcdMS7S7kZ7cgSYK2s3kFTerxcZ4ELhCV9wgFckOFYaf+Mk6XzWNGfL4+rhxdH Sa6rULadTIji39memHkOPdEPQRtC5LrYbFxUWRBqMhBltz59tbSIh2PR0gOjaI658hag QyAw== X-Gm-Message-State: APzg51DJXrFz9KgQGTeH9c7Ajwq2TdacgtXt+ZMPDfDuPrDCmovqUrSd VFp6jd794LXt1s5ZkIErzTdrH6yCjlEzHvdc4Ts= X-Received: by 2002:a6b:d819:: with SMTP id y25-v6mr22553982iob.247.1536676469513; Tue, 11 Sep 2018 07:34:29 -0700 (PDT) MIME-Version: 1.0 References: <20180908125754.1947-1-kristian.evensen@gmail.com> <20180910103022.GR1089@localhost> <8ce10eef-f332-a1c0-e16e-fb1c2055131a@gmail.com> In-Reply-To: <8ce10eef-f332-a1c0-e16e-fb1c2055131a@gmail.com> From: Kristian Evensen Date: Tue, 11 Sep 2018 16:34:18 +0200 Message-ID: Subject: Re: [PATCH] option: Improve Quectel EP06 detection To: Lars Melin Cc: Johan Hovold , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 11, 2018 at 4:00 PM Lars Melin wrote: > This also becomes a mess for the qmi-wwan driver which has the rmnet/qmi > interface hardcoded to 4 so that driver will also need a workaround. > Quectel seems to have completely missed the reason why usb id's should > be unique and not reused for a different product or a different > interface layout, there is already a workaround in qmi-wwan for their > previous EC-20 card... A patch has already been submitted to work around the issue in qmi driver. > My opinion is that the option and qmi-wwan drivers should support EP06 > in the factory delivery configuration and not in a configuration the > user has selected with a Quectel proprietary AT cmd. > Can you give some good reason for disabling an interface instead of > letting it stay but not use it if you don't need it? Yes. I am working with two boards, one based on MT7621 and the other on MT7623, and I would like to connect two EP06-modems to these boards. However, the USB-controller used on these SoCs has a (very) limited number of USB endpoints. With the default configuration, there are only enough endpoints for one EP06-modem to work properly. By disabling diag, there are enough endpoints for both modems to work correctly. BR, Kristian