On Mon, 11 Dec 2006, Matt wrote: > Hi, > > I'm wondering if it's feasible to implement a gadget driver that turns a > Linux system into a hub. The hub specification in the usb spec, which I > admit to not reading, is fairly hefty and makes me think there's > probably a fair bit more to it then just proxying data to an outbound > port or one of the gadget developers would have done it already. This > is something I'd like to try to do so any thoughts or comments would be > much appreciated. Where would one start? Cheers,
It isn't possible. Among other problems, a full-speed hub has to be able to handle both low-speed and full-speed devices attached to its downstream ports, in spite of the fact that the upstream port is full-speed. If a low-speed device was attached to a downstream port then the upstream port would receive data at low speed, and would not be able to understand that data or forward it to the downstream port. Another problem is that the hub has to relay all data between the upstream and downstream sides, not just the data sent to the hub's address. Conventional USB peripheral hardware will not allow you to receive data sent to an address other than its own. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel