USB 3.0 ports don't work in the same time.

Post Reply
archee
Posts: 4
Joined: Sat Nov 23, 2019 7:21 pm
languages_spoken: english
ODROIDs: XU4Q
Has thanked: 0
Been thanked: 0
Contact:

USB 3.0 ports don't work in the same time.

Unread post by archee » Sat Nov 23, 2019 7:28 pm

Plugging a wired mouse and a wireless keyboard dongle into the blue USB ports of a XU4Q will cause the keyboard to stop working.
The keys pressed on the keyboard get buffered and appear on the screen only upon unplugging the wired mouse.
Since I also need the WiFI dongle I need the two USB3.0 ports to work simultaneously on the XU4Q.
Is it because of using too much power?

User avatar
odroid
Site Admin
Posts: 32677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 209 times
Been thanked: 364 times
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by odroid » Mon Nov 25, 2019 10:28 am

I don't think it is a power issue.
What happens if you plug the wireless keyboard into USB 2.0 port?

archee
Posts: 4
Joined: Sat Nov 23, 2019 7:21 pm
languages_spoken: english
ODROIDs: XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by archee » Tue Nov 26, 2019 7:32 pm

The wireless keyboard works in the USB 2.0 port.
Having two things in the USB 3.0 will make one of them stop working.
The WiFi disconnects immediately when I plug in the wired mouse under the WiFi dongle.

User avatar
odroid
Site Admin
Posts: 32677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 209 times
Been thanked: 364 times
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by odroid » Wed Nov 27, 2019 10:02 am

Can you show me "lsusb" and "lsusb -t" outputs before & after plugging the devices?
You might need a SSH connection via Ethernet to monitor the USB driver status.

archee
Posts: 4
Joined: Sat Nov 23, 2019 7:21 pm
languages_spoken: english
ODROIDs: XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by archee » Sat Nov 30, 2019 7:53 am

When I tried for the first time, with cold device, everything worked for a minute, then stopped.
Then later I got this output with a delayed bash loop:

----------------------- // Nothing plugged in
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

----------------------- // mouse plugged in, working
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 20, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

----------------------- // mouse and keyboard, keyboard occasionally works.
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 20, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 21, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 21, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 21, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

----------------------- // mouse, keyboard and USB wifi, only mouse working
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 20, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 21, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 21, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 21, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 1: Dev 9, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M



edit: lsusb outout: // keyboard occasionally worked, but wifi didn't.
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 035: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 036: ID 1c4f:0048 SiGma Micro
Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 014: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 36, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 35, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 35, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 35, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 1: Dev 14, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M


Edit:
Everything works when I boot with devices already plugged in.

User avatar
odroid
Site Admin
Posts: 32677
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 209 times
Been thanked: 364 times
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by odroid » Sun Dec 01, 2019 7:24 pm

Thank you for the various test results.
But it is really hard to narrow down root causes.
I will try to find a Logitech Unifying Receiver to reproduce the issue.

archee
Posts: 4
Joined: Sat Nov 23, 2019 7:21 pm
languages_spoken: english
ODROIDs: XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 ports don't work in the same time.

Unread post by archee » Thu Dec 05, 2019 11:10 am

I experienced issues even if I only use the wired mouse and the wifi dongle. Problems usually start after unplugging and re-plugging a USB device, more often when the device is already warm.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest