Re: USB Storage Device Not Working
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 8 Nov 2007, balajirrao wrote: > > Right now the kernel doesn't have any means for automatically forcing > > devices to run at full speed when they fail to enumerate at high speed, > > although adding such a feature might not be a bad idea. However you > > can force a particular USB port to run at full speed by hand. The > > command is: > > > > echo P >/sys/class/usb_host/usb_hostN/companion > > > > where P is the port number and N is the bus number of the EHCI > > controller. > > > Thank you very much for the command. It worked fine. > And, about that feature - I am interested in developing it. Can you > please help me as to how to go about it ? You will have to add a new method pointer to struct usb_hcd, maybe call it "relinquish". In ehci-hub.c make the method routine check that its argument really is attached to a port on the root hub and hand that port over to the companion controller. Then in hub.c if hub_port_connect_change() fails, make it invoke this new method. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel