Bug 244845 - ue0 realtek interface stops working after some time connection stalls problem down->up helps unitek Y-3083B
Summary: ue0 realtek interface stops working after some time connection stalls problem...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-16 11:49 UTC by Tomasz "CeDeROM" CEDRO
Modified: 2023-08-28 20:02 UTC (History)
4 users (show)

See Also:


Attachments
usbdump + txt 7zipped (4.11 KB, application/x-7z-compressed)
2020-03-18 23:32 UTC, Tomasz "CeDeROM" CEDRO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz "CeDeROM" CEDRO 2020-03-16 11:49:42 UTC
Hello world :-)

I have this nice USB 3.0/C UNITEK Y-3083B USB HUB + GigaBit Ethernet device that expands my laptop or smartphone cards and provides ue0 Ethernet connectivity. However always after some time network stops and I have to put that ue0 interface down and up. That never happens on built-in Ethernet card em0 (Intel(R) PRO/1000 Network Connection).

Any hints welcome :-)
Tomek


 # uname -a
FreeBSD 0xCFMX4 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64

# usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <Generic 4-Port USB 2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <vendor 0x8087 product 0x8001> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: <Creative Technology SB Live 24-bit External> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (308mA)
ugen0.4: <Kionix Inc Kionix Sensor Hub F:0006 SI:0001 R2> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: <Generic USB HD Webcam> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.6: <Sierra Wireless, Incorporated EM7305> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.7: <Sharp Corp. 12.5EA0003> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.8: <Generic 4-Port USB 3.0 Hub> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.9: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)


# usbconfig -d 0.9 dump_device_desc
ugen0.9: <Realtek USB 10/100/1000 LAN> 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 = 0x0bda
  idProduct = 0x8153
  bcdDevice = 0x3100
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <USB 10/100/1000 LAN>
  iSerialNumber = 0x0006  <001000001>
  bNumConfigurations = 0x0002
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-16 12:24:33 UTC
Any errors in dmesg?

Did you try enabling the sysctl debug knob for this driver?

--HPS
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-16 12:25:53 UTC
It might also be you need to use:

usbdump -i usbusX -f Y -s 65536

To figure out if there is a USB error causing this.

--HPS
Comment 3 Tomasz "CeDeROM" CEDRO 2020-03-16 12:44:36 UTC
Thank you HPS for the hints, will try to pinpoint the issue :-)

* hw.usb.ure.debug=1.
* usbdump (I also have hardware USB sniffer).
* driver watchdog.

I was hoping maybe there is some sort of quirk that is known to work :-)
Comment 4 Tomasz "CeDeROM" CEDRO 2020-03-16 19:37:01 UTC
The problem happened around 3 times so far.

I did set hw.usb.ure.debug=1 but that does not provide any additional information in dmesg.

The only information in dmesg that may be related (please confirm) is:
sonewconn: pcb 0xfffff80114d1c300: Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences)
sonewconn: pcb 0xfffff8000ade7400: Listen queue overflow: 1 already in queue awaiting acceptance (2 occurrences)
sonewconn: pcb 0xfffff80023277900: Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences)
sonewconn: pcb 0xfffff80154033700: Listen queue overflow: 1 already in queue awaiting acceptance (1 occurrences)

I did capture data with usbdump and the only suspicious messages with ERR != 0 are like this:

14:28:12.803849 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:12.804363 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
14:28:12.804868 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:13.089056 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
14:28:13.139294 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
14:28:13.802305 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:13.802812 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0

...

14:28:22.803938 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:22.804447 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:22.804957 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
14:28:22.805462 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:22.917306 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
14:28:22.967541 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
14:28:23.801519 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0

...

14:28:31.820373 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
14:28:31.820882 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:32.735598 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
14:28:32.785295 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
14:28:32.854292 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:32.854797 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0

...

14:28:41.871020 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
14:28:41.871527 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
14:28:42.552908 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
14:28:42.603553 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
14:28:42.867550 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0

I did use -w to dump data into a file just in case.

Btw. is it possible to open those usbdump files with Wireshark? It creashes on open..
Comment 5 Tomasz "CeDeROM" CEDRO 2020-03-16 19:57:34 UTC
sonewconn does not seem to be related because now I lost the connection and that message is not in dmesg.

I did catch something that may be related:

20:51:58.160826 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
20:51:58.161334 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
20:51:58.161838 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
20:51:58.162347 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
20:51:58.471157 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
20:51:58.520570 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
20:51:59.159352 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
20:51:59.159856 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
20:51:59.160365 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=0,IVAL=0,ERR=0
20:51:59.160873 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
2

ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
Comment 6 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-16 21:49:53 UTC
https://github.com/jerrywossion/usbdump-wireshark
Comment 7 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-16 21:50:58 UTC
You could check the timeout value used in the driver.

Have you enabled pauseframes rx/tx for this device?

See ifconfig -m ue0

--HPS
Comment 8 Tomasz "CeDeROM" CEDRO 2020-03-16 22:23:17 UTC
Below goes the ifconfig -m output. I did not change anything for the driver nor anything in ifconfig all runs on generic defaults :-)

# ifconfig -m ue0
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        capabilities=80000<LINKSTATE>
        ether 00:e0:4c:33:f1:db
        inet 192.168.0.107 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        supported media:
                media autoselect
                media 1000baseT mediaopt full-duplex,master
                media 1000baseT mediaopt full-duplex
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT/UTP mediaopt full-duplex
                media 10baseT/UTP
                media none
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

There are some hardcoded timeouts in usb_config ure_config[URE_N_TRANSFER]. All other timeouts relate to URE_TIMEOUT define:

https://svnweb.freebsd.org/base/head/sys/dev/usb/net/if_ure.c?revision=357972&view=markup#l132

ps/2: usbdump-wireshark url returns 404 but I now have idea what to search, tank u! :-)
Comment 9 Tomasz "CeDeROM" CEDRO 2020-03-17 01:25:55 UTC
Also this:

ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
Comment 10 Tomasz "CeDeROM" CEDRO 2020-03-17 01:27:59 UTC
Also this:

ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
Comment 11 Hans Petter Selasky freebsd_committer freebsd_triage 2020-03-17 08:34:36 UTC
Could you do a usbdump with -v option to see if there may be a USB transfer length mismatch causing the IOERROR?

--HPS
Comment 12 Tomasz "CeDeROM" CEDRO 2020-03-18 22:58:40 UTC
Today the link was lost - ifconfig showed no media and the ifconfig down/up did not help the card driver got into some sort of locked state - but the cable was all the time connected to the card and the leds were blinking.

Dmesg showed:

ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED


I did not catch that IOERROR / CANCELLED on usbdump sorry. Will provide more info when have one. This IOERROR is also related with link loss / media detect failure.

Below is the grep from usbdump related with TIMEOUT error that leads to connectivity loss that can be fixed with ifconfid down/up:

% usbdump -v  -r freeebsd-ue-ure-usbdump-20200316-3.pcap|grep -A 6 -B 5 -n -w "ERR=[A-Z]*"

5252760- frame[1] READ 4 bytes
5252761-20:50:59.099903 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5252762- frame[0] WRITE 8 bytes
5252763- frame[1] READ 4 bytes
5252764- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5252765:20:50:59.557650 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5252766-20:50:59.607357 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5252767- frame[0] WRITE 8 bytes
5252768- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5252769-20:50:59.607850 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5252770- frame[0] WRITE 8 bytes
5252771-20:50:59.607852 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=1444,IVAL=0
--
5253579- frame[1] READ 4 bytes
5253580-20:51:09.108675 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5253581- frame[0] WRITE 8 bytes
5253582- frame[1] READ 4 bytes
5253583- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5253584:20:51:09.379367 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5253585-20:51:09.429616 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5253586- frame[0] WRITE 8 bytes
5253587- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5253588-20:51:09.430104 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5253589- frame[0] WRITE 8 bytes
5253590-20:51:09.430106 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5254312- frame[1] READ 4 bytes
5254313-20:51:19.118915 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5254314- frame[0] WRITE 8 bytes
5254315- frame[1] READ 4 bytes
5254316- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5254317:20:51:19.197339 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5254318-20:51:19.247365 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5254319- frame[0] WRITE 8 bytes
5254320- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5254321-20:51:19.247857 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5254322- frame[0] WRITE 8 bytes
5254323-20:51:19.247858 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5254973- frame[1] READ 4 bytes
5254974-20:51:28.128696 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5254975- frame[0] WRITE 8 bytes
5254976- frame[1] READ 4 bytes
5254977- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5254978:20:51:29.015878 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5254979-20:51:29.065282 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5254980- frame[0] WRITE 8 bytes
5254981- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5254982-20:51:29.065632 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5254983- frame[0] WRITE 8 bytes
5254984-20:51:29.065648 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=1444,IVAL=0
--
5255792- frame[1] READ 4 bytes
5255793-20:51:38.139942 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5255794- frame[0] WRITE 8 bytes
5255795- frame[1] READ 4 bytes
5255796- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5255797:20:51:38.833663 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5255798-20:51:38.883373 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5255799- frame[0] WRITE 8 bytes
5255800- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5255801-20:51:38.883862 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5255802- frame[0] WRITE 8 bytes
5255803-20:51:38.883863 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5256525- frame[1] READ 4 bytes
5256526-20:51:48.151193 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5256527- frame[0] WRITE 8 bytes
5256528- frame[1] READ 4 bytes
5256529- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5256530:20:51:48.651917 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5256531-20:51:48.701623 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5256532- frame[0] WRITE 8 bytes
5256533- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5256534-20:51:48.702115 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5256535- frame[0] WRITE 8 bytes
5256536-20:51:48.702117 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=108,IVAL=0
--
5257260- frame[1] READ 4 bytes
5257261-20:51:58.162347 usbus0.9 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5257262- frame[0] WRITE 8 bytes
5257263- frame[1] READ 4 bytes
5257264- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..            |
5257265:20:51:58.471157 usbus0.9 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5257266-20:51:58.520289 usbus0.9 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5257267- frame[0] WRITE 8 bytes
5257268- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........        |
5257269-20:51:58.520570 usbus0.9 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5257270- frame[0] WRITE 8 bytes
5257271-20:51:58.520574 usbus0.9 SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=108,IVAL=0

