On Sun, 8 Jan 2006, David Brownell wrote:

> This is the second request I've seen in the past couple days to have
> a "kernel driver" to allow this.
> 
> I'm unclear on why that would be better than for example a usermode
> program to do that using existing usbfs facilities to say to the hub
> driver "please turn that port off".

You mean "say to thub hub", not "say to the hub driver".  usbfs does not 
communicate with the hub driver.

> It should be easy to morph the current "lsusb" code into a tool that
> can power off individual ports, for hubs that support that ...

One reason for not doing things this way is that it bypasses the hub 
driver.  Under some circumstances the hub driver will try to turn on power 
to all the ports.  If you've requested a certain port to be turned off 
then you probably don't want that to happen.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to