Opened 3 years ago

Closed 10 months ago

#13056 closed enhancement (fixed)

Support for PCIe USB 3.0 Cards

Reported by: vidrep Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Owners of older PC's may want to upgrade to USB 3.0 using a PCIe card.

Attachments (5)

serial_log_GC-USB3.1 (8.2 KB ) - added by vidrep 3 years ago.
serial_log_PEXUSB3S23 (1.8 KB ) - added by vidrep 3 years ago.
syslog (160.1 KB ) - added by vidrep 10 months ago.
IMG_0064.JPG (683.9 KB ) - added by vidrep 10 months ago.
IMG_0065.JPG (810.6 KB ) - added by vidrep 10 months ago.

Download all attachments as: .zip

Change History (21)

comment:1 by vidrep, 3 years ago

Gigabyte GC-USB3.1 device Serial bus controller (USB controller, XHCI) [c|3|30] vendor 1b21: ASMedia Technology Inc. device 1242: ASM1142 USB 3.1 Host Controller This card worked with every USB 2.0 device I tried, but fails to detect USB 3.0 devices.

Last edited 3 years ago by vidrep (previous) (diff)

comment:2 by vidrep, 3 years ago

StarTech PEXUSB3S23 device Serial bus controller (USB controller, XHCI) [c|3|30] vendor 1b6f: Etron Technology, Inc. device 7023: EJ168 USB 3.0 Host Controller This card failed to work with any USB device I tried.

Last edited 3 years ago by vidrep (previous) (diff)

comment:3 by vidrep, 3 years ago

I did a round of testing with these two cards using hrev50677 x86_gcc2. After inserting each card and booting Haiku, I would connect the following USB devices and serial log the output to another PC.

Device 1 - Kingston DTSE9 G2 USB 3.0 8GB memory stick formatted with BFS

"Kingston Technology" "DataTraveler 100 G3/G4/SE9 G2" ver. 0110

Device 2 - Seagate 250GB laptop HDD ST9250827AS connected using a StarTech

USB3S2SAT3CB USB 3.0 to SATA adapter cable

"ASMedia Technology Inc." "ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge" ver. 0100

by vidrep, 3 years ago

Attachment: serial_log_GC-USB3.1 added

by vidrep, 3 years ago

Attachment: serial_log_PEXUSB3S23 added

comment:4 by kallisti5, 2 years ago

Please give this a try post- hrev51536 . a pretty large bug in xhci was discovered + fixed.

Thanks!

comment:5 by vidrep, 2 years ago

Tested both plug-in cards today with hrev51541 x86_64. Neither card detects USB 3.0 devices plugged into the ports.

On the bright side, my on-board USB 3.0 controller is now working. Details below:

device Serial bus controller (USB controller, XHCI) [c|3|30]

vendor 8086: Intel Corporation

device 1e31: 7 Series/C210 Series Chipset Family USB xHCI Host Controller

comment:6 by waddlesplash, 11 months ago

Please retest after hrev52772.

comment:7 by vidrep, 11 months ago

Tested again with hrev52775 x86_64. Turn's out the Gigabyte card is defective (Haiku won't boot). However, the StarTech is working, but is not detected. On-board USB still working OK. So, no change.

comment:8 by waddlesplash, 10 months ago

Please retest after hrev52890.

comment:9 by vidrep, 10 months ago

Tested with hrev52892 x86_64. No change.

comment:10 by waddlesplash, 10 months ago

Please post a new syslog, the logging is now different.

comment:11 by vidrep, 10 months ago

Done

by vidrep, 10 months ago

Attachment: syslog added

comment:12 by waddlesplash, 10 months ago

So ... there aren't any XHCI errors in that syslog (unlike the first syslog where there were). The controllers appear to initialize successfully. But there are EHCI errors:

KERN: usb error ehci -1: qtd (0x182d5200) error: 0x00058d46
KERN: usb error ehci -1: qtd (0x182d5c80) error: 0x00088d46

Are you sure your devices are really on USB3 ports?

comment:13 by vidrep, 10 months ago

hrev52901 x86_64. As soon as a USB 3 memory stick is inserted into the StarTech card, Haiku goes into KDL. Photo attached of KDL.

by vidrep, 10 months ago

Attachment: IMG_0064.JPG added

by vidrep, 10 months ago

Attachment: IMG_0065.JPG added

comment:14 by waddlesplash, 10 months ago

I ran into that same KDL while testing other changes to the XHCI driver, and fixed it in hrev52916. Please retest after that.

comment:15 by vidrep, 10 months ago

Tested StarTech PCIe USB 3.0 card with hrev52926 and it is now working. Close the ticket. Thanks!

comment:16 by pulkomandy, 10 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.