I hope that helps anyhow..
Comment 13 Tomasz "CeDeROM" CEDRO 2020-03-18 23:32:20 UTC
Created attachment 212516 [details]
usbdump + txt 7zipped
Comment 14 Tomasz "CeDeROM" CEDRO 2020-03-18 23:32:52 UTC
In fact the interface stays in locked state. I did manage to catch a usbdump. There are only IOERROR over there.

When polling the media status if busts a single series of IOERROR. When ifconfig ue0 up it repeats the IOERROR until ifconfig ue0 down. Re-plugging the ethernet cable does not change anything. Interface needs to be re-plugged or reset via usbconfig.

At the moment I am using onboard Intel em0 to send this message.

# usbdump -r freeebsd-ue-ure-20200319-1.usbdump -v > freeebsd-ue-ure-20200319-1.txt

00:06:30.727923 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:30.732238 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:30.795507 usbus0.10 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
00:06:30.799982 usbus0.10 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:30.864238 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:30.868736 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:30.931733 usbus0.10 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
00:06:30.936226 usbus0.10 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:31.000761 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:31.005224 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:31.067517 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:31.071977 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.135519 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:32.139950 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.203044 usbus0.10 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
00:06:32.207449 usbus0.10 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.272224 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:32.276695 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.339683 usbus0.10 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
00:06:32.344205 usbus0.10 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.410429 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:32.414944 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:32.477695 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:32.482190 usbus0.10 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
00:06:33.547332 usbus0.10 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
00:06:33.551664 usbus0.10 DONE-CTRL-
...

I am attaching compressed usbdump :-)
Comment 15 Peter 2022-01-28 15:25:31 UTC
Hi Tomek, HPS,

I have similar issue on 14.0-CURRENT. Included usbdump -v with IOERROR. Is there any workaround I can try like the timeout value change in driver ? 

FreeBSD bsd 14.0-CURRENT FreeBSD 14.0-CURRENT #3 main-n252717-98c788737f7: Fri Jan 28 11:11:35 CET 2022     root@bsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

---

ugen0.2: <Realtek USB 10/100/1000 LAN> 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 = 0x0bda 
  idProduct = 0x8153 
  bcdDevice = 0x3100 
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <USB 10/100/1000 LAN>
  iSerialNumber = 0x0006  <001000001>
  bNumConfigurations = 0x0002 

---

