Results 1 to 2 of 2
Folks,
we have a hardware board which supports 4 USB Host ports and 1 USB Peripheral device port. Due to some constrains we could not use OTG
So functionality wise, ...
- 11-06-2009 #1Just Joined!
- Join Date
- Sep 2009
- Location
- Mysore, Karnataka, India
- Posts
- 6
using USB host and peripheral functionalities together
Folks,
we have a hardware board which supports 4 USB Host ports and 1 USB Peripheral device port. Due to some constrains we could not use OTG
So functionality wise, our hardware piece can it self host USB mass storage devices as well as could be connected to any USB host PC too...
IS IT POSSIBLE....DOES LINUX KERNEL SUPPORTS IT.
Now as an overview of linux USB stack frame:
We have physical Hardware layer <----> Host controller(HCD)/Peripheral controller(PCD) layer which provides APIs to upper layer to acces hardware <---> USB Protocol stack <----> USB Class driver/Gadget driver support<----> user land.
As per our hardware requirments, v have to load both HCD and PCD but there is only single USB protocol stack.
Now is it fine with linux kernel. could it handle this topology OR i need to have 2 USB stacks per Controller.
Pls share ur logical/technical concerns.....
thanksLast edited by shekharrana; 11-06-2009 at 11:05 AM. Reason: to correct typographical errors
- 11-10-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Good question. Since I haven't been in this situation where my system has to be both a USB host as well as terminal device I cannot say for sure how you need to approach this. I would suggest that you go to The Linux Kernel Archives for more information.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote