Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5686118imm; Wed, 12 Sep 2018 09:33:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYIBpAnH7f7+4pmpowyS2oklakP42luqAfiTFNxBqC+V8bLHfEybvVWgn9f0PzZZoPnQ6Mc X-Received: by 2002:a63:5419:: with SMTP id i25-v6mr3198651pgb.345.1536769980179; Wed, 12 Sep 2018 09:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536769980; cv=none; d=google.com; s=arc-20160816; b=DCj4nMFoKh4cfo0qxQN4yzcI/H2SelsOHFiEIvWTab1gITzKLsZ97E0SszQurjlZqW valpUev8qFbv5/XR8aJ2utz6n+aFK+qBGTpqBwQILu3k7ppybfEPzoBIGwdl0uAqIqmO x2KowCKMNNKHXfb/M31V2PIcgu+ETF+cdb9SeFrW5p+UxFqxoieK1c1n8poSYkGXBmmD 3VfeV2bfnL1tpW1IrvjL4aYrutHzehHLWmf6P9NlyM+1jM7Nfzwt/7AuXIYbx+wmnQvS +d+bKq0iQBMLPLzNHjUaoHveT+hMEdQtfy6waSg8SPbgWiuWLkPN+JThmpXmBouNYl62 Ma8g== 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; bh=f8FtWTdVZW5g6uBUuvIXYdUlKMP2b4Y+SqYwjFy8qDg=; b=nhxw254ww8WHbNb/bSXUsp9xMRHuu/CguJLmGtd4mC49GLs1i1wX+jWeConIpkhaJW pvB+aacP7mzYxFQudvEQDy7Fyq/xP+TrEzu5DTz2YPfVna4BO2tinuV8DZ9FWXdHq50N SoIYkSLt5lXZyn+xpGJ14vjk4iV9lMf07QkolpfblUoXTBSgvMl9RUwmLiatPcfYbjJb hW4TDWWU4y//sOQQ0K6b3eJ3a3UjLdOy3NoISrmUaaclHvHxoTafI13FC4vrOjQZBzY0 nk+SdwjmMhfnANy4NNPKmygZUcDMbLp9E3fGnTcTEu00BGZA2VNj0kwpB2uyYshiRYDJ oz1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nSYlmXnp; 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 c13-v6si1326463pfi.256.2018.09.12.09.32.23; Wed, 12 Sep 2018 09:33:00 -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=nSYlmXnp; 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 S1727369AbeILVhf (ORCPT + 99 others); Wed, 12 Sep 2018 17:37:35 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39663 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbeILVhf (ORCPT ); Wed, 12 Sep 2018 17:37:35 -0400 Received: by mail-pf1-f196.google.com with SMTP id j8-v6so1274322pff.6; Wed, 12 Sep 2018 09:32:17 -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=f8FtWTdVZW5g6uBUuvIXYdUlKMP2b4Y+SqYwjFy8qDg=; b=nSYlmXnp95UM5+93xxjY/Z+voyrHg0SLdXMipm+F2MD1YID71D9cFtyYB/lxofJa6T 1ei+5GGK0g0p5kjppF9qvkveuZZopLy0umVulen412L85QnD0fAZ33UJODCjBY/LqBmN j/9xrOdBxj19Z+sbeQXkrHMzZ4ksHyPPn5pNoYHVV5JjNB/zau4dcTho7XuUsXrrF84o ndBklohlOVjjhcJPGa5GuRwNjmX22FCfrMEsodhpbx3hnYVUwMKJoRr0D34vyU6xnxML cc8onwKMqegKFHIsy+FioOS1kmOIiNlhfR0zYD9hAdgjOeVtPpZc3hSlH0h4WKO0OZHn WMLw== 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=f8FtWTdVZW5g6uBUuvIXYdUlKMP2b4Y+SqYwjFy8qDg=; b=DCcbATye77Ms+ElLcZFl3ylJ53AJDzS0bGd3bBzmx0qa5PbAbASjeli4gsaAuHhNys zeYrbgZPlHMydbM7o6zhqLp4eP1Dh+sFeP9kqANZ3YLCpGRKn17lV/HxOW2SCealXx/7 IQxYYR2YA2Td5SQnVBHvhfiFWozlQpEuTZmzYoIXW7QJABNkzlicToOYD/cZ0ehD0fVF KP069LDbDUAog1st8z9CzrydzVwUFmg4vIfNicta04IX3f9pBnCQTtuyebqX7+eLIAXN NCfA43aTrMNZN5od9My8wiWhUELGnu6Z1BJrEMXh74ee2ARAIbl5C3ZdQdOwRn5qiRt0 MhXw== X-Gm-Message-State: APzg51CXNww50mcNMw88nnFZAE5qB7eIzhVjqD0L6lnHkuAsFMFv/7eg XpOhrOmNcN0aM4XRDPoHY/c2PcIM9g0= X-Received: by 2002:a63:c912:: with SMTP id o18-v6mr3115941pgg.331.1536769936553; Wed, 12 Sep 2018 09:32:16 -0700 (PDT) Received: from [192.168.1.5] ([119.42.83.160]) by smtp.googlemail.com with ESMTPSA id 3-v6sm3268549pfq.10.2018.09.12.09.32.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Sep 2018 09:32:15 -0700 (PDT) Subject: Re: [PATCH] option: Improve Quectel EP06 detection To: Kristian Evensen Cc: Johan Hovold , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180908125754.1947-1-kristian.evensen@gmail.com> <20180910103022.GR1089@localhost> <8ce10eef-f332-a1c0-e16e-fb1c2055131a@gmail.com> From: Lars Melin Message-ID: Date: Wed, 12 Sep 2018 23:32:12 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/11/2018 21:34, Kristian Evensen wrote: > On Tue, Sep 11, 2018 at 4:00 PM Lars Melin wrote: >> 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 > You have chosen a platform which has limited usb resources and want to solve that problem by adjusting the device driver? Why don't you just unbind those interfaces which you are not using and which are eating up your usb resources? Thanks /Lars