Re: [PATCH] option: Improve Quectel EP06 detection

From: Lars Melin
Date: Wed Sep 12 2018 - 12:32:20 EST


On 9/11/2018 21:34, Kristian Evensen wrote:
On Tue, Sep 11, 2018 at 4:00 PM Lars Melin <larsm17@xxxxxxxxx> 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