On 2012/7/18 22:19, Alan Stern wrote:
An alternative to her suggestion would be to disconnect the device when
the port goes off.  When the port is powered back on, the device will
be rediscovered and probed again.
hi alan:
        Reprobe may cause the devnum change. Userspace will treat it a
different device from previous one. e.g app held the device node fd,
After port went off and on, device reprobed and the fd became invalid.
This relies on userspace doing the work instead of the kernel making
> everything happen automatically.

Alan Stern



--
Best Regards
Tianyu Lan
linux kernel enabling team
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to