Skip to contentSkip to conversation

add Cellient MPL200 card

PATCH Superseded Wilken Gottwalt 4 participants 17 messages Oct 3, 2020 – Oct 8, 2020

Subsystems (6)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover add Cellient MPL200 card

Add the Cellient MPL200 card to usb/qmi_wwan and serial/option.

Wilken Gottwalt (2):
usb: serial: qmi_wwan: add Cellient MPL200 card
usb: serial: option: add Cellient MPL200 card

 drivers/net/usb/qmi_wwan.c  | 1 +
 drivers/usb/serial/option.c | 3 +++
 2 files changed, 4 insertions(+)
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/2 usb: serial: qmi_wwan: add Cellient MPL200 card

Add usb ids of the Cellient MPL200 card.

---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +1 -0
index 07c42c0719f5..0bf2b19d5d54 100644
@@ -1432,6 +1432,7 @@ static const struct usb_device_id products[] = {
 	{QMI_GOBI_DEVICE(0x1199, 0x901b)},	/* Sierra Wireless MC7770 */
 	{QMI_GOBI_DEVICE(0x12d1, 0x14f1)},	/* Sony Gobi 3000 Composite */
 	{QMI_GOBI_DEVICE(0x1410, 0xa021)},	/* Foxconn Gobi 3000 Modem device (Novatel E396) */
+	{QMI_FIXED_INTF(0x2692, 0x9025, 4)},	/* Cellient MPL200 (rebranded Qualcomm 0x05c6) */
 
 	{ }					/* END */
 };
Signature · 1 line
2.28.0
maintainer
#2 lore raw

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

drivers/net/usb/qmi_wwan.c

Quoted 11 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +0 -0
index 07c42c0719f5..0bf2b19d5d54 100644

This is not a 'usb: serial' driver. Please resend with a less confusing subject prefix.

