linux-usb-devel  

Re: [linux-usb-devel] Problems with individual port power control on a USB2.0 hub

Vlado Handziski
Wed, 10 Aug 2005 14:26:19 -0700

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

  • Re: [linux-usb-devel] Problems with individual port power control on a USB2.0 hub Vlado Handziski