On Fri, 6 Jan 2006, Steve Finney wrote:

> I am trying to debug what I suspect is flaky hardware; an ARM
> (S3C2410) system 
> that normally finds a 4 port hub and two attached devices is now
> not finding anything. FWIW, I have some debug turned on, and the
> some relevant dmesg printout is the following (I'll go see
> if I can extract any info from this):
> 
> ------------------------------------
> 
> Initializing USB Mass Storage driver...
> usb 1-1: new full speed USB device using s3c2410-ohci and address 2
> usb 1-1: device descriptor read/64, error -110
> usb 1-1: device descriptor read/64, error -110
> usb 1-1: new full speed USB device using s3c2410-ohci and address 3
> usb 1-1: device descriptor read/64, error -110
> usb 1-1: device descriptor read/64, error -110
> 
> --------------------------------------------------
> 
> I'm current somewhat crippled since I don't have USB ethernet, but
> I do have a serial console. I also have usbmon configured in the running
> kernel. If I could force a re-enumeration of the bus I could collect
> additional information, but I have a monolithic kernel (no modules) and
> the physical hub is hardwired so I can't unplug it. Is there anything
> I can do to force re-enumeration (hub reset?).

One approach is to rebuild your kernel using modules.  :-)

Assuming you don't want to do that, there is a way to force 
re-enumeration.  You can unbind and rebind the host controller driver from 
the OHCI controller through sysfs.  On the ARM you probably want to look 
in /sys/bus/platform/drivers/*ohci*.  Use "echo -n" to write the name of 
the controller device to the "unbind" file and then write it to the "bind" 
file.

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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to