Re: [PATCH v2] usb: cdc-wdm: Add device-id for Huawei 3G/LTE modems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag, 23. Januar 2012, 18:33:41 schrieb Dan Williams:
> So the Pantech UML290 has the following layout:
> 
> 0 (2/2/1):    CDC-ACM for AT commands
> 1 (10/0/0):   CDC-DATA for interface 0
> 2 (ff/ff/ff): Qualcomm DIAG
> 3 (ff/fd/ff): NMEA
> 4 (ff/fe/ff): Pantech WMC
> 5 (ff/f0/ff): RMNET/QMI port
> 
> Interface 5 is obviously the one we want here.  And the WDM driver is
> only looking for certain descriptors.  Do we hack CDC-WDM and qmi_wwan
> up for these types of devices?
> 
> Second, on Gobi devices, we have four USB interfaces, all FF/FF/FF.
> Intf 0 and 2 have interrupt endpoints.  One of them is a DIAG interface,
> one is NMEA, and the other two are AT and RMNET/QMI.
> 
> I think so far the Huawei device is the only one that I've seen that
> exposes descriptors that are quasi-CDC at all.  How should we handle the
> rest of these?

As long as they speak the same protocol, we have no way but to code them
hard into cdc-wdm as special cases. They have to be special cases as it is
unpredictable what interface to talk to. So we can just as well keep the code
in a single driver.

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux