XU3 USB 3.0 OTG adapter.

Post Reply
MastaG
Posts: 320
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 19 times
Been thanked: 8 times
Contact:

XU3 USB 3.0 OTG adapter.

Post by MastaG » Sun Mar 29, 2020 8:34 am

Hi there,

I'm looking for a OTG adapter for the XU3 so I can use it as a second USB 3.0 port.
However it seems to be sold out and I'm having a hard time to find the correct one.
The description says: USB 3.0 Micro-USB-A to USB-A (female) OTG.
But I'm only able to find: USB 3.0 Micro-USB-B to USB-A (female) OTG adapters.

Like this one: https://www.allekabels.nl/usb-otg-kabel ... -a-30.html

Will the Micro-B plug also fit the XU3?
Or does it have to be Micro-A?

User avatar
odroid
Site Admin
Posts: 34127
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 670 times
Been thanked: 614 times
Contact:

Re: XU3 USB 3.0 OTG adapter.

Post by odroid » Mon Mar 30, 2020 12:13 pm

That USB 3.0 cable in the link seems to be compatible with XU3.

BTW, Ameridroid also has it probably.
https://ameridroid.com/collections/cabl ... host-cable
These users thanked the author odroid for the post:
Ameridroid (Tue Mar 31, 2020 6:34 am)

MastaG
Posts: 320
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 19 times
Been thanked: 8 times
Contact:

Re: XU3 USB 3.0 OTG adapter.

Post by MastaG » Thu Apr 02, 2020 3:31 am

odroid wrote:
Mon Mar 30, 2020 12:13 pm
That USB 3.0 cable in the link seems to be compatible with XU3.

BTW, Ameridroid also has it probably.
https://ameridroid.com/collections/cabl ... host-cable
Thank you.. the cable I ordered from the Dutch site doesn't work..both dmesg/lsusb doesn't show anything when I plug it in.

I guess it does have to be micro-A USB 3.0 on the odroid side in order to trigger host-mode.

So I'll order one from ameridroid :)

MastaG
Posts: 320
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 19 times
Been thanked: 8 times
Contact:

Re: XU3 USB 3.0 OTG adapter.

Post by MastaG » Wed May 13, 2020 5:36 am

Got it working on memeka's 5.4 kernel.
It appears the port is set to "peripheral" by default.
I can switch it to "otg" or "host" mode.

"otg" only seeems to work with devices supporting the negotiation thing.
But host mode simply turns it into a second usb port.

Code: Select all

echo -n host > /sys/kernel/debug/12400000.dwc3/mode
Or to make it permanent:

Code: Select all

diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index db0bc17a667b..422302635592 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -68,5 +68,5 @@
 };
 
 &usbdrd_dwc3_1 {
-       dr_mode = "peripheral";
+       dr_mode = "host";
 };
Another thing that works on 5.4 I guess :)
These users thanked the author MastaG for the post (total 2):
odroid (Wed May 13, 2020 9:53 am) • mad_ady (Wed May 13, 2020 1:23 pm)

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest