Re: Waiting for the current usb devices to be scanned, how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 21, 2010 at 01:42:06PM +0300, Michael Tokarev wrote:
> Hello.
> 
> Is there a way to trigger or wait for all the _currently_
> connected USB devices to be probed?
> 
> The most common case of this, I think, is when a system
> is booting from a USB storage device.  Initramfs loads
> the USB controller driver, which triggers USB device
> scan and discovers and initializes usb-storage and other
> devices.  But the discover is done after quite some pause,
> definitely after modprobe of the USB controller module
> returns.
> 
> Is there a way to determine that such a waiting/pause is
> in progress, and actually wait for it to complete before
> trying to see the storage devices we now have?

As Alan pointed out, no, there isn't.

What type of problem are you trying to resolve here?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux