Re: Linux as a USB hub?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Dec 2015, Rogan Dawes wrote:

> Hi folks,
> 
> I'm wondering if it is possible/reasonable to try to turn a linux
> device with host and OTG ports into something that looks and acts
> like a USB hub?

Besides all the other responses you received, here's a short answer to 
your first question: No, it's not possible.

There are several reasons for this.  The most compelling is that the
hardware isn't capable of doing what you want.  In particular, the
hardware found in USB OTG device controllers will respond only to
packets sent to the controller's own address, whereas a hub needs to
handle packets sent to any of the downstream devices' addresses.

Other reasons include things like the timing restrictions on
inter-packet delays.  In principle it would be possible to do this
using special USB hardware (i.e., integrate a hub into a Linux
computer), but it isn't possible with standard host and OTG ports.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux