On Thu, Jun 21, 2001 at 02:16:15PM +0200, Wolfgang Rapp wrote:
> using *_probe functions to load firmware to ezusb and returning with
> NULL lets the *_probe
> function be called until enumeration is done by the usb dev.
> Is there a way of return value that is not used by the usb system so
> that will not happen.
You can just return a pointer to a "valid" object if you want to keep
the usb subsystem from reporting that "No driver was found for this
device". Then when the device re-enumerates itself, disconnect will be
called in your driver, then the new device will show up.
I've tried this for one of the usb-serial drivers in the past, and it
worked just fine (don't think I ever pushed the patch into the kernel
though, as it didn't seem like a necessary thing at the time.)
Hope this helps,
greg k-h
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel