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

2005-08-10 Thread Vlado Handziski
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 Rog

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

2005-08-10 Thread Alan Stern
On Wed, 10 Aug 2005, Vlado Handziski wrote: > > In principle, we could add an interface to the hub driver allowing > > userspace to ask that certain ports be left powered off (and also that > > ports be powered back on). This could be done using sysfs or ioctl; it > > doesn't fit all that well in

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

2005-08-10 Thread Vlado Handziski
On 8/9/05, Alan Stern <[EMAIL PROTECTED]> wrote: > Right now the kernel has very minimal support for hub port power changes. > IIRC, the code for automatically turning port power back on was added in > order to cope with peculiarities of various host controllers or with the > USB OTG requirements.

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

2005-08-10 Thread Gerd v. Egidy
Hi, > our research group is involved in building a large sensor node testbed, and > we need to control the power supply of a number of USB devices by turning > on/off the supply of the ports on the hub they are connected to. The hubs > that we are using are DUB-H4, a self-powered 4-port USB 2.0 hu

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

2005-08-09 Thread Vlado Handziski
Hi all, just to summarize, it really was a problem with the firmware of the hub. Turning individual ports off works properly with the original revision which is based on a NEC chip. All subsequent revisions of the D-Link DUBH4E use a chip from Genesys Logic and have a HW issue that prevents ind

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

2005-08-09 Thread Vlado Handziski
Hi all, just to summarize, it really was a problem with the firmware of the hub. Turning individual ports off works properly with the original revision which is based on a NEC chip. All subsequent revisions of the D-Link DUBH4E use a chip from Genesys Logic and have a HW issue that prevents ind

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

2005-08-09 Thread Alan Stern
On Mon, 8 Aug 2005, Vlado Handziski wrote: > I still have one remaining question. In my previous mail I said that it is > very logical that the parent hub is reset and powered-up when a child hub is > not reachable (because the partent's port to which the second hub is > connected has been turn

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

2005-08-07 Thread Vlado Handziski
On Sunday 07 August 2005 20:59, Alan Stern wrote: > On Sun, 7 Aug 2005, Vlado Handziski wrote: > > > Hi Alan, > > > > Thanks for the pointers. Unfortunately, even with debugging on, I can not > > detect any connect-change event. As you can see above, after sending the > > command to turn-off th

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

2005-08-07 Thread Alan Stern
On Sun, 7 Aug 2005, Vlado Handziski wrote: > Hi Alan, > > Thanks for the pointers. Unfortunately, even with debugging on, I can not > detect any connect-change event. As you can see above, after sending the > command to turn-off the power of the port, the port status query does return > "data

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

2005-08-07 Thread Vlado Handziski
On Friday 05 August 2005 23:25, Alan Stern wrote: > On Fri, 5 Aug 2005, Vlado Handziski wrote: > > > Hi all, > > > > our research group is involved in building a large sensor node testbed, and we > > need to control the power supply of a number of USB devices by turning on/off > > the supply

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

2005-08-05 Thread Alan Stern
On Fri, 5 Aug 2005, Vlado Handziski wrote: > Hi all, > > our research group is involved in building a large sensor node testbed, and > we > need to control the power supply of a number of USB devices by turning on/off > the supply of the ports on the hub they are connected to. The hubs that we

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

2005-08-05 Thread Vlado Handziski
Hi all, our research group is involved in building a large sensor node testbed, and we need to control the power supply of a number of USB devices by turning on/off the supply of the ports on the hub they are connected to. The hubs that we are using are DUB-H4, a self-powered 4-port USB 2.0 hub