USB 3.x controller cards

AmigaOne X5000 platform specific issues related to Linux only.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

USB 3.x controller cards

Post by Roland »

I'm testing an Axagon PCEU-232VL USB 3.2 controller card (https://www.axagon.eu/en/produkty/pceu-232vl) in my X5000. The card is recognized by system tools (see attachment), but it does not seem to be active. Anything I put in the USB ports is not seen...

This card has a VIA Labs VL805 chipset, which should be supported from kernel 2.6.31. Is the driver for this chipset present and enabled also in X5000's kernels? I alredy tested a few kernel versions but no difference.

Any suggestions how to activate this card?

Edit: Command "lspci -v" gives this information:

Code: Select all

1000:05:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI])
	Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at c20100000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/4 Maskable- 64bit+
	Capabilities: [c4] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: xhci_hcd
Attachments
Screenshot at 2022-05-03 11-49-39.png
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: USB 3.x controller cards

Post by xeno74 »

Hi Roland,

Please post the output of “dmesg | grep xhci“.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: USB 3.x controller cards

Post by Roland »

xeno74 wrote: Tue May 03, 2022 5:13 pm Please post the output of “dmesg | grep xhci“.

Code: Select all

~$ dmesg | grep xhci
[    3.819063] xhci_hcd 1000:05:00.0: xHCI Host Controller
[    3.823022] xhci_hcd 1000:05:00.0: new USB bus registered, assigned bus number 1
[    3.827216] xhci_hcd 1000:05:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
[    3.843515] usb usb1: Manufacturer: Linux 5.10.101_A-EON_X5000 xhci-hcd
[    3.860805] xhci_hcd 1000:05:00.0: xHCI Host Controller
[    3.865210] xhci_hcd 1000:05:00.0: new USB bus registered, assigned bus number 2
[    3.869646] xhci_hcd 1000:05:00.0: Host supports USB 3.0 SuperSpeed
[    3.892652] usb usb2: Manufacturer: Linux 5.10.101_A-EON_X5000 xhci-hcd
[    3.898136] xhci_hcd 1000:05:00.0: WARNING: Host System Error
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: USB 3.x controller cards

Post by xeno74 »

There is a host system error. Could you please check more the logs? I don’t know what this error mean.

We had issues with VIA USB3 cards in the past: Kernel 3.17 thread

I will add more support for USB3 cards in the next kernels but I am not sure if it solves this issue.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: USB 3.x controller cards

Post by Roland »

xeno74 wrote: Wed May 04, 2022 3:07 am There is a host system error. Could you please check more the logs? I don’t know what this error mean.
Could it simply mean that the controller is defective?

Syslog did not have much information (kernel.log had the same lines):

Code: Select all

May  4 07:58:32 Fienix kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
May  4 07:58:32 Fienix kernel: ehci-pci: EHCI PCI platform driver
May  4 07:58:32 Fienix kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
May  4 07:58:32 Fienix kernel: ohci-pci: OHCI PCI platform driver
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: xHCI Host Controller
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: new USB bus registered, assigned bus number 1
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
May  4 07:58:32 Fienix kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
May  4 07:58:32 Fienix kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
May  4 07:58:32 Fienix kernel: usb usb1: Product: xHCI Host Controller
May  4 07:58:32 Fienix kernel: usb usb1: Manufacturer: Linux 5.10.101_A-EON_X5000 xhci-hcd
May  4 07:58:32 Fienix kernel: usb usb1: SerialNumber: 1000:05:00.0
May  4 07:58:32 Fienix kernel: hub 1-0:1.0: USB hub found
May  4 07:58:32 Fienix kernel: hub 1-0:1.0: 1 port detected
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: xHCI Host Controller
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: new USB bus registered, assigned bus number 2
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: Host supports USB 3.0 SuperSpeed
May  4 07:58:32 Fienix kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
May  4 07:58:32 Fienix kernel: random: fast init done
May  4 07:58:32 Fienix kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
May  4 07:58:32 Fienix kernel: usb usb2: Product: xHCI Host Controller
May  4 07:58:32 Fienix kernel: usb usb2: Manufacturer: Linux 5.10.101_A-EON_X5000 xhci-hcd
May  4 07:58:32 Fienix kernel: usb usb2: SerialNumber: 1000:05:00.0
May  4 07:58:32 Fienix kernel: xhci_hcd 1000:05:00.0: WARNING: Host System Error
May  4 07:58:32 Fienix kernel: hub 2-0:1.0: USB hub found
May  4 07:58:32 Fienix kernel: hub 2-0:1.0: 4 ports detected
lsusb gave this info (there is no sign of a usb stick connected to the card):

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 04d9:0161 Holtek Semiconductor, Inc. 
Bus 003 Device 003: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 003 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
We had issues with VIA USB3 cards in the past: Kernel 3.17 thread

I will add more support for USB3 cards in the next kernels but I am not sure if it solves this issue.
Ok, thanks for the information. I wish I had noticed that discussion before I ordered the card...

I suppose it would be wisest to simply return the card?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: USB 3.x controller cards

Post by xeno74 »

Roland wrote: Wed May 04, 2022 6:48 am
Could it simply mean that the controller is defective?

I suppose it would be wisest to simply return the card?
Yes, the kernel has detected the card. I will add more support for USB cards and chips to the next kernel 5.10. (Kernel 5.10.113)
Maybe this fixes the issue.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: USB 3.x controller cards

Post by Roland »

xeno74 wrote: Wed May 04, 2022 2:48 pm Yes, the kernel has detected the card. I will add more support for USB cards and chips to the next kernel 5.10. (Kernel 5.10.113)
Maybe this fixes the issue.
Ok, thanks! Is there some way to list all the controller chips (USB and Sata) currently supported in Kernel?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: USB 3.x controller cards

Post by xeno74 »

Roland wrote: Thu May 05, 2022 8:27 am Ok, thanks! Is there some way to list all the controller chips (USB and Sata) currently supported in Kernel?
Yes, there is a way. You can look in the kernel config file and if you don’t know an option then you can ask google.
You can find it in the src folder of the X5000 part of the kernel package.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: USB 3.x controller cards

Post by Roland »

xeno74 wrote: Thu May 05, 2022 5:04 pm Yes, there is a way. You can look in the kernel config file and if you don’t know an option then you can ask google.
You can find it in the src folder of the X5000 part of the kernel package.
Thanks, found it... Boy, there is from what to choose! Why does some of the activated modules have '=y' and others '=m' at the end of the string?

PS. No need to use Google, at this site you can search both kernel config and module names: https://www.kernelconfig.io/ .
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: USB 3.x controller cards

Post by xeno74 »

Roland wrote: Thu May 05, 2022 8:40 pm Thanks, found it... Boy, there is from what to choose! Why does some of the activated modules have '=y' and others '=m' at the end of the string?
-y = It‘s in the kernel file
-m = Kernel module
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply