cdc_ncm tagging of Huawei devices as wwan

Bjørn Mork bjorn at mork.no
Tue Nov 19 03:34:39 PST 2013


Aleksander Morgado <aleksander at lanedo.com> writes:

> On 15/11/13 13:40, Bjørn Mork wrote:
>> I just stumbled across this thread:
>>   http://forums.linuxmint.com/viewtopic.php?f=53&t=148990
>> pointing to:
>>   http://forum.ubuntuusers.de/topic/huawei-e355-als-kabelnetzwerk-einbinden-wwan0-/
>> 
>> and did a "git blame drivers/net/usb/cdc_ncm.c".  Which I wish I could
>> say refreshed my memory....
>> 
>> Anyway, It seems that Huawei also makes non-wwan NCM devices, and
>> tagging them all as wwan obviously creates real problems for real users.
>> What do we do about that?  Revert the vendor match and add the known
>> wwan devices one by one?  Or add another rule, with an exception from
>> the exception for the E355?
>> 
>> Any idea and/or advice is welcome.
>
> Hard to tell... I guess we'll end up needing either a list of wwan
> modules or a list of non-wwan modules, whatever is easier?

I guess that is easy after all: I current know of 1 - one - non-wwan PID
and 0 - zero - wwan PIDs.

So it has to be wwan by default with a per-PID non-wwan whitelist.


Bjørn


More information about the ModemManager-devel mailing list