linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1][resend] usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem
@ 2016-06-06 11:31 J. Mayer
  0 siblings, 0 replies; only message in thread
From: J. Mayer @ 2016-06-06 11:31 UTC (permalink / raw)
  To: linux-kernel

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 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.

Signed-off-by: Jocelyn Mayer <l_indien@magic.fr>

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

---

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) */
 {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-06 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 11:31 [PATCH 1/1][resend] usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem J. Mayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).