Add the BroadMobi BM818 card
Subsystems (6)
cover Add the BroadMobi BM818 card
Add qmi_wwan and option support for the BroadMobi BM818
Bob Ham (2):
usb: serial: option: Add the BroadMobi BM818 card
net: usb: qmi_wwan: Add the BroadMobi BM818 card
drivers/net/usb/qmi_wwan.c | 1 + drivers/usb/serial/option.c | 2 ++ 2 files changed, 3 insertions(+)
Signature · 1 line
2.17.1
PATCH 1/2 usb: serial: option: Add the BroadMobi BM818 card
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
--- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/usb/serial/option.c +2 -0
@@ -1975,6 +1975,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(4) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ .driver_info = RSVD(6) }, + { USB_DEVICE(0x2020, 0x2060), /* BroadMobi */ + .driver_info = RSVD(4) }, { } /* Terminating entry */ };MODULE_DEVICE_TABLE (usb, option_ids);
Signature · 1 line
2.17.1
PATCH 2/2 net: usb: qmi_wwan: Add the BroadMobi BM818 card
In reply to Angus Ainslie (Purism)From: Bob Ham <[email protected]>
The BroadMobi BM818 M.2 card uses the QMI protocol
--- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/usb/qmi_wwan.c +1 -0
@@ -1295,6 +1295,7 @@ static const struct usb_device_id products[] = { {QMI_FIXED_INTF(0x2001, 0x7e3d, 4)}, /* D-Link DWM-222 A2 */ {QMI_FIXED_INTF(0x2020, 0x2031, 4)}, /* Olicard 600 */ {QMI_FIXED_INTF(0x2020, 0x2033, 4)}, /* BroadMobi BM806U */ + {QMI_FIXED_INTF(0x2020, 0x2060, 4)}, /* BroadMobi BM818 */ {QMI_FIXED_INTF(0x0f3d, 0x68a2, 8)}, /* Sierra Wireless MC7700 */ {QMI_FIXED_INTF(0x114f, 0x68a2, 8)}, /* Sierra Wireless MC7750 */ {QMI_FIXED_INTF(0x1199, 0x68a2, 8)}, /* Sierra Wireless MC7710 in QMI mode */
Signature · 1 line
2.17.1
Re: [PATCH 2/2] net: usb: qmi_wwan: Add the BroadMobi BM818 card
From: "Angus Ainslie (Purism)" <[email protected]>
Date: Wed, 24 Jul 2019 07:52:27 -0700
Quoted 6 lines
From: Bob Ham <[email protected]>
The BroadMobi BM818 M.2 card uses the QMI protocol
Signed-off-by Bob Ham <[email protected]>Signed-off-by Angus Ainslie (Purism) <[email protected]>
Applied, thanks.
Johan Hovold
maintainerRe: [PATCH 1/2] usb: serial: option: Add the BroadMobi BM818 card
In reply to Angus Ainslie (Purism)Quoted 3 lines · Angus Ainslie (Purism)
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
Would you mind posting the output of usb-devices (or lsusb -v) for this device?
Quoted 11 lines
Signed-off-by Bob Ham <[email protected]>Signed-off-by Angus Ainslie (Purism) <[email protected]>--- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+)drivers/usb/serial/option.c +0
-0
drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1978
Quoted 4 lines
drivers/usb/serial/option.c +1
-0@@ -1975,6 +1975,8 @@ static const struct usb_device_id option_ids[] = { .driver_info = RSVD(4) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ .driver_info = RSVD(6) }, + { USB_DEVICE(0x2020, 0x2060), /* BroadMobi */
Looks like you forgot to include the model in the comment here.
And please move this one after the other 0x2020 (PID 0x2031) entry.
Should you also be using USB_DEVICE_INTERFACE_CLASS() (e.g. to avoid matching a mass-storage interface)?
drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = { · line 1982
Quoted 4 lines
drivers/usb/serial/option.c +1
-0+ .driver_info = RSVD(4) }, { }/* Terminating entry */ };MODULE_DEVICE_TABLE (usb, option_ids);
Johan
Re: [PATCH 1/2] usb: serial: option: Add the BroadMobi BM818 card
Quoted 7 lines · Johan Hovold
Quoted 3 lines · Angus Ainslie (Purism)
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
Would you mind posting the output of usb-devices (or lsusb -v) for this device?
T: Bus=01 Lev=03 Prnt=40 Port=03 Cnt=01 Dev#= 44 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2060 Rev=00.00 S: Manufacturer=Qualcomm, Incorporated S: Product=Qualcomm CDMA Technologies MSM C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Johan Hovold
maintainerRe: [PATCH 1/2] usb: serial: option: Add the BroadMobi BM818 card
Quoted 9 lines · Bob Ham
Quoted 7 lines · Johan Hovold
Quoted 3 lines · Angus Ainslie (Purism)
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
Would you mind posting the output of usb-devices (or lsusb -v) for this device?
Quoted 11 lines
T: Bus=01 Lev=03 Prnt=40 Port=03 Cnt=01 Dev#= 44 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2060 Rev=00.00 S: Manufacturer=Qualcomm, Incorporated S: Product=Qualcomm CDMA Technologies MSM C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I amended the commit message with the above, switched to USB_DEVICE_INTERFACE_CLASS(), fixed the comment and moved the entry to the other 0x2020 entries before applying.
Johan
Re: [PATCH 1/2] usb: serial: option: Add the BroadMobi BM818 card
Quoted 22 lines · Johan Hovold
Quoted 9 lines · Bob Ham
Quoted 7 lines · Johan Hovold
Quoted 3 lines · Angus Ainslie (Purism)
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
Would you mind posting the output of usb-devices (or lsusb -v) for this device?
Quoted 11 lines
T: Bus=01 Lev=03 Prnt=40 Port=03 Cnt=01 Dev#= 44 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2060 Rev=00.00 S: Manufacturer=Qualcomm, Incorporated S: Product=Qualcomm CDMA Technologies MSM C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Quoted 3 lines
I amended the commit message with the above, switched to
USB_DEVICE_INTERFACE_CLASS(), fixed the comment and moved the entry to the other0x2020entries before applying.
Sorry I should probably have mentioned this before but Angus has been on vacation, hence the silence on the other matters. Regardless, thanks.
Bob
Johan Hovold
maintainerRe: [PATCH 1/2] usb: serial: option: Add the BroadMobi BM818 card
Quoted 23 lines · Bob Ham
Quoted 22 lines · Johan Hovold
Quoted 20 lines · Bob Ham
Quoted 7 lines · Johan Hovold
Quoted 3 lines · Angus Ainslie (Purism)
From: Bob Ham <[email protected]>
Add a VID:PID for the BroadModi BM818 M.2 card
Would you mind posting the output of usb-devices (or lsusb -v) for this device?
T: Bus=01 Lev=03 Prnt=40 Port=03 Cnt=01 Dev#= 44 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2060 Rev=00.00 S: Manufacturer=Qualcomm, Incorporated S: Product=Qualcomm CDMA Technologies MSM C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=(none) I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Quoted 6 lines
Quoted 3 lines
I amended the commit message with the above, switched to
USB_DEVICE_INTERFACE_CLASS(), fixed the comment and moved the entry to the other0x2020entries before applying.Sorry I should probably have mentioned this before but Angus has been on vacation, hence the silence on the other matters. Regardless, thanks.
Ok, no worries.
Johan