On Thu, 18 May 2006, Guennadi Liakhovetski wrote: > > It would be good to notify the kernel that it should check for > > disconnected ports when you shut off the power. Right now there's no way > > to do it. However it wouldn't be hard to add a sysfs interface for such a > > purpose. > > You mean you would explicitely first switch power off and then notify the > kernel from your program?
Yes, that's exactly what I mean. > Just tried switching power off and then accessing the device: the kernel > then gets a disconnect, re-enables the power, and finds a new device - > error processing works wonderfully!:-) As it's supposed to! Alan Stern ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel