X1000: USB2 (EHCI) connector on the Nemo board

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 10705
Joined: Fri Mar 23, 2012 7:58 am
Contact:

X1000: USB2 (EHCI) connector on the Nemo board

Post by xeno74 »

Hi All,

Where is the connector for USB2 (EHCI) on the Nemo board?

lsusb -t -v

Code: Select all

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 12M
        ID 03ee:6901 Mitsumi SmartDisk FDD
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 046a:000c Cherry GmbH 
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
I mean the connector for:

Code: Select all

Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg | grep -i ehci

Code: Select all

[    1.907060] ehci-pci 0000:05:13.5: EHCI Host Controller
[    1.907526] ehci-pci 0000:05:13.5: new USB bus registered, assigned bus number 2
[    1.908009] ehci-pci 0000:05:13.5: applying AMD SB600/SB700 USB freeze workaround
[    1.908523] ehci-pci 0000:05:13.5: debug port 1
[    1.926730] ehci-pci 0000:05:13.5: irq 12, io mem 0xa0209800
[    1.949229] ehci-pci 0000:05:13.5: USB 2.0 started, EHCI 1.00
[    2.005321] usb usb2: Product: EHCI Host Controller
[    2.024460] usb usb2: Manufacturer: Linux 6.14.0-rc2-powerpc64-smp ehci_hcd
Does anyone use the SB600 USB2 port?

Thanks,
Christian
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by Hypex »

xeno74 wrote: Wed Feb 12, 2025 10:30 am Hi All,

Where is the connector for USB2 (EHCI) on the Nemo board?
That should be all the connectors at the back. And the front headers should be the same. According to the X1000 TRM at section 2.3 South Bridge:
  • multiple USB ports
  • 5 OHCI and 1 EHCI host controllers
  • all ports are fully USB 1.1 and USB 2.0 compliant
I have had trouble connecting my case to front port headers. Only one works for me if I plug it into a back port. I have a printer and keyboard plugged in through the back and usually use USB sticks in my front port.

viewtopic.php?t=4715
User avatar
sailorMH
Posts: 272
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by sailorMH »

All ten USB ports are USB2.0, and are connected to SB600.
As I know, there is no other USB controller except SB600.
Image.
Firmware recognizes only one port: USB keyboard MUST be connected to the lower USB port closest to the Audio ports. I have USB hub connected to this first port for flash+kayboard.
8 ports are in back and 2 ports have header on motherboard.

Image
Position of USB header on motherboard is P7.

I am normally using both front (P7) ports, it works normally.
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 10705
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by xeno74 »

Hi SailorMH,

You're right because of the USB2 connectors but actually there are only USB 1.1 interfaces (OHCI) with 12 Mbit/s.

There is one real USB 2.0 interface (EHCI) from SB600 with 480 Mbit/s but it seems it is not connected to a USB socket.

You can check it with lsusb.

lsusb -t -v

Code: Select all

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 12M
        ID 03ee:6901 Mitsumi SmartDisk FDD
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 046a:000c Cherry GmbH 
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Cheers,
Christian
User avatar
sailorMH
Posts: 272
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by sailorMH »

xeno74 wrote: Wed Feb 19, 2025 12:51 pm You're right because of the USB2 connectors but actually there are only USB 1.1 interfaces (OHCI) with 12 Mbit/s.
There is one real USB 2.0 interface (EHCI) from SB600 with 480 Mbit/s but it seems it is not connected to a USB socket.
Hi xeno74,

You are right - According to AMD SB600 Register Reference Manual there is 5xUSB OHCI internal PCI devices and one (debug port) EHCI device
Image

But also according to SB600 Databook this devices are connected to PHY though root hub, and all physical ports should be EHCI capable.
Image

In real with linux I have USB3.0 PCIe card connected to front panel, but I can measure motherboard port speed at home - probably next week.

Martina
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 10705
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by xeno74 »

Hi Martina,

