Hello, Thomas Petazzoni a écrit : > Hello, > > Le Tue, 5 Jul 2011 12:12:54 +0200, > Matthieu CASTET <matthieu.castet@xxxxxxxxxx> a écrit : > >> Why don't you forward the overcurrent notification to the usb stack ? >> A printk is quite useless. > > Do you have a pointer to the appropriate functions/mechanisms of the > USB stack about this ? For ohci you have to override hub_status_data and hub_control callback. You can look how it is done in ohci-da8xx.c / ohci-s3c2410.c driver. May be (or not) it could be useful to introduce a generic function to do all the parsing stuff. Matthieu PS : Add linux-usb to CC -- 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