I'm also getting the above errors when trying to read from a 1080p60
USB3 webcam. It seems I have some information not mentioned above.

[    8.822044] usb 4-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    8.851879] usb 4-2: New USB device found, idVendor=15aa, idProduct=1555, 
[    8.851883] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.851886] usb 4-2: Product: 3.0 USB Camera

When opening /dev/video0 with an application, I immediatelly get the
following error repeatedly (but event-dma increments by 0x10 each line),
as seems to be the case for everyone.

[   54.007465] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
[   54.010154] xhci_hcd 0000:01:00.0: Looking for event-dma 0000000849690010 
trb-start 0000000849690000 trb-end 0000000849690000 seg-start 0000000849690000 
seg-end 0000000849690ff0

I added some previously posted diagnostic code from Mathias Nyman to
drivers/usb/host/xhci-ring.c, and got the following, which is similar to
previously reported bug with some ASMedia chip, but seems to be missing
transfer events much more frequently. It seems to be missing a "Transfer
Event" after each "Normal" packet. It's not about the LINK TRB because
it doesn't work for long enough to get to it (there's plenty of zeroed
out descriptors at the end of both rings, which I've omitted).

This is likely an ASMedia firmware/hardware issue, though this card (&
camera) works fine on the same machine when running Windows. I saw
mentions that ASMedia would be releasing a firmware fix, but I've
updated to what I believe to be the latest and it didn't help at all.
Has anyone found a firmware that works?

Attached dmesg also contains the event & endpoint ring dumps

** Attachment added: "asm1142-trace.txt"

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  xhci_hcd: TRB DMA errors reported with ASMedia ASM1142 USB 3.1

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to