On Mon, 16 Oct 2006, Dmitry Torokhov wrote: > I don't agree. I think that power management should be left to drivers > working with hardware and not be placed into input core. There will be > different rules and different decisions, based on the type of device > (USB, PS/2, serial, etc, etc). Input layer should not be concerned > with these.
It works the other way, too. There are all sorts of input devices (keyboard, mouse, joystick, ...) each needing different rules about when it has been inactive long enough to suspend. The input layer understands them, whereas the USB, PS/2, serial, etc. layers shouldn't have to. One approach would be to add a function callback pointer to the input device structure for autosuspend requests. The transport layer would then be responsible for handling these callbacks and carrying out the suspend. 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