On Thu, 15 Feb 2007 [EMAIL PROTECTED] wrote: > So I think ideally linux needs some way of coordinating ehci-hcd and > powernow, so that the EHCI controller can be stopped temporarily while > the processors are changing speed... I'm going to try to hack something > to do that, just to verify that it will fix the problem, but I'm not > sure what the right way to implement that would be.
Use a blocking_notifier chain. Have powernow send out a message before the power transition and another message after the transition. (Maybe it already does.) Then ehci-hcd can hook into the notifier chain and temporarily stop the controller. > (Or maybe it isn't worth implementing that, if everything non-HID could > recover from this by re-doing stuff... I'm not familiar with all the USB > device types.) I think most of the important ones can. But still, you don't want to go around losing keystrokes whenever the CPU decides to change speed. And you can't fix that by changing usbhid. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel