Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes: > On Sun, 29 Nov 2009, Ferenc Wagner wrote: > >> I thought we'd better ask our friends over at linux-pm, if they've got >> some interface for this task. To summarize: an embedded application >> wants to go into a "locked" state, where some input devices (gpio keys >> in this case) are "muted", ie. they don't even generate interrupts to >> minimize power consumption. This could be solved by adding a new >> interface to gpio-keys, but the problem seems more general, so I wonder >> if something like the USB selective runtime suspend is already available >> (or preferable to develop) for such tasks. > > See Documentation/power/runtime_pm.txt. I don't know to what extent > the input layer has implemented any runtime PM. Hi Alan, Looks like it wasn't a bright idea from me to mention runtime suspend above. We are looking from something else: some way to forcefully put a device to "sleep" even thogh it's open (used), because we don't want to receive input from it but want to save power instead. -- Regards, Feri. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm