Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1396882
| From | "J. Mayer" <l_indien@magic.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem |
| Date | 2016-05-09 11:40 +0200 |
| Message-ID | <rwPPs-2FZ-19@gated-at.bofh.it> (permalink) |
| Organization | Never organized |
From: Jocelyn Mayer <l_indien@magic.fr>
Make cdc_ether able to use Samsung Galaxy Grand Prime VE (aka SM-G531F)
smartphone as an USB modem
Signed-off-by: Jocelyn Mayer <l_indien@magic.fr>
Please explicitly keep me on CC as I did not register.
---
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 7cba2c3..6186693 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -641,6 +641,12 @@ static const struct usb_device_id products[] = {
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
.driver_info = 0,
},
+/* Samsung Galaxy Grand Prime VE */
+{
+ USB_DEVICE_AND_INTERFACE_INFO(SAMSUNG_VENDOR_ID, 0x6863,
USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+ .driver_info = 0,
+},
/* Lenovo Thinkpad USB 3.0 Ethernet Adapters (based on Realtek
RTL8153) */
{
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/1] usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem "J. Mayer" <l_indien@magic.fr> - 2016-05-09 11:40 +0200
csiph-web