On Tue, 23 Feb 2010, Juergen Beisert wrote: > Hi, > > 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. > 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. Alan Stern -- 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