Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1720042 > unrolled thread
| Started by | Aleksander Morgado <aleksander@aleksander.es> |
|---|---|
| First post | 2017-08-25 15:10 +0200 |
| Last post | 2017-08-28 20:30 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH] cdc_ncm: flag the ublox TOBY-L4 as wwan Aleksander Morgado <aleksander@aleksander.es> - 2017-08-25 15:10 +0200
Re: [PATCH] cdc_ncm: flag the ublox TOBY-L4 as wwan Greg KH <gregkh@linuxfoundation.org> - 2017-08-25 15:30 +0200
Re: [PATCH] cdc_ncm: flag the ublox TOBY-L4 as wwan Aleksander Morgado <aleksander@aleksander.es> - 2017-08-25 15:40 +0200
[PATCH v2] cdc_ncm: flag the u-blox TOBY-L4 as wwan Aleksander Morgado <aleksander@aleksander.es> - 2017-08-25 15:50 +0200
Re: [PATCH v2] cdc_ncm: flag the u-blox TOBY-L4 as wwan David Miller <davem@davemloft.net> - 2017-08-28 20:30 +0200
| From | Aleksander Morgado <aleksander@aleksander.es> |
|---|---|
| Date | 2017-08-25 15:10 +0200 |
| Subject | [PATCH] cdc_ncm: flag the ublox TOBY-L4 as wwan |
| Message-ID | <uimx3-4tc-9@gated-at.bofh.it> |
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
---
drivers/net/usb/cdc_ncm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index 811b18215cae..47cab1bde065 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net/usb/cdc_ncm.c
@@ -1758,6 +1758,13 @@ static const struct usb_device_id cdc_devs[] = {
.driver_info = (unsigned long)&wwan_noarp_info,
},
+ /* u-blox TOBY-L4 */
+ { USB_DEVICE_AND_INTERFACE_INFO(0x1546, 0x1010,
+ USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
+ .driver_info = (unsigned long)&wwan_info,
+ },
+
/* Generic CDC-NCM devices */
{ USB_INTERFACE_INFO(USB_CLASS_COMM,
USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
--
2.14.1
[toc] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-08-25 15:30 +0200 |
| Message-ID | <uimQr-4zK-31@gated-at.bofh.it> |
| In reply to | #1720042 |
On Fri, Aug 25, 2017 at 02:59:46PM +0200, Aleksander Morgado wrote: > Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> > --- > drivers/net/usb/cdc_ncm.c | 7 +++++++ > 1 file changed, 7 insertions(+) Personally, I require patches to have changelog texts in them...
[toc] | [prev] | [next] | [standalone]
| From | Aleksander Morgado <aleksander@aleksander.es> |
|---|---|
| Date | 2017-08-25 15:40 +0200 |
| Message-ID | <uin06-4CU-17@gated-at.bofh.it> |
| In reply to | #1720057 |
On Fri, Aug 25, 2017 at 3:22 PM, Greg KH <gregkh@linuxfoundation.org> wrote: > On Fri, Aug 25, 2017 at 02:59:46PM +0200, Aleksander Morgado wrote: >> Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> >> --- >> drivers/net/usb/cdc_ncm.c | 7 +++++++ >> 1 file changed, 7 insertions(+) > > Personally, I require patches to have changelog texts in them... Sure, will push a v2 with more info. -- Aleksander https://aleksander.es
[toc] | [prev] | [next] | [standalone]
| From | Aleksander Morgado <aleksander@aleksander.es> |
|---|---|
| Date | 2017-08-25 15:50 +0200 |
| Subject | [PATCH v2] cdc_ncm: flag the u-blox TOBY-L4 as wwan |
| Message-ID | <uin9M-4Gg-27@gated-at.bofh.it> |
| In reply to | #1720042 |
The u-blox TOBY-L4 is a LTE Advanced (Cat 6) module with HSPA+ and 2G
fallback.
Unlike the TOBY-L2, this module has one single USB layout and exposes
several TTYs for control and a NCM interface for data. Connecting this
module may be done just by activating the desired PDP context with
'AT+CGACT=1,<cid>' and then running DHCP on the NCM interface.
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
---
drivers/net/usb/cdc_ncm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index 811b18215cae..47cab1bde065 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net/usb/cdc_ncm.c
@@ -1758,6 +1758,13 @@ static const struct usb_device_id cdc_devs[] = {
.driver_info = (unsigned long)&wwan_noarp_info,
},
+ /* u-blox TOBY-L4 */
+ { USB_DEVICE_AND_INTERFACE_INFO(0x1546, 0x1010,
+ USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
+ .driver_info = (unsigned long)&wwan_info,
+ },
+
/* Generic CDC-NCM devices */
{ USB_INTERFACE_INFO(USB_CLASS_COMM,
USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
--
2.14.1
[toc] | [prev] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2017-08-28 20:30 +0200 |
| Subject | Re: [PATCH v2] cdc_ncm: flag the u-blox TOBY-L4 as wwan |
| Message-ID | <ujwXo-vG-13@gated-at.bofh.it> |
| In reply to | #1720080 |
From: Aleksander Morgado <aleksander@aleksander.es> Date: Fri, 25 Aug 2017 15:39:16 +0200 > The u-blox TOBY-L4 is a LTE Advanced (Cat 6) module with HSPA+ and 2G > fallback. > > Unlike the TOBY-L2, this module has one single USB layout and exposes > several TTYs for control and a NCM interface for data. Connecting this > module may be done just by activating the desired PDP context with > 'AT+CGACT=1,<cid>' and then running DHCP on the NCM interface. > > Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Applied.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web