[BUG REPORT] usb: dwc3: Bug while trying to use a RF ID Reader connected to USB port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

thanks in advance if you read this!

I'm having issues trying to use a RF ID Reader connected to USB port.
The platform I'm using is based on rockchip rk3328. Linux version: 5.15.78-yocto-standard.

When the RF ID Reader is connected to the USB port, the device is recognized, but it doesn't work. After the ID Reader is disconnected the XHCI does not respond anymore, and we need to reboot the system to use the USB port again.

dmesg logs when the device is plugged:
[ 36.187404] usb 4-1: new full-speed USB device number 2 using xhci-hcd [ 36.307412] usb 4-1: New USB device found, idVendor=413d, idProduct=2107 [ 36.314171] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 36.322146] usb 4-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes [ 36.344498] input: HID 413d:2107 as /devices/platform/usb@ff600000/ff600000.dwc3/xhci-hcd.5.auto/usb4/4-1/4-1:1.0/0003:413D:2107.0001/input/input2 [ 36.409716] hid-generic 0003:413D:2107.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 413d:2107] on usb-xhci-hcd.5.auto-1/input0

dmesg logs some seconds after device is unplugged:
[   66.634196] usb 4-1: USB disconnect, device number 2
[ 71.647386] xhci-hcd xhci-hcd.5.auto: xHCI host not responding to stop endpoint command. [ 71.655492] xhci-hcd xhci-hcd.5.auto: Assuming host is dying, halting host. [ 71.678498] xhci-hcd xhci-hcd.5.auto: Host not halted after 16000 microseconds. [ 71.685832] xhci-hcd xhci-hcd.5.auto: Non-responsive xHCI host is not halting.
[   71.693073] xhci-hcd xhci-hcd.5.auto: Completing active URBs anyway.
[   71.699496] xhci-hcd xhci-hcd.5.auto: HC died; cleaning up


I found some people was having this issue because of USB autosuspend. But disabling that functionality didn't help.

https://we.tl/t-84bf0EE0Fs
In that link you can download the files with regdump traces and dmesg.

Any help to solve this is appreciated! Let me know if you need more information.

Best regards,
Hector




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux