drivers/net/usb: add device id for TP-LINK UE300 USB 3.0 Ethernet
PATCH 1/1 drivers/net/usb: add device id for TP-LINK UE300 USB 3.0 Ethernet
This product is named 'TP-LINK USB 3.0 Gigabit Ethernet Network Adapter (Model No.is UE300)'. It uses chip RTL8153 and works with driver drivers/net/usb/r8152.c
--- drivers/net/usb/cdc_ether.c | 8 ++++++++ drivers/net/usb/r8152.c | 2 ++ 2 files changed, 10 insertions(+)
drivers/net/usb/cdc_ether.c +8 -0
@@ -561,6 +561,7 @@ static const struct driver_info wwan_info = {#define HP_VENDOR_ID 0x03f0#define MICROSOFT_VENDOR_ID 0x045e#define UBLOX_VENDOR_ID 0x1546 +#define TPLINK_VENDOR_ID 0x2357static const struct usb_device_id products[] = {/* BLACKLIST !!
@@ -813,6 +814,13 @@ static const struct usb_device_id products[] = { .driver_info = 0, }, +/* TP-LINK UE300 USB 3.0 Ethernet Adapters (based on Realtek RTL8153) */ +{ +USB_DEVICE_AND_INTERFACE_INFO (TPLINK_VENDOR_ID ,0x0601 ,USB_CLASS_COMM , + USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), + .driver_info = 0, +}, +/* WHITELIST!!! * * CDC Ether uses two interfaces, not necessarily consecutive.
drivers/net/usb/r8152.c +2 -0
@@ -615,6 +615,7 @@ enum rtl8152_flags {#define VENDOR_ID_LENOVO 0x17ef#define VENDOR_ID_LINKSYS 0x13b1#define VENDOR_ID_NVIDIA 0x0955 +#define VENDOR_ID_TPLINK 0x2357#define MCU_TYPE_PLA 0x0100#define MCU_TYPE_USB 0x0000
@@ -5319,6 +5320,7 @@ static const struct usb_device_id rtl8152_table[] = { {REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x7214)}, {REALTEK_USB_DEVICE(VENDOR_ID_LINKSYS, 0x0041)}, {REALTEK_USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff)}, + {REALTEK_USB_DEVICE(VENDOR_ID_TPLINK, 0x0601)}, {} };
Signature · 6 lines
2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Montag, den 23.10.2017, 18:10 +0800 schrieb Ran Wang:
Quoted 4 lines
This product is named 'TP-LINK USB 3.0 Gigabit Ethernet Network Adapter (Model No.is UE300)'. It uses chip RTL8153 and works with driver
drivers/net/usb/r8152.c
Hi,
just for the record, have you confirm that it fails with cdc-ether?
Regards
Oliver
Hi Oliver
Quoted 11 lines
-----Original Message-----
From: Oliver Neukum [mailto:[email protected]]
Sent: Monday, October 23, 2017 6:56 PM
To: Ran Wang <[email protected]>
Cc: David S . Miller <[email protected]>; hayeswang <[email protected]>; [email protected]; linux- [email protected]; [email protected]
Subject: Re: [PATCH]drivers/net/usb: add device id for TP-LINK UE300 USB 3.0 EthernetAm Montag, den 23.10.2017, 18:10 +0800 schrieb Ran Wang:
Quoted 9 lines
Quoted 4 lines
This product is named 'TP-LINK USB 3.0 Gigabit Ethernet Network Adapter (Model No.is UE300)'. It uses chip RTL8153 and works with driver
drivers/net/usb/r8152.cHi,
just for the record, have you confirm that it fails with cdc-ether?
Yes, when I use default cdc-ether and do data transfer test, I see system flooding message '[ 1076.627366] cdc_ether 4-1:2.0 eth8: kevent 11 may have been dropped' and related eth# Shows most packets received has been dropped. After load r8152.c, everything work fine. BR
Ran
Quoted 2 lines
Regards
Oliver
David Miller
maintainerFrom: Ran Wang <[email protected]>
Date: Mon, 23 Oct 2017 18:10:23 +0800
Quoted 5 lines
This product is named 'TP-LINK USB 3.0 Gigabit Ethernet Network Adapter (Model No.is UE300)'. It uses chip RTL8153 and works with driver
drivers/net/usb/r8152.cSigned-off-by Ran Wang <[email protected]>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html