How many USB buses?

Post Reply
ChronopiumSilvestris
Posts: 1
Joined: Wed May 28, 2014 11:01 pm
languages_spoken: english, spanish, german
Has thanked: 0
Been thanked: 0
Contact:

How many USB buses?

Unread post by ChronopiumSilvestris » Wed May 28, 2014 11:19 pm

Hi there!

I know the Odroid 3 has 3 USB 2.0 ports, but how many USB buses? In other words, what would be the output of running the linux command " lsusb -t " in a terminal?

I need two independent usb buses for a project where I would read 12 audio channels with an usb sound card and put some fx on them depending on the analog readings I would be getting from a Teensy/Arduino plugged into another USB.

The problem is, when the Teensy is sending a lot of fast serial data through the same USB bus, it easily interferes with the sound and some high pitched fast pulses get into the audio.

Also, would there be another way to send Serial data without USB?

Many thanks for reading.

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: How many USB buses?

Unread post by mdrjr » Wed May 28, 2014 11:52 pm

U3 has two host controllers.

One is used for Ethernet
and One is shared over the 3 usb ports

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

Re: How many USB buses?

Unread post by odroid » Wed May 28, 2014 11:57 pm

New PCB revision of U3 has a new feature of USB OTG Dual role port.
The micro-USB port can be the host mode as well as device mode.
We are implementing the device driver now.
If everything is okay, we can have another USB bus with a cheap($1 approx) Micro-USB to standard USB host adapter.
We will finish the implementation and test by 10-June.

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Mon Nov 24, 2014 9:05 pm

Hi,

I'm planning to use two depth sensors on a single U3 board.
From past experience on other platforms, depth sensors use a lot of USB bandwidth
and they work with one sensor per USB host controller.

I had a look at the product details page (http://hardkernel.com/main/products/prd ... &tab_idx=2)
and messages on this post but I'm still unsure.

Will I be able to use two depth sensors with an U3 as it is by connecting
one to the USB port and the other to the microUSB port + an OTG cable ?
If not, what's the recommended hardware to expand with one more USB Host controller ?

My U3 board revision is 0.2 20131107

Thank you,
George

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

Re: How many USB buses?

Unread post by odroid » Mon Nov 24, 2014 9:43 pm

What is the maximum bandwidth of the USB depth sensor?
Is it a Kinect? or a Xtion?

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Tue Nov 25, 2014 1:50 am

Thanks for getting back.

I'm not 100% what the maximum bandwidth is.
It's Xtion Pro. It should slightly less than Kinect I presume, but probably not by much.

Would you happen to know if two Xtion Pro sensors would work on a single U3 board ?

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

Re: How many USB buses?

Unread post by odroid » Tue Nov 25, 2014 11:11 am

I have no idea about the two Xtion Pro in parallel.

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Tue Dec 02, 2014 9:44 am

Hi,

Today I got access to a second Xtion sensors and tried it.

I did try to use RGB+Depth streams with both sensors on the regular USB ports, but I got constant timeouts.
Disabling RGB streams on both though allowed me to use the Depth streams on both.
I would like to use RGB+Depth on both sensors though.

The OTG port doesn't list the device at all. Is there any command or anything I need to set
on the OTG port so it would see the device there ? Any other suggestions ?

Thank you,
George

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: How many USB buses?

Unread post by mdrjr » Tue Dec 02, 2014 10:44 am

Do you have anything on dmesg?
Maybe the power consumption is too big for the OTG port.

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Tue Dec 09, 2014 5:48 am

Hi,

Just wanted to add an update.
I found on the forum that rev 0.2 might have some issues with the OTG in host mode
which is why the Xtion sensor might not be detected.

On the bright side, I did manage to get two running at the same time with rgb and depth streams,
the only caveat being that I had to cut both resolutions to 320x240.

Thank you so much for the support so far,
I will not track the OTG route with my 0.2 device anytime soon

mdrjr
Site Admin
Posts: 11726
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: How many USB buses?

Unread post by mdrjr » Tue Dec 09, 2014 7:45 am

OTG wasn't implemented on 0.2 ...
Only 0.5 has the support for it.

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Sat Dec 20, 2014 7:50 am

Forgot to say thank you for sharing this info :)

Cpt.Proton
Posts: 28
Joined: Mon Dec 01, 2014 6:41 pm
languages_spoken: english, german
ODROIDs: U3; XU; XU3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by Cpt.Proton » Wed Feb 04, 2015 12:33 am

Hello,

I got a ODROID U3 (rev.05.) today and I was wondering about the second USB Bus - is there one or not on the Rev. 0.5?
All USB-ports are working on my device, but all of them seems to be on the same bus.
I plugged some random devices into the usb ports and lsusb -t shows this:

(EDIT: the webcam was on the OTG-port)

Code: Select all

odroid@odroid:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
    |__ Port 1: Dev 20, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 1: Dev 20, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 1: Dev 20, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 20, If 3, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 2: Dev 2, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
    |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 19, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
        |__ Port 2: Dev 17, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
        |__ Port 3: Dev 18, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

cap00k
Posts: 92
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID
Has thanked: 0
Been thanked: 10 times
Contact:

Re: How many USB buses?

Unread post by cap00k » Wed Feb 04, 2015 5:02 pm

exynos4412 USB Block diagram
Attachments
exynos4412-USB.jpg
exynos4412-USB.jpg (83.31 KiB) Viewed 4070 times

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

Re: How many USB buses?

Unread post by odroid » Wed Feb 04, 2015 7:09 pm

Oops! There is only one USB host bus in U3 PCB rev 0.5.
We didn't know that. :(

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Wed Oct 25, 2017 6:37 pm

@odroid The above message is spammy.

How do I change my account password ?

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

Re: How many USB buses?

Unread post by odroid » Wed Oct 25, 2017 6:40 pm

george.profenza wrote:@odroid The above message is spammy.

How do I change my account password ?
I've deleted it and remove that spammer.

You can change your password.
User Control Panel on the left top -> Profile Tab -> Edit Account Settings.

george.profenza
Posts: 49
Joined: Fri Nov 21, 2014 5:23 am
languages_spoken: english
ODROIDs: U3,XU4,C2
Has thanked: 0
Been thanked: 0
Contact:

Re: How many USB buses?

Unread post by george.profenza » Wed Oct 25, 2017 6:48 pm

Sorry, I didn't spot that :)

Thank you very much!

Post Reply

Return to “General Chat”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests