[Bug 244845] ue0 realtek interface stops working after some time connection stalls problem down->up helps unitek Y-3083B
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Apr 2023 09:54:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244845
Tomasz Duda <tomasz.m.duda@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomasz.m.duda@gmail.com
--- Comment #21 from Tomasz Duda <tomasz.m.duda@gmail.com> ---
Hello,
FWIW I'm experiencing the same problem with Lenovo Powered USB-C Travel Hub
(model: L01UD027-CS-H, P/N: 4X90S92381): the interface is going up and down.
I'm running FreeBSD 13.2. I've patched "if_ure.c" to recognize this hub, I set
"hw.usb.ure.debug" to "1", but there is nothing beside:
ue0: link state changed to DOWN
ue0: link state changed to UP
in dmesg.
Anything I can try to workaround (or pinpoint) this bug?
# uname -a
FreeBSD tdudax1 13.2-RELEASE FreeBSD 13.2-RELEASE
releng/13.2-n254617-525ecfdad597 GENERIC amd64
# usbconfig
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps)
pwr=SAVE (0mA)
ugen1.1: <Intel XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps)
pwr=SAVE (0mA)
ugen0.2: <VIA Labs, Inc. Lenovo Powered Hub> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen1.2: <vendor 0x06cb product 0x00fc> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (100mA)
ugen1.3: <Chicony Electronics Co.,Ltd. Integrated Camera> at usbus1, cfg=0
md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen1.4: <VIA Labs, Inc. Lenovo Powered Hub> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.3: <Lenovo Lenovo Powered Hub> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (72mA)
ugen1.5: <VIA Labs, Inc. Lenovo Powered Hub> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (100mA)
ugen1.6: <vendor 0x8087 product 0x0026> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (100mA)
# usbconfig -d 0.3 dump_device_desc
ugen0.3: <Lenovo Lenovo Powered Hub> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (72mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0300
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0009
idVendor = 0x17ef
idProduct = 0x721e
bcdDevice = 0x3103
iManufacturer = 0x0001 <Lenovo>
iProduct = 0x0002 <Lenovo Powered Hub>
iSerialNumber = 0x0006 <3014F2559>
bNumConfigurations = 0x0002
# git diff release/13.2.0
diff --git a/sys/dev/usb/net/if_ure.c b/sys/dev/usb/net/if_ure.c
index 5cfb763c113a..d3602d5e38cd 100644
--- a/sys/dev/usb/net/if_ure.c
+++ b/sys/dev/usb/net/if_ure.c
@@ -103,6 +103,7 @@ static const STRUCT_USB_HOST_ID ure_devs[] = {
URE_DEV(LENOVO, TBT3LAN, 0),
URE_DEV(LENOVO, TBT3LANGEN2, 0),
URE_DEV(LENOVO, ONELINK, 0),
+ URE_DEV(LENOVO, RTL8153_05, URE_FLAG_8153B),
URE_DEV(LENOVO, USBCLAN, 0),
URE_DEV(LENOVO, USBCLANGEN2, 0),
URE_DEV(MICROSOFT, WINDEVETH, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 81abe91d93b4..2d057868ab6d 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2827,6 +2827,7 @@ product LENOVO GIGALAN 0x304b USB 3.0
Ethernet
product LENOVO ETHERNET 0x7203 USB 2.0 Ethernet
product LENOVO RTL8153 0x7205 USB 3.0 Ethernet
product LENOVO ONELINK 0x720a USB 3.0 Ethernet
+product LENOVO RTL8153_05 0x721e USB 3.0 Ethernet
product LENOVO TBT3LAN 0x3069 LAN port in Thinkpad TB3 dock
product LENOVO USBCLAN 0x3062 LAN port in Thinkpad USB-C dock
product LENOVO TBT3LANGEN2 0x3082 LAN port in Thinkpad TB3 dock gen2
--
You are receiving this mail because:
You are the assignee for the bug.