Hi Alan, On Dienstag, 23. Februar 2010, Alan Stern wrote: > On Tue, 23 Feb 2010, Juergen Beisert wrote: > > is there a way to get an userland application informed about an > > overcurrent event on a USB connector? > > Not specifically. An application can monitor the system log, looking > for overcurrent notifications. By string matching? I was in the hope such kind of notification is a standard use case for error handling... :'( > > For example to be able to show a message > > like "Please remove the broken device". Is there also a way to keep this > > port switched off by the application until the user removes the device > > and acknowledges the message shown? > > There is no way to switch off power to a port at all, let alone keep it > switched off. The best you can do is to unbind the hub driver from the > port's hub -- but then none of the ports on that hub will be usable. Bad news. Thanks for you answer. Juergen -- 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