[PATCH] USB: qcaux: Add droid 4 mdm6600 modem
From: Tony Lindgren
Date: Sun Nov 19 2017 - 22:55:56 EST
We have five USB ports on mdm6600 modem and does not have the same
layout as layout as Gobi 1K/2K/etc devices listed in qcserial.c
So we should not be adding them to qcserial.c but instead use
qcaux.c or option.c as noted by Dan Williams <dcbw@xxxxxxxxxx>.
The ttyUSB ports detected by ModemManager are:
ttyUSB0 CQDM-capable
ttyUSB1 no response
ttyUSB2 no response
ttyUSB3 no response
ttyUSB4 AT-capable
Note that it takes a while for ModemManager to start while it's
detecting the ports, so we may want to eventually limit the ports.
So far no luck finding out what the unused three ports are, maybe
there is NMEA there if somebody knows how to enable it.
Signed-off-by: Tony Lingren <tony@xxxxxxxxxxx>
---
drivers/usb/serial/qcaux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/serial/qcaux.c b/drivers/usb/serial/qcaux.c
--- a/drivers/usb/serial/qcaux.c
+++ b/drivers/usb/serial/qcaux.c
@@ -66,6 +66,7 @@ static const struct usb_device_id id_table[] = {
{ USB_VENDOR_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, 0xff, 0xfe, 0xff) }, /* WMC */
{ USB_VENDOR_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, 0xff, 0xff, 0xff) }, /* DIAG */
{ USB_DEVICE_AND_INTERFACE_INFO(0x1fac, 0x0151, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(0x22b8, 0x2a70, 0xff, 0xff, 0xff) },
{ },
};
MODULE_DEVICE_TABLE(usb, id_table);
--
2.16.3