16:04:58.295131 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE F8 1B 00 00 01 01  |.....}..-.......|
 0050  08 0A 9E FA FB ED 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 36 CE  |$I.63.\`.u...A6.|
 0080  1F 17 17 F0 B0 41 36 CE  -- -- -- -- -- -- -- --  |.....A6.        |
16:04:58.609814 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:04:58.634929 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:04:58.634938 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE F6 C8 00 00 01 01  |.....}..-.......|
 0050  08 0A 9E FA FD 40 7B 1C  8E 0B 29 B0 38 5E A8 9E  |.....@{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 F6 D9  |$I.63.\`.u...A..|
 0080  AB 84 84 F0 B0 41 F6 D9  -- -- -- -- -- -- -- --  |.....A..        |
16:04:59.102281 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:04:59.102288 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE F4 F4 00 00 01 01  |.....}..-.......|
 0050  08 0A 9E FA FF 14 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 50 FD  |$I.63.\`.u...AP.|
 0080  8F 75 75 F0 B0 41 50 FD  -- -- -- -- -- -- -- --  |.uu..AP.        |
16:04:59.587710 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
16:04:59.654073 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:04:59.798228 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:04:59.798235 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE F2 3C 00 00 01 01  |.....}..-..<....|
 0050  08 0A 9E FB 01 CC 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 30 71  |$I.63.\`.u...A0q|
 0080  8F 66 66 F0 B0 41 30 71  -- -- -- -- -- -- -- --  |.ff..A0q        |
16:05:00.641142 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
16:05:00.708069 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:01.027159 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:01.027167 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE ED 6F 00 00 01 01  |.....}..-..o....|
 0050  08 0A 9E FB 06 99 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 58 36  |$I.63.\`.u...AX6|
 0080  D0 70 70 F0 B0 41 58 36  -- -- -- -- -- -- -- --  |.pp..AX6        |
16:05:01.692488 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
16:05:01.759077 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:02.746108 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
16:05:02.811472 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:02.818887 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:02.886171 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:02.893379 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:02.960178 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:02.967667 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.032649 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.039691 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.039743 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.047098 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.114044 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:03.121633 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.147292 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:03.147300 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE E5 27 00 00 01 01  |.....}..-..'....|
 0050  08 0A 9E FB 0E E1 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 31 58  |$I.63.\`.u...A1X|
 0080  82 43 43 F0 B0 41 31 58  -- -- -- -- -- -- -- --  |.CC..A1X        |
16:05:03.188175 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.195396 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.262175 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:03.269769 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.336269 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.343777 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.410084 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.417478 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:03.637916 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:03.645633 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:04.642805 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:04.650473 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:05.486803 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:05.486810 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 0C 69 00 00 EA 06  |.7r...E....i....|
 0030  71 77 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |qw6..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 54 F7 00 00 01 01  |...U.Z...wT.....|
 0050  08 0A 9B FC C8 98 9E A3  3F B6 17 03 03 00 7A 43  |........?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 B7 A0 C6 3A 3A FE 92  |=...@...Q...::..|
16:05:05.648814 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:05.656094 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:05.953546 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:05.953553 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 4A C1 00 00 EA 06  |.7r...E...J.....|
 0030  33 1F 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |3.6..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 53 24 00 00 01 01  |...U.Z...wS$....|
 0050  08 0A 9B FC CA 6B 9E A3  3F B6 17 03 03 00 7A 43  |.....k..?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 81 0A 13 68 68 FE 92  |=...@...Q...hh..|
16:05:06.433271 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:06.433279 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 95 CE 00 00 EA 06  |.7r...E.........|
 0030  E8 11 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |..6..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 51 44 00 00 01 01  |...U.Z...wQD....|
 0050  08 0A 9B FC CC 4B 9E A3  3F B6 17 03 03 00 7A 43  |.....K..?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 62 81 58 01 01 FE 92  |=...@...Qb.X....|
16:05:06.653784 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:06.660903 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:07.218611 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:07.218619 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE D5 40 00 00 01 01  |.....}..-..@....|
 0050  08 0A 9E FB 1E C8 7B 1C  8E 0B 29 B0 38 5E A8 9E  |......{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 5D F9  |$I.63.\`.u...A].|
 0080  A5 39 39 F0 B0 41 5D F9  -- -- -- -- -- -- -- --  |.99..A].        |
16:05:07.361249 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:07.361256 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 0D FB 00 00 EA 06  |.7r...E.........|
 0030  6F E5 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |o.6..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 4D A4 00 00 01 01  |...U.Z...wM.....|
 0050  08 0A 9B FC CF EB 9E A3  3F B6 17 03 03 00 7A 43  |........?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 EF D7 58 05 05 FE 92  |=...@...Q..X....|
16:05:07.656832 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:07.657293 usbus0.2 DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
16:05:07.664194 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:08.661855 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:08.669194 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:09.185050 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:09.185057 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 AD 2D 00 00 EA 06  |.7r...E....-....|
 0030  D0 B2 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |..6..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 46 84 00 00 01 01  |...U.Z...wF.....|
 0050  08 0A 9B FC D7 0B 9E A3  3F B6 17 03 03 00 7A 43  |........?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 BB 6A 0A A9 A9 FE 92  |=...@...Q.j.....|
16:05:09.667837 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:09.675519 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:10.673791 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:10.681060 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:11.673027 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:11.680223 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:12.681180 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:12.688263 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:12.833342 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:12.833349 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=224,IVAL=0,ERR=0
 frame[0] READ 224 bytes
 0000  C5 00 48 04 00 00 48 40  B3 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 B3 8B AC 00 00 EA 06  |.7r...E.........|
 0030  F2 33 36 F4 10 64 0A 01  01 0C 01 BB 9C 29 FD B1  |.36..d.......)..|
 0040  B5 EB 9D 55 E8 5A 80 18  00 77 38 44 00 00 01 01  |...U.Z...w8D....|
 0050  08 0A 9B FC E5 4B 9E A3  3F B6 17 03 03 00 7A 43  |.....K..?.....zC|
 0060  59 B8 B8 DD 36 55 59 30  BD 1C 4F 60 1E BE 4F 8A  |Y...6UY0..O`..O.|
 0070  C9 10 97 56 8C 71 25 CA  1D 37 3A 9D 87 B8 4E 10  |...V.q%..7:...N.|
 0080  63 46 17 C7 2E 91 D8 7F  4C 31 83 4F A6 E7 E3 B8  |cF......L1.O....|
 0090  64 B8 F3 86 5C EA 47 21  8A DA 44 03 BE 09 95 6A  |d...\.G!..D....j|
 00A0  97 1E F5 DE 45 70 D4 0F  1F 8A D5 43 3D A6 17 97  |....Ep.....C=...|
 00B0  B4 C3 5F 03 5B B2 FA F3  89 08 87 1F C5 F4 B5 72  |.._.[..........r|
 00C0  DB B4 A5 66 F3 70 3B 8B  02 BC 4B B9 4B 27 B4 89  |...f.p;...K.K'..|
 00D0  3D BC 15 D0 40 19 FE 92  51 EE 57 0F 4B 4B FE 92  |=...@...Q.W.KK..|
16:05:13.683162 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:13.690440 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:14.429122 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:14.429130 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=184,IVAL=0,ERR=0
 frame[0] READ 184 bytes
 0000  9A 00 48 04 00 00 48 40  88 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 88 8B 28 00 00 38 06  |.7r...E....(..8.|
 0030  A9 96 8E FA B3 AA 0A 01  01 0C 01 BB 66 DE DC 57  |............f..W|
 0040  C2 D6 B7 16 7C 05 80 18  01 72 77 4C 00 00 01 01  |....|....rwL....|
 0050  08 0A C8 0E 4F F3 07 D3  F9 16 17 03 03 00 4F C4  |....O.........O.|
 0060  61 27 4B 3F 17 0E 16 6A  C8 38 F1 9B 3F 2E AB 0E  |a'K?...j.8..?...|
 0070  A1 B8 3D FD 37 00 41 9C  B2 A8 20 60 BA 13 C6 F2  |..=.7.A... `....|
 0080  3E B2 9D 23 88 A8 51 D3  89 EA B4 2E 9C BC 75 8F  |>..#..Q.......u.|
 0090  1D BC 47 0F D5 3B A7 CA  0D 5D D4 8E DA F1 F2 5C  |..G..;...].....\|
 00A0  CC B0 7D C8 1C FF 2D 8F  81 D8 90 03 89 60 07 94  |..}...-......`..|
 00B0  37 BD BD 03 89 60 07 94  -- -- -- -- -- -- -- --  |7....`..        |
16:05:14.687298 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:14.694314 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:14.798459 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:14.798467 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=184,IVAL=0,ERR=0
 frame[0] READ 184 bytes
 0000  9A 00 48 04 00 00 48 40  88 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 88 D4 EC 00 00 38 06  |.7r...E.......8.|
 0030  5F D2 8E FA B3 AA 0A 01  01 0C 01 BB 66 DE DC 57  |_...........f..W|
 0040  C2 D6 B7 16 7C 05 80 18  01 72 75 DB 00 00 01 01  |....|....ru.....|
 0050  08 0A C8 0E 51 64 07 D3  F9 16 17 03 03 00 4F C4  |....Qd........O.|
 0060  61 27 4B 3F 17 0E 16 6A  C8 38 F1 9B 3F 2E AB 0E  |a'K?...j.8..?...|
 0070  A1 B8 3D FD 37 00 41 9C  B2 A8 20 60 BA 13 C6 F2  |..=.7.A... `....|
 0080  3E B2 9D 23 88 A8 51 D3  89 EA B4 2E 9C BC 75 8F  |>..#..Q.......u.|
 0090  1D BC 47 0F D5 3B A7 CA  0D 5D D4 8E DA F1 F2 5C  |..G..;...].....\|
 00A0  CC B0 7D C8 1C FF 2D 8F  81 D8 90 03 89 60 73 AD  |..}...-......`s.|
 00B0  2B 63 63 03 89 60 73 AD  -- -- -- -- -- -- -- --  |+cc..`s.        |
