2009-07-24 13:16:38     reprobe usb bus?

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-24 13:16:38     reprobe usb bus?

Matt Gilg (UNITED STATES)

Message: 78015   

 

I have a usb device that works properly when hotplugged.  If the USB device is left plugged in and the system is reset, the kernel doesn't seem to "see" the device.  Is there a way to force a "re-probe" from the shell?  What are my options?

 

Running BF537 Stamp, Linux version 2.6.22.19-ADI-2008R1.5-svn558

 

-Matt

 

QuoteReplyEditDelete

 

 

2009-07-24 13:37:35     Re: reprobe usb bus?

Mike Frysinger (UNITED STATES)

Message: 78017   

 

try bind/unbind

 

http://lwn.net/Articles/143397/

QuoteReplyEditDelete

 

 

2009-07-24 13:58:38     Re: reprobe usb bus?

Matt Gilg (UNITED STATES)

Message: 78020   

 

Thanks for the quick response Mike, I'll give it a shot.

 

-Matt

QuoteReplyEditDelete

 

 

2009-07-24 14:35:54     Re: reprobe usb bus?

Matt Gilg (UNITED STATES)

Message: 78021   

 

Hmmmm....

 

Occasionally after reboot, my device doesn't show up in /sys/hub/usb/devices until I hotplug...

 

Is there a way to tell the kernel to check for new bus devices?

 

-Mat

QuoteReplyEditDelete

 

 

2009-07-24 14:37:11     Re: reprobe usb bus?

Matt Gilg (UNITED STATES)

Message: 78022   

 

Oops, misprint above.  Occasionally doesn't show up in /sys/bus/usb/devices.

 

 

 

-M

QuoteReplyEditDelete

 

 

2009-07-24 15:35:59     Re: reprobe usb bus?

Matt Gilg (UNITED STATES)

Message: 78023   

 

We are using the isp1362 usb controller and it seems that, when we assert the physical reset line on the blackfin, the usb device shows up fine when the kernel boots.

 

If we execute a soft reboot, the device doesn't show up until we hotplug.

 

After performing a soft reboot:

 

root:/sys/bus/usb/devices> ls

1-0:1.0  usb1

 

After performing a hard reboot:

 

root:/sys/bus/usb/devices> ls

1-0:1.0  1-2      1-2:1.0  1-2:1.1  usb1

 

Has this been a known issue in the past?  Are there any updates to the 1362 driver to fix this?

 

Thanks,

 

-Matt

Attachments

    Outcomes