drivers/net/usb/qmi_wwan.c static const struct usb_device_id products[] = { · line 1438

Quoted 8 lines
drivers/net/usb/qmi_wwan.c +1 -0
@@ -1432,6 +1432,7 @@ static const struct usb_device_id products[] = {
 	{QMI_GOBI_DEVICE(0x1199, 0x901b)},	/* Sierra Wireless MC7770 */
 	{QMI_GOBI_DEVICE(0x12d1, 0x14f1)},	/* Sony Gobi 3000 Composite */
 	{QMI_GOBI_DEVICE(0x1410, 0xa021)},	/* Foxconn Gobi 3000 Modem device (Novatel E396) */
+	{QMI_FIXED_INTF(0x2692, 0x9025, 4)},	/* Cellient MPL200 (rebranded Qualcomm 0x05c6) */
 
 	{ }					/* END */
 };

This table is supposed to be organized by device type. The last section is for Gobi2k and Gobi3k devices. Please try to put new devices into the correct section.

Thanks

Bjørn

#3 lore raw

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

Quoted 17 lines · On Sun, 04 Oct 2020 17:29:38 +0200 Bjørn Mork <[email protected]> wrote:

drivers/net/usb/qmi_wwan.c

Quoted 11 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +0 -0
index 07c42c0719f5..0bf2b19d5d54 100644

This is not a 'usb: serial' driver. Please resend with a less confusing subject prefix.

Quoted 14 lines
Quoted 9 lines
drivers/net/usb/qmi_wwan.c +0 -0
@@ -1432,6 +1432,7 @@ static const struct usb_device_id products[] = {
 	{QMI_GOBI_DEVICE(0x1199, 0x901b)},	/* Sierra Wireless MC7770 */
 	{QMI_GOBI_DEVICE(0x12d1, 0x14f1)},	/* Sony Gobi 3000 Composite */
 	{QMI_GOBI_DEVICE(0x1410, 0xa021)},	/* Foxconn Gobi 3000 Modem device (Novatel

E396) */

drivers/net/usb/qmi_wwan.c +1 -0
+	{QMI_FIXED_INTF(0x2692, 0x9025, 4)},	/* Cellient MPL200 (rebranded Qualcomm

0x05c6) */
{ } /* END */
};

This table is supposed to be organized by device type. The last section is for Gobi2k and Gobi3k devices. Please try to put new devices into the correct section.

Oh sorry, looks like I got it mixed up a bit. It was my first attempt to submit a patch set. Which is the best way to resubmit an update if the other part of the patch set gets accepted? The documentation about re-/submitting patch sets is a bit thin.

Will

maintainer
#4 lore raw

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

Quoted 35 lines · Wilken Gottwalt
Quoted 17 lines · On Sun, 04 Oct 2020 17:29:38 +0200 Bjørn Mork <[email protected]> wrote:

drivers/net/usb/qmi_wwan.c

Quoted 11 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/net/usb/qmi_wwan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +0 -0
index 07c42c0719f5..0bf2b19d5d54 100644

This is not a 'usb: serial' driver. Please resend with a less confusing subject prefix.

Quoted 14 lines
Quoted 9 lines
drivers/net/usb/qmi_wwan.c +0 -0
@@ -1432,6 +1432,7 @@ static const struct usb_device_id products[] = {
 	{QMI_GOBI_DEVICE(0x1199, 0x901b)},	/* Sierra Wireless MC7770 */
 	{QMI_GOBI_DEVICE(0x12d1, 0x14f1)},	/* Sony Gobi 3000 Composite */
 	{QMI_GOBI_DEVICE(0x1410, 0xa021)},	/* Foxconn Gobi 3000 Modem device (Novatel

E396) */

drivers/net/usb/qmi_wwan.c +1 -0
+	{QMI_FIXED_INTF(0x2692, 0x9025, 4)},	/* Cellient MPL200 (rebranded Qualcomm

0x05c6) */
{ } /* END */
};

This table is supposed to be organized by device type. The last section is for Gobi2k and Gobi3k devices. Please try to put new devices into the correct section.

Quoted 4 lines

Oh sorry, looks like I got it mixed up a bit. It was my first attempt to submit a patch set. Which is the best way to resubmit an update if the other part of the patch set gets accepted? The documentation about re-/submitting patch sets is a bit thin.

Just send these as individual patches (not a series) as they are independent and go through separate trees.

Also, I never received the USB serial patch, only this one, so you need to resend both anyway.

Johan

maintainer
#5 lore raw

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

Quoted 7 lines · Johan Hovold
Quoted 4 lines · Wilken Gottwalt

Oh sorry, looks like I got it mixed up a bit. It was my first attempt to submit a patch set. Which is the best way to resubmit an update if the other part of the patch set gets accepted? The documentation about re-/submitting patch sets is a bit thin.

Quoted 5 lines

Just send these as individual patches (not a series) as they are independent and go through separate trees.

Also, I never received the USB serial patch, only this one, so you need to resend both anyway.

Found it flagged spam, so no need to resend that one.

Just resend the networking one with a v2 prefix. In general, you could mention in a changelog in the cover letter that you've removed patches that have already been applied.

Johan

maintainer
#6 lore raw

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

In reply to Wilken Gottwalt
Quoted 4 lines · Wilken Gottwalt

Oh sorry, looks like I got it mixed up a bit. It was my first attempt to submit a patch set. Which is the best way to resubmit an update if the other part of the patch set gets accepted? The documentation about re-/submitting patch sets is a bit thin.

I see that Johan already has answered this. Just wanted to add that you don't need to worry about doing anything wrong. It was not my intention to scare you :-) Fixing up and resending patches is a natural part of the patch submission process. Don't be afraid to resubmit. The worst that can happen is that you'll be asked to fix up something else. That's not a problem.

The most important part is to make it clear that a resubmission replaces an earlier version of the same patch. This should be visible in the subject. E.g by using a revision number inside the brackes, like

[PATCH v2] net: qmi_wwan: add Cellient MPL200 card

This tells us that the patch is a revised "v2" of an earlier patch, and that it replaces "v1". Patches without an explicit revision will then be assumed to be "v1".

If you are sending a series, then the whole series should usually be resubmitted with the new revsion number. Even patches without any changes. The cover letter should then also summarize the changes for each revisions. But as Johan said: The USB serial and net patches go through different trees and are therefore best handled as standalone patches, even if they deal with the same USB composite device.

Bjørn

#7 lore raw

PATCH 2/2 usb: serial: option: add Cellient MPL200 card

In reply to Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/usb/serial/option.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/serial/option.c +3 -0
index 0c6f160a214a..a65e620b2277 100644
@@ -528,6 +528,7 @@ static void option_instat_callback(struct urb *urb);
 /* Cellient products */
 #define CELLIENT_VENDOR_ID			0x2692
 #define CELLIENT_PRODUCT_MEN200			0x9005
+#define CELLIENT_PRODUCT_MPL200			0x9025
 
 /* Hyundai Petatel Inc. products */
 #define PETATEL_VENDOR_ID			0x1ff4
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x02, 0x01) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) },
 	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) },
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, TPLINK_PRODUCT_LTE, 0xff, 0x00, 0x00) },	/* TP-Link LTE Module */
Signature · 1 line
2.28.0
maintainer
#8 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 20 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/usb/serial/option.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/serial/option.c +1 -0
index 0c6f160a214a..a65e620b2277 100644
@@ -528,6 +528,7 @@ static void option_instat_callback(struct urb *urb);
 /* Cellient products */
 #define CELLIENT_VENDOR_ID			0x2692
 #define CELLIENT_PRODUCT_MEN200			0x9005
+#define CELLIENT_PRODUCT_MPL200			0x9025
 
 /* Hyundai Petatel Inc. products */
 #define PETATEL_VENDOR_ID			0x1ff4

drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1987

Quoted 5 lines
drivers/usb/serial/option.c +2 -0
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x02, 0x01) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) },
 	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1990

Quoted 3 lines
drivers/usb/serial/option.c +0 -0
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) },
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, TPLINK_PRODUCT_LTE, 0xff, 0x00, 0x00) },	/* TP-Link LTE Module */

Johan

#9 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 18 lines · On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold <[email protected]> wrote:
Quoted 17 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---
 drivers/usb/serial/option.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/serial/option.c +1 -0
index 0c6f160a214a..a65e620b2277 100644
@@ -528,6 +528,7 @@ static void option_instat_callback(struct urb *urb);
 /* Cellient products */
 #define CELLIENT_VENDOR_ID			0x2692
 #define CELLIENT_PRODUCT_MEN200			0x9005
+#define CELLIENT_PRODUCT_MPL200			0x9025
 
Quoted 10 lines

drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1987

Quoted 8 lines
drivers/usb/serial/option.c +2 -0
 /* Hyundai Petatel Inc. products */
 #define PETATEL_VENDOR_ID			0x1ff4
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff,
 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2,
 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

I would like to, but unfortunately I lost access to this really rare hardware about a month ago. It is a Qualcomm device (0x05c6:0x9025) with a slightly modified firmware to rebrand it as a Cellient product with a different vendor id. How to proceed here, if I have no access to it anymore? Drop it?

Quoted 6 lines
Quoted 4 lines
drivers/usb/serial/option.c +0 -0
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) },
 	{ USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, TPLINK_PRODUCT_LTE, 0xff, 0x00,

0x00) }, /* TP-Link LTE Module */

Johan

greetings,
Will

maintainer
#10 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 18 lines · Wilken Gottwalt
Quoted 6 lines · On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold <[email protected]> wrote:
Quoted 4 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---

Quoted 8 lines

Review static const struct usb_device_id option_ids[] = { · line 1987

Quoted 6 lines
(quoted diff) +2 -0
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff,
 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2,
 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

Quoted 4 lines

I would like to, but unfortunately I lost access to this really rare hardware about a month ago. It is a Qualcomm device (0x05c6:0x9025) with a slightly modified firmware to rebrand it as a Cellient product with a different vendor id. How to proceed here, if I have no access to it anymore? Drop it?

No, that's ok, I've applied the patch now. It's just that in case we ever need to revisit the handling of quirky devices, it has proven useful to have a record the descriptors.

Do you remember the interface layout and why you blacklisted interface 1?

Johan

#11 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 24 lines · Johan Hovold
Quoted 18 lines · Wilken Gottwalt
Quoted 6 lines · On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold <[email protected]> wrote:
Quoted 4 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---

Quoted 8 lines

Review static const struct usb_device_id option_ids[] = { · line 1987

Quoted 6 lines
(quoted diff) +2 -0
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
  	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff,
 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2,
 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

Quoted 4 lines

I would like to, but unfortunately I lost access to this really rare hardware about a month ago. It is a Qualcomm device (0x05c6:0x9025) with a slightly modified firmware to rebrand it as a Cellient product with a different vendor id. How to proceed here, if I have no access to it anymore? Drop it?

Quoted 9 lines

No, that's ok, I've applied the patch now. It's just that in case we ever need to revisit the handling of quirky devices, it has proven useful to have a record the descriptors.

Do you remember the interface layout and why you blacklisted interface 1?

Johan

It is very likely that Cellient has replaced the VID with their own and kept the PID, it is something other mfgrs has done when buying modules from Qualcomm's series of devices with predefined composition.

The MS Windows driver for 05c6:9025 describes the interfaces as:

MI_00 Qualcomm HS-USB Diagnostics 9025
MI_01 Android Composite ADB Interface
MI_02 Qualcomm HS-USB Android Modem 9025 MI_03 Qualcomm HS-USB NMEA 9025
MI_04 Qualcomm Wireless HS-USB Ethernet Adapter 9025 MI_05 USB Mass Storage Device

where the net interface is for QMI/RMNET.
It fully matches the blacklisting Wilken has done for 2692:9025

br
Lars

#12 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 49 lines · On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin <[email protected]> wrote:
Quoted 25 lines · Johan Hovold
Quoted 19 lines · Wilken Gottwalt
Quoted 6 lines · On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold <[email protected]> wrote:
Quoted 4 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---

Quoted 9 lines

Review static const struct usb_device_id option_ids[] = { · line 1988

Quoted 7 lines
(quoted diff) +2 -0
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
  	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2,
 0xff, 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID,
 MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID,
 CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

Quoted 4 lines

I would like to, but unfortunately I lost access to this really rare hardware about a month ago. It is a Qualcomm device (0x05c6:0x9025) with a slightly modified firmware to rebrand it as a Cellient product with a different vendor id. How to proceed here, if I have no access to it anymore? Drop it?

Quoted 9 lines

No, that's ok, I've applied the patch now. It's just that in case we ever need to revisit the handling of quirky devices, it has proven useful to have a record the descriptors.

Do you remember the interface layout and why you blacklisted interface 1?

Johan

It is very likely that Cellient has replaced the VID with their own and kept the PID, it is something other mfgrs has done when buying modules from Qualcomm's series of devices with predefined composition.

The MS Windows driver for 05c6:9025 describes the interfaces as:

MI_00 Qualcomm HS-USB Diagnostics 9025
MI_01 Android Composite ADB Interface
MI_02 Qualcomm HS-USB Android Modem 9025 MI_03 Qualcomm HS-USB NMEA 9025
MI_04 Qualcomm Wireless HS-USB Ethernet Adapter 9025 MI_05 USB Mass Storage Device

Quoted 2 lines

where the net interface is for QMI/RMNET.
It fully matches the blacklisting Wilken has done for 2692:9025

Does your device have a GPS connector? Mine had not and I'm not sure if the description of MI_01 is actually correct. I remember looking at this port and seeing bogus NMEA data.

greetings,
Will

maintainer
#13 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 19 lines · Wilken Gottwalt
Quoted 18 lines · On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin <[email protected]> wrote:
Quoted 2 lines · Johan Hovold

Do you remember the interface layout and why you blacklisted interface 1?

It is very likely that Cellient has replaced the VID with their own and kept the PID, it is something other mfgrs has done when buying modules from Qualcomm's series of devices with predefined composition.

The MS Windows driver for 05c6:9025 describes the interfaces as:

MI_00 Qualcomm HS-USB Diagnostics 9025
MI_01 Android Composite ADB Interface
MI_02 Qualcomm HS-USB Android Modem 9025 MI_03 Qualcomm HS-USB NMEA 9025
MI_04 Qualcomm Wireless HS-USB Ethernet Adapter 9025 MI_05 USB Mass Storage Device

Quoted 6 lines
Quoted 2 lines

where the net interface is for QMI/RMNET.
It fully matches the blacklisting Wilken has done for 2692:9025

Does your device have a GPS connector? Mine had not and I'm not sure if the description of MI_01 is actually correct. I remember looking at this port and seeing bogus NMEA data.

Well if it's NMEA then the interface shouldn't be blacklisted (even if the values are bogus on your device), but if it's ADB it should be as that is handled by userspace.

Here's some lsusb output from a Cellient MPL200 that still uses the Qualcomm VID:

https://www.mail-archive.com/[email protected]/msg04523.html

which gives some support to Lars's hypothesis. I guess we'll just keep the first interface reserved.

Johan

#14 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 31 lines · On Tue, 6 Oct 2020 09:02:01 +0200 Johan Hovold <[email protected]> wrote:
Quoted 19 lines · Wilken Gottwalt
Quoted 18 lines · On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin <[email protected]> wrote:
Quoted 2 lines · Johan Hovold

Do you remember the interface layout and why you blacklisted interface 1?

It is very likely that Cellient has replaced the VID with their own and kept the PID, it is something other mfgrs has done when buying modules from Qualcomm's series of devices with predefined composition.

The MS Windows driver for 05c6:9025 describes the interfaces as:

MI_00 Qualcomm HS-USB Diagnostics 9025
MI_01 Android Composite ADB Interface
MI_02 Qualcomm HS-USB Android Modem 9025 MI_03 Qualcomm HS-USB NMEA 9025
MI_04 Qualcomm Wireless HS-USB Ethernet Adapter 9025 MI_05 USB Mass Storage Device

Quoted 6 lines
Quoted 2 lines

where the net interface is for QMI/RMNET.
It fully matches the blacklisting Wilken has done for 2692:9025

Does your device have a GPS connector? Mine had not and I'm not sure if the description of MI_01 is actually correct. I remember looking at this port and seeing bogus NMEA data.

Well if it's NMEA then the interface shouldn't be blacklisted (even if the values are bogus on your device), but if it's ADB it should be as that is handled by userspace.

Quoted 7 lines

Here's some lsusb output from a Cellient MPL200 that still uses the Qualcomm VID:

https://www.mail-archive.com/[email protected]/msg04523.html

which gives some support to Lars's hypothesis. I guess we'll just keep the first interface reserved.

Lars and Johan are right here. I found an older external Gobi driver where I actually added comments saying interface 1 is ADB and interface 3 is NMEA delivering only zeroed values because of the missing antenna connector, at least for the models I had access to.

Will

maintainer
#15 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

Quoted 35 lines · Wilken Gottwalt
Quoted 32 lines · On Tue, 6 Oct 2020 09:02:01 +0200 Johan Hovold <[email protected]> wrote:
Quoted 15 lines · Wilken Gottwalt
Quoted 13 lines · On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin <[email protected]> wrote:

It is very likely that Cellient has replaced the VID with their own and kept the PID, it is something other mfgrs has done when buying modules from Qualcomm's series of devices with predefined composition.

The MS Windows driver for 05c6:9025 describes the interfaces as:

MI_00 Qualcomm HS-USB Diagnostics 9025
MI_01 Android Composite ADB Interface
MI_02 Qualcomm HS-USB Android Modem 9025 MI_03 Qualcomm HS-USB NMEA 9025
MI_04 Qualcomm Wireless HS-USB Ethernet Adapter 9025 MI_05 USB Mass Storage Device

Quoted 6 lines
Quoted 2 lines

where the net interface is for QMI/RMNET.
It fully matches the blacklisting Wilken has done for 2692:9025

Does your device have a GPS connector? Mine had not and I'm not sure if the description of MI_01 is actually correct. I remember looking at this port and seeing bogus NMEA data.

Well if it's NMEA then the interface shouldn't be blacklisted (even if the values are bogus on your device), but if it's ADB it should be as that is handled by userspace.

Here's some lsusb output from a Cellient MPL200 that still uses the Qualcomm VID:

https://www.mail-archive.com/[email protected]/msg04523.html

Quoted 7 lines
Quoted 2 lines

which gives some support to Lars's hypothesis. I guess we'll just keep the first interface reserved.

Lars and Johan are right here. I found an older external Gobi driver where I actually added comments saying interface 1 is ADB and interface 3 is NMEA delivering only zeroed values because of the missing antenna connector, at least for the models I had access to.

Great, thanks for confirming.

Johan

#16 lore raw

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

In reply to Johan Hovold
Quoted 25 lines · On Mon, 5 Oct 2020 13:06:38 +0200 Johan Hovold <[email protected]> wrote:
Quoted 19 lines · Wilken Gottwalt
Quoted 6 lines · On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold <[email protected]> wrote:
Quoted 4 lines · Wilken Gottwalt

Add usb ids of the Cellient MPL200 card.

---

Quoted 9 lines

Review static const struct usb_device_id option_ids[] = { · line 1988

Quoted 7 lines
(quoted diff) +2 -0
@@ -1982,6 +1983,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2,
 0xff, 0x02, 0x01) }, { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID,
 MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) }, { USB_DEVICE(CELLIENT_VENDOR_ID,
 CELLIENT_PRODUCT_MEN200) },
+	{ USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MPL200),
+	  .driver_info = RSVD(1) | RSVD(4) },

Would you mind posting the output of "lsusb -v" for this device?

Quoted 4 lines

I would like to, but unfortunately I lost access to this really rare hardware about a month ago. It is a Qualcomm device (0x05c6:0x9025) with a slightly modified firmware to rebrand it as a Cellient product with a different vendor id. How to proceed here, if I have no access to it anymore? Drop it?

Quoted 6 lines

No, that's ok, I've applied the patch now. It's just that in case we ever need to revisit the handling of quirky devices, it has proven useful to have a record the descriptors.

Do you remember the interface layout and why you blacklisted interface 1?

If I remember correctly this interface belongs to the GPS data, but the card itself has no connector for a GPS antenna. The NMEA protocol data there were bogus values. I'm not sure if there is a hardware revision which has the connector, but the firmware seems to support it. Interface 4 is the qmi endpoint for sure. The other endpoints are Hayes protocol and diag.

greetings,
Will