16:05:15.117550 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:15.117557 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=136,IVAL=0,ERR=0
 frame[0] READ 136 bytes
 0000  6A 00 48 04 00 00 48 40  58 00 40 00 06 00 02 46  |j.H...H@X.@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 8C EC  |..........Lq(G..|
 0020  4B E4 E3 07 08 00 45 20  00 58 00 00 40 00 40 06  |K.....E .X..@.@.|
 0030  24 68 0A 01 01 0B 0A 01  01 0C 00 16 85 F4 35 2F  |$h............5/|
 0040  8B C2 94 A1 B6 7D 80 18  2D AE B6 65 00 00 01 01  |.....}..-..e....|
 0050  08 0A 9E FB 3D A3 7B 1C  8E 0B 29 B0 38 5E A8 9E  |....=.{...).8^..|
 0060  92 56 64 B8 B6 B8 B5 6A  90 43 B9 51 68 B6 74 50  |.Vd....j.C.Qh.tP|
 0070  24 49 C2 36 33 7F 5C 60  8E 75 BA F0 B0 41 8F EA  |$I.63.\`.u...A..|
 0080  10 D4 D4 F0 B0 41 8F EA  -- -- -- -- -- -- -- --  |.....A..        |
16:05:15.268294 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:15.268302 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=184,IVAL=0,ERR=0
 frame[0] READ 184 bytes
 0000  9A 00 48 04 00 00 48 40  88 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 88 98 5E 00 00 38 06  |.7r...E....^..8.|
 0030  9C 60 8E FA B3 AA 0A 01  01 0C 01 BB 66 DE DC 57  |.`..........f..W|
 0040  C2 D6 B7 16 7C 05 80 18  01 72 74 03 00 00 01 01  |....|....rt.....|
 0050  08 0A C8 0E 53 3C 07 D3  F9 16 17 03 03 00 4F C4  |....S<........O.|
 0060  61 27 4B 3F 17 0E 16 6A  C8 38 F1 9B 3F 2E AB 0E  |a'K?...j.8..?...|
 0070  A1 B8 3D FD 37 00 41 9C  B2 A8 20 60 BA 13 C6 F2  |..=.7.A... `....|
 0080  3E B2 9D 23 88 A8 51 D3  89 EA B4 2E 9C BC 75 8F  |>..#..Q.......u.|
 0090  1D BC 47 0F D5 3B A7 CA  0D 5D D4 8E DA F1 F2 5C  |..G..;...].....\|
 00A0  CC B0 7D C8 1C FF 2D 8F  81 D8 90 03 89 60 8A BA  |..}...-......`..|
 00B0  56 28 28 03 89 60 8A BA  -- -- -- -- -- -- -- --  |V((..`..        |
16:05:15.693336 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:15.700637 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:16.230156 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:16.230163 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=184,IVAL=0,ERR=0
 frame[0] READ 184 bytes
 0000  9A 00 48 04 00 00 48 40  88 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 00  00 88 61 45 00 00 38 06  |.7r...E...aE..8.|
 0030  D3 79 8E FA B3 AA 0A 01  01 0C 01 BB 66 DE DC 57  |.y..........f..W|
 0040  C2 D6 B7 16 7C 05 80 18  01 72 70 43 00 00 01 01  |....|....rpC....|
 0050  08 0A C8 0E 56 FC 07 D3  F9 16 17 03 03 00 4F C4  |....V.........O.|
 0060  61 27 4B 3F 17 0E 16 6A  C8 38 F1 9B 3F 2E AB 0E  |a'K?...j.8..?...|
 0070  A1 B8 3D FD 37 00 41 9C  B2 A8 20 60 BA 13 C6 F2  |..=.7.A... `....|
 0080  3E B2 9D 23 88 A8 51 D3  89 EA B4 2E 9C BC 75 8F  |>..#..Q.......u.|
 0090  1D BC 47 0F D5 3B A7 CA  0D 5D D4 8E DA F1 F2 5C  |..G..;...].....\|
 00A0  CC B0 7D C8 1C FF 2D 8F  81 D8 90 03 89 60 31 CD  |..}...-......`1.|
 00B0  AF C5 C5 03 89 60 31 CD  -- -- -- -- -- -- -- --  |.....`1.        |
16:05:16.700329 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:16.707752 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
^C16:05:17.702097 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:17.709640 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:18.148610 usbus0.2 SUBM-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=0,IVAL=0
 frame[0] READ 32768 bytes
16:05:18.148618 usbus0.2 DONE-BULK-EP=00000081,SPD=SUPER,NFR=1,SLEN=184,IVAL=0,ERR=0
 frame[0] READ 184 bytes
 0000  9A 00 48 04 00 00 48 40  88 00 40 00 06 00 02 46  |..H...H@..@....F|
 0010  00 00 00 00 00 00 00 00  00 E0 4C 71 28 47 30 F7  |..........Lq(G0.|
 0020  0D 37 72 83 08 00 45 80  00 88 A6 FC 00 00 38 06  |.7r...E.......8.|
 0030  8D 42 8E FA B3 AA 0A 01  01 0C 01 BB 66 DE DC 57  |.B..........f..W|
 0040  C2 D6 B7 16 7C 05 80 18  01 72 68 C3 00 00 01 01  |....|....rh.....|
 0050  08 0A C8 0E 5E 7C 07 D3  F9 16 17 03 03 00 4F C4  |....^|........O.|
 0060  61 27 4B 3F 17 0E 16 6A  C8 38 F1 9B 3F 2E AB 0E  |a'K?...j.8..?...|
 0070  A1 B8 3D FD 37 00 41 9C  B2 A8 20 60 BA 13 C6 F2  |..=.7.A... `....|
 0080  3E B2 9D 23 88 A8 51 D3  89 EA B4 2E 9C BC 75 8F  |>..#..Q.......u.|
 0090  1D BC 47 0F D5 3B A7 CA  0D 5D D4 8E DA F1 F2 5C  |..G..;...].....\|
 00A0  CC B0 7D C8 1C FF 2D 8F  81 D8 90 03 89 60 4F E9  |..}...-......`O.|
 00B0  04 0A 0A 03 89 60 4F E9  -- -- -- -- -- -- -- --  |.....`O.        |
16:05:18.703056 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 08 E9 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:18.710165 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:18.776863 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:18.784111 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:18.851131 usbus0.2 SUBM-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  C0 05 00 B4 00 01 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
16:05:18.858573 usbus0.2 DONE-CTRL-EP=00000080,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:18.925141 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 6C E8 33 01 04 00  -- -- -- -- -- -- -- --  |@.l.3...        |
 frame[1] WRITE 4 bytes
 0000  00 A0 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:18.932290 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes
16:05:18.999067 usbus0.2 SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=2,SLEN=12,IVAL=0
 frame[0] WRITE 8 bytes
 0000  40 05 00 B4 33 01 04 00  -- -- -- -- -- -- -- --  |@...3...        |
 frame[1] WRITE 4 bytes
 0000  00 84 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
16:05:19.006501 usbus0.2 DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=0,ERR=IOERROR
 frame[0] WRITE 0 bytes

---

ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
Comment 16 Hans Petter Selasky freebsd_committer freebsd_triage 2022-01-28 17:16:01 UTC
The I/O error is on the control endpoint. I/O error typically means an electric failure. When devices do not support commands they should return a STALL PID instead.

There is this knob which you might try setting to 1:
hw.usb.no_cs_fail: 0

Not sure if it helps.

--HPS
Comment 17 Peter 2022-01-28 20:28:10 UTC
No luck. Thanks HPS though for quick check and response.
Comment 18 Tomasz "CeDeROM" CEDRO 2022-01-28 21:22:59 UTC
This problem was happening with some external USB card that contained USB HUB and Ethernet port. I still have that card and sometimes used that on macOS for development with no problem.

This problem occurred always after some time of use, no matter what load of the link was.. maybe some automatic power saving?

I now have the hardware USB sniffer maybe that would help? What do you think HPS? :-)
Comment 19 Hans Petter Selasky freebsd_committer freebsd_triage 2022-01-29 09:44:36 UTC
Is it USB 3.0 capable. You can always try and see what happens in the end, and who is at fault.

--HPS
Comment 20 Peter 2022-01-29 11:49:08 UTC
I have tested two different direct USB-C <> RJ45 adapters and USB hub with the same result. It's easy to reproduce. As soon as I push stream via scp or zfs send, the interface gets stale within 10-20secs.
Comment 21 Tomasz Duda 2023-04-12 09:54:37 UTC
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
Comment 22 Hans Petter Selasky freebsd_committer freebsd_triage 2023-04-12 10:15:03 UTC
Did you cross-check with Linux's USB sources, the idVendor and idProduct values.

Maybe USB2.0 will work better?

There are some known issues about newer USB ethernet adapters. Is it possible to find the datasheet somewhere for these devices?

--HPS
Comment 23 Tomasz Duda 2023-04-12 13:37:38 UTC
> Did you cross-check with Linux's USB sources, the idVendor and idProduct values.

I booted Fedora 37 live memstick on exactly same laptop to check if it will detect the device and it did.

Following is the result of running lsusb ran on Fedora Linux:

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        ID 058f:6387 Alcor Micro Corp. Flash Drive
    |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
        ID 06cb:00fc Synaptics, Inc. 
    |__ Port 4: Dev 4, If 4, Class=Application Specific Interface, Driver=, 480M
        ID 04f2:b6ea Chicony Electronics Co., Ltd 
    |__ Port 4: Dev 4, If 2, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6ea Chicony Electronics Co., Ltd 
    |__ Port 4: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6ea Chicony Electronics Co., Ltd 
    |__ Port 4: Dev 4, If 3, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6ea Chicony Electronics Co., Ltd 
    |__ Port 4: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6ea Chicony Electronics Co., Ltd 
    |__ Port 6: Dev 6, If 0, Class=Hub, Driver=hub/5p, 480M
        ID 17ef:7225 Lenovo 
        |__ Port 5: Dev 7, If 0, Class=, Driver=, 480M
            ID 17ef:721c Lenovo 
    |__ Port 10: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
        ID 8087:0026 Intel Corp. AX201 Bluetooth
    |__ Port 10: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
        ID 8087:0026 Intel Corp. AX201 Bluetooth
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        ID 17ef:721d Lenovo 
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
            ID 17ef:721e Lenovo 
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub

The hub is using "r8152" driver. I took a glance on the driver sources, but I didn't notice VENDOR:PRODUCT pairs (the part we have at the beginning of "if_ure.c").

Following is part of dmesg run on Linux which suggests that the chip is 8153B:

[  100.736289] r8152 2-3.1:1.0: load rtl8153b-2 v1 10/23/19 successfully
[  100.764461] r8152 2-3.1:1.0 eth0: v1.12.13
[  100.810899] r8152 2-3.1:1.0 enp0s13f0u3u1: renamed from eth0
[  101.297328] ucsi_acpi USBC000:00: GET_CONNECTOR_STATUS failed (-110)
[  102.321355] ucsi_acpi USBC000:00: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)
[  104.369313] ucsi_acpi USBC000:00: GET_CONNECTOR_STATUS failed (-110)
[  104.897452] thinkpad_acpi: undocked from hotplug port replicator
[  104.914313] usb 3-6.5: new high-speed USB device number 7 using xhci_hcd
[  104.993740] usb 3-6.5: New USB device found, idVendor=17ef, idProduct=721c, bcdDevice= 0.01
[  104.993750] usb 3-6.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  104.993753] usb 3-6.5: Product: Lenovo Powered Hub     
[  104.993756] usb 3-6.5: Manufacturer: VIA Labs, Inc.         
[  104.993758] usb 3-6.5: SerialNumber: 0000000000000001
[  179.494618] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s13f0u3u1: link becomes ready
[  179.495450] r8152 2-3.1:1.0 enp0s13f0u3u1: carrier on


> Maybe USB2.0 will work better?

Well, on 2.0 I won't be able to get 1Gbit. But at the end of this comment I provide a little update.

> There are some known issues about newer USB ethernet adapters. Is it possible to find the datasheet somewhere for these devices?

Unfortunately, I'm not aware of any datasheets for the device.

--

To add to the above, only today I set URE_FLAG_8153B flag in "if_ure.c" driver. Then I unloaded old driver (with 0 set as flag) and loaded newer version. This gave me some of 1300 ups/downs in 3 hours.

After I've rebooted the laptop, the ups/downs rate seems to drop. I have 80 ups/downs of the ue0 interface in 2h 40min. All of that while doing "rclone sync" of some 160GiB of data.

I'm not yet sure that the lower rate of drops is thanks to URE_FLAG_8153B & reboot and I don't know if over time it will get worse.
Comment 24 Poul-Henning Kamp freebsd_committer freebsd_triage 2023-08-28 20:02:27 UTC
I have had some encouraging experiences under -CURRENT by using if_cdce instead.

To do so you have to use configuration 1 for these devices, and you may have to take them out of the if_ure.c table of devices.

I'll report back if the good vibes continue.

For reference:

usbconfig add_dev_quirk_vplh 0x17ef 0x3069 0 0xffff UQ_CFG_INDEX_1

hw.usb.quirk.0 "0x17ef 0x3069 0 0xffff UQ_CFG_INDEX_1"