Re: USB Storage Device Not Working

balajirrao <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <20071108033541.GA4380@yogi>
On Wed, Nov 07, 2007 at 05:19:00PM -0500, Alan Stern wrote:
> 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.
> 
Thank you very much. I will work on this and get back to the mailing
list once i get doubts.
> Alan Stern
> 
regards,

Balaji Rao

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.