Am Mittwoch, 11. Januar 2006 16:38 schrieb Alan Stern:
> You have completely misunderstood David's point.  You _don't_ need to 
> modify the kernel at all.
> 
> Just use usbfs to send a single URB to the hub (USBDEVFS_CONTROL), 
> containing a Clear-Port-Feature(PORT_POWER) request, or the equivalent to 
> turn on the power or adjust the LED.

That means that write access to usbfs means CAP_HARDWARE.
If you can disable ports and set addresses, what can prevent you
from switching devices without the storage driver knowing?

        Regards
                Oliver


-------------------------------------------------------
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_idv37&alloc_id865&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