Thanks a lot for the explanation.

I think, I buy a USB3.0 PCIe card as well.

Cheers,
Christian
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by Hypex »

sailorMH wrote: Wed Feb 19, 2025 1:34 pm
Wow, lots of great info, including extra diagrams. Some I had missed in the TRM guide. Well, that trumps the reply I gave! :-P
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by Hypex »

xeno74 wrote: Wed Feb 19, 2025 10:57 pm I think, I buy a USB3.0 PCIe card as well.
It's strange the EHCI controller is listed as a debug port. I would have expected the slowest to be a debug port. On that note does that mean UHCI is not supported and older USB 1.0 devices will fail?

In any case the EHCI USB controller certainly works. Don't know if there is a limit to connected devices. I've just connected a USB3 cradle with laptop HDD and turned on my printer and both show up.

lsusb -t -v

Code: Select all

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 12M
        |__ Port 1: Dev 3, If 1, Class=HID, Driver=usbhid, 12M
        |__ Port 1: Dev 3, If 0, Class=HID, Driver=usbhid, 12M
        |__ Port 2: Dev 5, If 0, Class=HID, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    |__ Port 7: Dev 12, If 0, Class=stor., Driver=usb-storage, 480M
dmesg | grep -i ehci

Code: Select all

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:05:13.5: EHCI Host Controller
ehci-pci 0000:05:13.5: new USB bus registered, assigned bus number 1
ehci-pci 0000:05:13.5: applying AMD SB600/SB700 USB freeze workaround
ehci-pci 0000:05:13.5: debug port 1
ehci-pci 0000:05:13.5: irq 12, io mem 0xa0209800
ehci-pci 0000:05:13.5: USB 2.0 started, EHCI 1.00
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 5.10.232-powerpc64-smp ehci_hcd
usb 1-7: new high-speed USB device number 4 using ehci-pci
usb 1-7: new high-speed USB device number 5 using ehci-pci
usb 1-7: new high-speed USB device number 6 using ehci-pci
usb 1-7: new high-speed USB device number 7 using ehci-pci
usb 1-7: new high-speed USB device number 8 using ehci-pci
usb 1-7: new high-speed USB device number 9 using ehci-pci
usb 1-7: new high-speed USB device number 10 using ehci-pci
usb 1-7: new high-speed USB device number 11 using ehci-pci
usb 1-7: reset high-speed USB device number 11 using ehci-pci
usb 1-7: new high-speed USB device number 12 using ehci-pci
usb 1-5: new high-speed USB device number 13 using ehci-pci
I bench marked my USB3 HDD connected to USB2 port on X1000 and get good speeds! :-)

Image
Attachments
Screenshot HDD USB.png
User avatar
xeno74
Posts: 10705
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by xeno74 »

Hi Hypex,

Thanks for reporting!

Do you use the official A-EON X1000 case and if yes, where is the USB2 port with the USB 2.0 (EHCI) connection?

Thanks,
Christian
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: X1000: USB2 (EHCI) connector on the Nemo board

Post by Hypex »

xeno74 wrote: Sat Feb 22, 2025 8:28 am Hi Hypex,

Thanks for reporting!

Do you use the official A-EON X1000 case and if yes, where is the USB2 port with the USB 2.0 (EHCI) connection?

Thanks,
Christian
No, when I setup my X1000, I ended up installing it into a ThermalTake SpaceCraft VF-1. But all 8 back ports and 2 on board header of the X1000 should be physically connected to EHCI controller. If it's all connected up, then the front top USB ports on top of the Fractal case should be EHCI, including all back ports.

Also, from lacking knowledge I misunderstood about the EHCI debug port. So the EHCI on the X1000 using SB600 isn't some debug port that's used to support EHCI. It supports USB debugging with a USB debug interface which is a modern implementation of serial debugging. So with a modern USB debug cable it acts like a classic null modem cable. So a USB port can be used as a simple serial port for connection to a terminal.
Post Reply