Re: Power-managing devices that are not of interest at some point in time

2014-07-28 Thread Patrik Fimml
On Fri, Jul 18, 2014 at 04:16:50PM -0700, Dmitry Torokhov wrote: > [...] > Anyway, even though it is very tempting to declare inhibit a "deeper" state > of > runtime suspend maybe you are right and inhibit should really be separate > from > PM and drivers would have to sort out all the possible

Re: Power-managing devices that are not of interest at some point in time

2014-07-28 Thread Patrik Fimml
(Note: Your email arrived here with lines wrapped in a hard-to-read way, not sure where the problem lies.) On Tue, Jul 22, 2014 at 01:23:14AM +0200, had...@hadess.net wrote: > On 2014-07-19 01:16, Dmitry Torokhov wrote: > > >I'd say no. > > > >Anyway, even though it is very tempting to declare in

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Patrik Fimml
On Fri, Jul 18, 2014 at 03:00:46PM -0400, Alan Stern wrote: > "Quiescing" is the wrong word. "Quiescing a device" means stopping the > device from doing anything, which isn't what you want. You want to > ignore any activity the device may generate and reduce the device's > power consumption as mu

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Patrik Fimml
On Fri, Jul 18, 2014 at 02:43:02AM +0200, Rafael J. Wysocki wrote: > From past discussions on similar topics it followed that there really was > no generic way for individual drivers to quiesce devices on demand as long as > user space was running. Everything we could come up with was racy, this w

Re: Power-managing devices that are not of interest at some point in time

2014-07-16 Thread Patrik Fimml
On Thu, Jul 17, 2014 at 01:11:31AM +0200, Rafael J. Wysocki wrote: > Let me try to understand the scenario in the first place. > > To start with, a number of devices is in use (that is, open, there are > applications listening/talking to them etc). Now, an event happens, such > as a laptop lid cl

Power-managing devices that are not of interest at some point in time

2014-07-15 Thread Patrik Fimml
(Re-sending with correct mailing list addresses.) Hi, When the lid of a laptop is closed, certain devices can no longer provide interesting input or will even produce bogus input, such as: - input devices: touchscreen, touchpad, keyboard - sensors: ambient light sensor, accelerometer, magnetomet

Re: [PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-06-30 Thread Patrik Fimml
Hi Dudley, On Mon, Jun 30, 2014 at 05:43:06AM +, Dudley Du wrote: > Attached are the patches files, I sent it firstly. Thanks for the response, I was able to apply the patches now. The attached files lack headers and commit messages though, so I don't have fine-grained history in my git tree

Re: [PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-06-27 Thread Patrik Fimml
Hi Dudley, I tried to apply your patchset today, but was not successful: it seems like tabs have been replaced by spaces, and there's a Cypress signature and a winmail.dat file added to every email, making it impossible to apply your patches directly. I've tried to rule out errors on my end. I ch