Sajjad Hussain wrote:
> I am using a USB port to power my USB device that
> takes 5V DC power. My device works fine and is powered
> on properly. I am using small script written in python
> to open a port (I am using a serial to usb adapter
> since my device has a serial connector on it), and
> send some data.
>
> Now I just want to turn off my device. Basically
> cutoff 5V usb power to my device. That means turn off
> power to a particular usb port where my device is
> connected to. And later say after 5 minutes I want to
> turn the power back on. I am using Windows XP. Please
> let me know how I can do that.

You can't.  There is no mechanism in the Windows USB driver stack to
perform this task.  Not even a USB kernel driver can do this.

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to