Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-07 Thread NeilBrown
On Fri, 4 Jul 2014 22:03:36 +1000 NeilBrown wrote: > On Fri, 04 Jul 2014 12:39:38 +0200 Lukas Maerdian wrote: > > > Hi all! > > > > On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: > > >> And the msec parameter is described as: > > >> > > >> @msec: Anticipated event processing time (in

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-07 Thread NeilBrown
On Fri, 4 Jul 2014 22:03:36 +1000 NeilBrown ne...@suse.de wrote: On Fri, 04 Jul 2014 12:39:38 +0200 Lukas Maerdian lu...@goldelico.com wrote: Hi all! On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: And the msec parameter is described as: @msec: Anticipated event processing

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-04 Thread NeilBrown
On Fri, 04 Jul 2014 12:39:38 +0200 Lukas Maerdian wrote: > Hi all! > > On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: > >> And the msec parameter is described as: > >> > >> @msec: Anticipated event processing time (in milliseconds). > >> > >> Isn't calling pm_wakeup_event() with a non-zero

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-04 Thread Lukas Maerdian
Hi all! On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: >> And the msec parameter is described as: >> >> @msec: Anticipated event processing time (in milliseconds). >> >> Isn't calling pm_wakeup_event() with a non-zero msec the standard >> method to handle this situation? And it is used in

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-04 Thread Lukas Maerdian
Hi all! On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: And the msec parameter is described as: @msec: Anticipated event processing time (in milliseconds). Isn't calling pm_wakeup_event() with a non-zero msec the standard method to handle this situation? And it is used in other drivers.

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-07-04 Thread NeilBrown
On Fri, 04 Jul 2014 12:39:38 +0200 Lukas Maerdian lu...@goldelico.com wrote: Hi all! On 28.06.2014 22:04 UTC+0200, Pavel Machek wrote: And the msec parameter is described as: @msec: Anticipated event processing time (in milliseconds). Isn't calling pm_wakeup_event() with a non-zero

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Alan Stern
On Sat, 28 Jun 2014, Pavel Machek wrote: > Hi! > > > >> This gives the userspace (Replicant) a chance to fully handle the > > >> pm_wakeup_event, before autosleep suspends the system alltogether > > >> again. > > >> > > >> This fixes suspend/resume on the OpenPhoenux GTA04, in combination with

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Pavel Machek
Hi! > >> This gives the userspace (Replicant) a chance to fully handle the > >> pm_wakeup_event, before autosleep suspends the system alltogether > >> again. > >> > >> This fixes suspend/resume on the OpenPhoenux GTA04, in combination with > >> the Replicant 4.2.2 userspace, which needs to

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Dr. H. Nikolaus Schaller
Hi, Am 28.06.2014 um 19:08 schrieb Pavel Machek: > Hi! > >> This gives the userspace (Replicant) a chance to fully handle the >> pm_wakeup_event, before autosleep suspends the system alltogether >> again. >> >> This fixes suspend/resume on the OpenPhoenux GTA04, in combination with >> the

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Pavel Machek
Hi! > This gives the userspace (Replicant) a chance to fully handle the > pm_wakeup_event, before autosleep suspends the system alltogether > again. > > This fixes suspend/resume on the OpenPhoenux GTA04, in combination with > the Replicant 4.2.2 userspace, which needs to execute this to stay >

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Pavel Machek
Hi! This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake:

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Dr. H. Nikolaus Schaller
Hi, Am 28.06.2014 um 19:08 schrieb Pavel Machek: Hi! This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Pavel Machek
Hi! This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay

Re: [PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-28 Thread Alan Stern
On Sat, 28 Jun 2014, Pavel Machek wrote: Hi! This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2

[PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-27 Thread Lukas Märdian
This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake: 'echo on >

[PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-06-27 Thread Lukas Märdian
This gives the userspace (Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake: 'echo on

[PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-04-10 Thread Dr. H. Nikolaus Schaller
This gives the userspace (e.g. Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake: 'echo

[PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-04-10 Thread Dr. H. Nikolaus Schaller
This gives the userspace (e.g. Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake: 'echo