However we see that you can unmount it ans sometimes it will be turned off....<br><br><div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">Tim Roberts</b> <<a href="mailto:timr@probo.com">timr@probo.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sajjad Hussain wrote:<br>> I am using a USB port to power my USB device that
<br>> takes 5V DC power. My device works fine and is powered<br>> on properly. I am using small script written in python<br>> to open a port (I am using a serial to usb adapter<br>> since my device has a serial connector on it), and
<br>> send some data.<br>><br>> Now I just want to turn off my device. Basically<br>> cutoff 5V usb power to my device. That means turn off<br>> power to a particular usb port where my device is<br>> connected to. And later say after 5 minutes I want to
<br>> turn the power back on. I am using Windows XP. Please<br>> let me know how I can do that.<br><br>You can't. There is no mechanism in the Windows USB driver stack to<br>perform this task. Not even a USB kernel driver can do this.
<br><br>--<br>Tim Roberts, <a href="mailto:timr@probo.com">timr@probo.com</a><br>Providenza & Boekelheide, Inc.<br><br>_______________________________________________<br>Python-win32 mailing list<br><a href="mailto:Python-win32@python.org">
Python-win32@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-win32">http://mail.python.org/mailman/listinfo/python-win32</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.goldwatches.com">
http://www.goldwatches.com</a>