Skip to contentSkip to conversation

usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem

PATCH RESEND New J. Mayer 1 participant 1 message Jun 6, 2016

Subsystems (3)
lore
Share & tools
lore

J. Mayer

author
#0 lore raw

PATCH RESEND 1/1 usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem

From: Jocelyn Mayer <[email protected]>

Make cdc_ether able to use Samsung Galaxy Grand Prime VE (aka SM-G531F) smartphone as an USB Wifi / 4G network gateway.
This patch has only been succesfully tested with Galaxy Grand Prime VE but according to libmtp headers, it should also work with most (or all) Samsung Android based devices.

Please explicitly keep me on CC as I did not register the mailing list.

---

drivers/net/usb/cdc_ether.c +0 -0
index 7cba2c3..6186693 100644
@@ -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) */
 {