Re: [gpm] When will happen duplicate lid close/open event?
- From: Richard Hughes <hughsient gmail com>
- To: "simon zheng sun com" <Simon Zheng Sun COM>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] When will happen duplicate lid close/open event?
- Date: Fri, 12 Sep 2008 10:53:08 +0100
On Fri, 2008-09-12 at 17:18 +0800, simon zheng sun com wrote:
> Hi Richard and all,
>
> Just curious about why do we need to explicitly avoid duplicate event as
> below code? When is will possibly happen?
Broken hardware, or broken linux kernel.
Some hardware will generate:
DOWN
DOWN
UP
and then we make matters worse by having linux report some lid events
over INPUT, and also the depricated ACPI event way. Hence we get:
DOWN
DOWN
UP
UP
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]