On Wed, Jun 3, 2009 at 2:52 PM, Youda He wrote: >> http://www.gniibe.org/ac-power-by-usb/ac-power-control.html > > Thanks! I think the controlling of USB hub is excellent idea, this way I = can > have control of =A0connect/disconnect of USB device easily. Any one have = used > the USB extension cable? the active USB with a one to one hub to extend t= he > USB to 5M, if I can find a way to turn on/off the cable, then I am all se= t. > >From the above web page, Linux specific: Using lsusb utilities with -v option, you can inspect 'Hub Descriptor', such like: Hub Descriptor: [...] wHubCharacteristic 0x0089 Per-port power switching Per-port overcurrent protection Port indicators [...] I'm sure there is a way to inspect that info in Windows, as long as it has the 'Per-port power switching' bit set, you should be able to do it. Unfortunately, you'll have to buy a cable to find out. :) -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist