On Mon, Oct 12, 2009 at 06:08:42PM -0700, Dmitry Torokhov wrote: > On Fri, Oct 09, 2009 at 07:10:12PM +0100, Mark Brown wrote: > > It definitely needs to be implemented in the drivers but they need to > > present an interface to userspace which seems best placed in the core to > > factor out code and help make sure that the interface is standardised. > It seems to me that this kind of functionality belongs to PM core. > Userspace probably does not really care about output rate and other > details but rather wants to putsome devices into a low power mode in > general. That's useful as well and having this doesn't preclude other forms of runtime power management but there is also value in this kind of subsystem specific control too. In the case of touchscreens we should be able to get some useful information out of userspace - applications like handwriting recognition will want 150-200 samples/second but for something like a finger operated menu 10-20 samples/second will be enough. This should result in a win, especially bearing in mind that each point is going to translate into a wakeup for the application layer, and also reduces the amount of manual tuning that might be required. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html