On 8/10/05, Gerd v. Egidy <[EMAIL PROTECTED]> wrote:
> this looks interesting, I could use it to save energy on unneeded equipment.
> Could you post the source or a url of the code you use to switch the ports on
> and off?


We are using a python wrapper around libusb from the BITPIM package by
Roger Binns:

http://cvs.sf.net/viewcvs.py/bitpim/bitpim/native/usb/

and then we are using usb_controll_msg() to send direct controll
messages to the hub as in the attached python script.

Vlado

Attachment: hubcontrol.py
Description: Binary data

Reply via email to