[Bug 228436] add tp-link usb ethernet device quirk
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 23 10:28:45 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228436
Bug ID: 228436
Summary: add tp-link usb ethernet device quirk
Product: Base System
Version: 11.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: axel.scheepers76+freebsd at gmail.com
Dear maintainer,
I have two tp-link usb ethernet adapters which require set_config 1 to work, it
would be nice if these could be added to the kernel.
% sudo usbconfig -d ugen0.4 dump_device_desc
ugen0.4: <TP-LINK USB 10100 LAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (100mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0210
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x2357
idProduct = 0x0602
bcdDevice = 0x2000
iManufacturer = 0x0001 <TP-LINK>
iProduct = 0x0002 <USB 10/100 LAN>
iSerialNumber = 0x0003 <98DED0139A56>
bNumConfigurations = 0x0002
% sudo usbconfig -d ugen0.4 set_config 1
% ifconfig ue0
ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 98:de:d0:13:9a:56
hwaddr 98:de:d0:13:9a:56
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
and the gigabit variant:
% sudo usbconfig -d ugen0.4 dump_device_desc
ugen0.4: <TP-LINK USB 101001000 LAN> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (64mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0300
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0009
idVendor = 0x2357
idProduct = 0x0601
bcdDevice = 0x3000
iManufacturer = 0x0001 <TP-LINK>
iProduct = 0x0002 <USB 10/100/1000 LAN>
iSerialNumber = 0x0006 <000001000000>
bNumConfigurations = 0x0002
% sudo usbconfig -d ugen0.4 set_config 1
% ifconfig ue0
ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether d4:6e:0e:1f:a6:40
hwaddr d4:6e:0e:1f:a6:40
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Kind regards,
Axel Scheepers
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list