Matthew Dharm wrote:
>
> Suppose I used usbdevfs to send a command to a hub to turn off a port...
> does the device plugged in to that port necessarily disconnect? That is,
> can I change my bus topology purely within software?
It isn't that simple :)
IIRC, USB 1.0 spec allowed hubs to do port power switching as an optional
feature.
It is required that hub ports are switchable in USB 1.1, but switching is
allowed to be "ganged", so ports are switched in groups. If any of the ports
in a gang are configured in the powered state, then all of them are powered
on, per USB spec 11.11
> For reference, I'm looking at doing some automated testing, and the ability
> to detach/reattach devices from within software would be good.
The interest in testing (from unit testing of the code, to end-to-end tests)
seems to be picking up. It'd be good to try to get this done in some kind of
coordinated way.
Brad
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel