Problem:
I have a USB-C Gigabit Ethernet adapter that I plug into my Thinkpad to get wired LAN access. If the adapter is plugged in while the system boots up ue0 device will show up in
Notice after the reboot
System:
FreeBSD 12.1-RELEASE-p7
Thinkpad X1-Carbon 6th gen
Cable Matters USB C Hub w/HDMI/80w charging, Gig ethernet
I have a USB-C Gigabit Ethernet adapter that I plug into my Thinkpad to get wired LAN access. If the adapter is plugged in while the system boots up ue0 device will show up in
ifconfig
and everything works as expected. However once the system is running if I unplug the adapter and then plug it back in ue0 is no longer listed in ifconfig
and when I run usbconfig
I don't see the device listed anymore. Any ideas?
Code:
cat usbconfig-before-reboot
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen1.1: <0x8086 XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.4: <vendor 0x8087 product 0x0a2b> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: <SunplusIT Inc Integrated Camera> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.6: <vendor 0x06cb product 0x009a> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.7: <Generic USB3.0-CRW> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (200mA)
ugen0.2: <VIA Labs, Inc. USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: <VIA Labs, Inc. USB-C Multiport Adapter> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
Code:
cat usbconfig-after-reboot
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen1.1: <0x8086 XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen1.2: <VIA Labs, Inc. USB3.0 Hub> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <VIA Labs, Inc. USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <CMI USB 10/100/1000 LAN> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)
ugen0.3: <VIA Labs, Inc. USB-C Multiport Adapter> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
ugen0.4: <vendor 0x8087 product 0x0a2b> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: <SunplusIT Inc Integrated Camera> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.6: <vendor 0x06cb product 0x009a> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.7: <Generic USB3.0-CRW> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (200mA)
Notice after the reboot
ugen1.2: <VIA Labs, Inc. USB3.0 Hub> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
and ugen1.3: <CMI USB 10/100/1000 LAN> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)
show up in the usbconfig list.System:
FreeBSD 12.1-RELEASE-p7
Thinkpad X1-Carbon 6th gen
Cable Matters USB C Hub w/HDMI/80w charging, Gig ethernet