[patch] Reporting the lid status using INPUT

2007-06-27 Thread Richard Hughes
Len, * user shuts lid, initiates suspend {lid is reported down} * user opens lid, resume completes But the lid INPUT up event is not sent. This works if you don't initiate suspend when you shut the lid (blank screen for instance) -- so I know my hardware is okay. I see:

[patch] Reporting the lid status using INPUT

2007-06-27 Thread Richard Hughes
Len, * user shuts lid, initiates suspend {lid is reported down} * user opens lid, resume completes But the lid INPUT up event is not sent. This works if you don't initiate suspend when you shut the lid (blank screen for instance) -- so I know my hardware is okay. I see:

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Richard Hughes
On Mon, 2007-06-25 at 22:49 +0200, Bartók Albert wrote: > GMail On 16/06/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > On Saturday 16 June 2007 13:11, Richard Hughes wrote: > > > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Bartók Albert
GMail On 16/06/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Saturday 16 June 2007 13:11, Richard Hughes wrote: > > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > > > > On 6/15/07, Richard Hughes <[EMAIL

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Bartók Albert
GMail On 16/06/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote:

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Richard Hughes
On Mon, 2007-06-25 at 22:49 +0200, Bartók Albert wrote: GMail On 16/06/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote:

Re: [patch] Reporting the lid status using INPUT

2007-06-24 Thread GMail
On 16/06/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > > > On 6/15/07, Richard Hughes <[EMAIL PROTECTED]> wrote: > > >

Re: [patch] Reporting the lid status using INPUT

2007-06-24 Thread GMail
On 16/06/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote: On Fri,

Re: [patch] Reporting the lid status using INPUT

2007-06-16 Thread Dmitry Torokhov
On Saturday 16 June 2007 13:11, Richard Hughes wrote: > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > > > On 6/15/07, Richard Hughes <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes

Re: [patch] Reporting the lid status using INPUT

2007-06-16 Thread Richard Hughes
On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > > On 6/15/07, Richard Hughes <[EMAIL PROTECTED]> wrote: > > > On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes wrote: > > > > in response to an event, but I'm thinking in a

Re: [patch] Reporting the lid status using INPUT

2007-06-16 Thread Richard Hughes
On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote: On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes wrote: in response to an event, but I'm thinking in a resume hook we

Re: [patch] Reporting the lid status using INPUT

2007-06-16 Thread Dmitry Torokhov
On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote: On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes wrote: in

Re: [patch] Reporting the lid status using INPUT

2007-06-15 Thread Richard Hughes
On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > On 6/15/07, Richard Hughes <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes wrote: > > > in response to an event, but I'm thinking in a resume hook we should > > > probably do acpi_evaluate_integer(handle,

Re: [patch] Reporting the lid status using INPUT

2007-06-15 Thread Richard Hughes
On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote: On Fri, 2007-06-15 at 13:29 +0100, Richard Hughes wrote: in response to an event, but I'm thinking in a resume hook we should probably do acpi_evaluate_integer(handle, _LID, NULL,