When the device first comes up, it has the following lsusb parameters:
Bus 002 Device 004: ID 2357:8151 TP-Link USB 10/100/1000 LAN
I was able to get it to work by adding /usr/share/usb_modeswitch/2357:8151 with these contents:
Code: Select all
# TP-Link UE300
TargetVendor=0x2357
TargetProduct=0x0601
ResetUSB=1
Code: Select all
ACTION!="add|change", GOTO="modeswitch_rules_end"
SUBSYSTEM!="usb", ACTION!="add",, GOTO="modeswitch_rules_end"
ATTR{idVendor}=="2357", ATTR{idProduct}=="8151", RUN+="usb_modeswitch '/%k'"
LABEL="modeswitch_rules_end"
I see that there is already an entry for the TP-Link UE300, but that entry is for a vendor/product ID of 2357:0600. I'm guessing that TP-Link has changed the product ID in their current production.
It would be great if this alternate entry could be added, so it works "out of the box" for other folks.