I am having the same exact error with `USB controller: ASMedia
Technology Inc. ASM1142 USB 3.1 Host Controller` and a `Logitech
StreamCam`.

I tried updating my kernel from `4.15.0-112` to `5.4.0-42` but that
didn't helped.

I brought a "dodocool DC26 SuperSpeed USB 3.1 PCI-Express Card with Dual
Type-C Ports", which was supposed to work with Linux, but it only works
for slow speed connections, if I try to use a high speed connection it
does not work.

The problem is not on the device I'm connecting. If I use an "Adaptor
Usb-C 3.1 Type-c Female to Usb-a 3.0 Male" in the onboard USB 3.0, it
works fine. I just have issues with the ASM1142.

If I keep trying to connect, I run into a error that totally disable the
ASM1142 .


These are the dmesg logs when I connect the high speed device:
```
[ 2229.576801] usb 6-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 2229.604832] usb 6-1: New USB device found, idVendor=046d, idProduct=0893, 
bcdDevice= 3.17
[ 2229.604837] usb 6-1: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 2229.604841] usb 6-1: Product: Logitech StreamCam
[ 2229.604844] usb 6-1: SerialNumber: 5085D605
[ 2229.609976] uvcvideo: Found UVC 1.00 device Logitech StreamCam (046d:0893)
[ 2229.626309] uvcvideo 6-1:1.0: Entity type for entity Processing 3 was not 
initialized!
[ 2229.626313] uvcvideo 6-1:1.0: Entity type for entity Extension 14 was not 
initialized!
[ 2229.626316] uvcvideo 6-1:1.0: Entity type for entity Extension 6 was not 
initialized!
[ 2229.626318] uvcvideo 6-1:1.0: Entity type for entity Extension 8 was not 
initialized!
[ 2229.626321] uvcvideo 6-1:1.0: Entity type for entity Extension 9 was not 
initialized!
[ 2229.626323] uvcvideo 6-1:1.0: Entity type for entity Extension 10 was not 
initialized!
[ 2229.626325] uvcvideo 6-1:1.0: Entity type for entity Extension 11 was not 
initialized!
[ 2229.626327] uvcvideo 6-1:1.0: Entity type for entity Camera 1 was not 
initialized!
[ 2229.626514] input: Logitech StreamCam as 
/devices/pci0000:00/0000:00:01.0/0000:01:00.0/usb6/6-1/6-1:1.0/input/input29
[ 2229.635309] usb 6-1: current rate 16000 is different from the runtime rate 
24000
[ 2229.639323] usb 6-1: current rate 16000 is different from the runtime rate 
32000
[ 2229.643585] usb 6-1: current rate 16000 is different from the runtime rate 
48000
[ 2229.661927] hid-generic 0003:046D:0893.0007: hiddev0,hidraw0: USB HID v1.11 
Device [Logitech StreamCam] on usb-0000:01:00.0-1/input5
[ 2229.790807] usb 6-1: current rate 16000 is different from the runtime rate 
48000
[ 2229.797295] usb 6-1: current rate 16000 is different from the runtime rate 
48000
[ 2229.806037] usb 6-1: current rate 16000 is different from the runtime rate 
48000
``` 

When I try to access the device (opening Cheese), it turns the "camera led on" 
but no image is displayed, and this are the dmesg logs:
```
[ 2282.173723] usb 6-1: reset SuperSpeed Gen 1 USB device number 3 using 
xhci_hcd
[ 2282.913814] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
[ 2282.913834] xhci_hcd 0000:01:00.0: Looking for event-dma 000000036400e020 
trb-start 000000036400e000 trb-end 000000036400e000 seg-start 000000036400e000 
seg-end 000000036400eff0
[ 2282.913836] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
[ 2282.913838] xhci_hcd 0000:01:00.0: Looking for event-dma 000000036400e050 
trb-start 000000036400e000 trb-end 000000036400e000 seg-start 000000036400e000 
seg-end 000000036400eff0

//(...) repeats above 2 entries only changing event-dma id
``` 

If I change a configuration in Cheese to use 640x800, then no errors
appear in log, and the device works. If I keep insisting in changing the
resolution options to anything higher than 640x800, the whole card is
disabled and only rebooting the device enables it again, and this
appears in dmesg logs:

```
[ 2515.681558] xhci_hcd 0000:01:00.0: ERROR unknown event type 15
[ 2520.664512] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint 
command.
[ 2520.664535] xhci_hcd 0000:01:00.0: xHCI host controller not responding, 
assume dead
[ 2520.664574] xhci_hcd 0000:01:00.0: HC died; cleaning up
[ 2520.664629] usb 6-1: Not enough bandwidth for altsetting 0
[ 2520.664669] usb 6-1: USB disconnect, device number 3
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1749961

Title:
  xhci_hcd: TRB DMA errors reported with ASMedia ASM1142 USB 3.1
  Controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1749961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to