For example, I have a USB camera connected to my USB port, and I should know Bus number and Device number, you can get this information from console, or from /var/log/messages.
I know that this cam is "usb 1-2", than I open this: /sys/bus/usb/devices/usb1/1-2 
and preform  this: echo 0 > bConfigurationValue to disable device
and  echo 1 > bConfigurationValue to enable it.

That's it.
Rogoshchenkov Nikolay

On Wed, Sep 26, 2012 at 10:35 AM, zhonghua <> wrote:
Hi lists,

I am trying to control the USB host port. That is to turn on or off the power of this port to control a linked node (Tmote Sky). I tried it as the suggestion of Nikolay Rogoshchenko, which is playing with files of

But I don't know how to run these files. Does anyone know how to play with them?



Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
gumstix-users mailing list