Re: [linux-usb-devel] Hub question....

2001-07-06 Thread Brad Hards
Matthew Dharm wrote: > > I realize I might have issues with the question of "can I switch this port > off" but, the question still stands: will a turned-off port cause the > device to disconnect? I think that it probably won't. This is based on the way device detach/attach is detected, since

Re: [linux-usb-devel] Hub question....

2001-07-05 Thread Matthew Dharm
I realize I might have issues with the question of "can I switch this port off" but, the question still stands: will a turned-off port cause the device to disconnect? For that matter, does the commands to turn off a port work on root hubs? For my testing, I can require the hubs I want witho

Re: [linux-usb-devel] Hub question....

2001-07-05 Thread Brad Hards
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 p

[linux-usb-devel] Hub question....

2001-07-04 Thread Matthew Dharm
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? For reference, I'm looking at doing some automated testing, and the ability to detach/reattach de