Re: ACPI if power button pressed 1x it creates the same ACPI event twice

Rafael J. Wysocki
2015-02-11T00:14:29Z

On Tuesday, February 10, 2015 11:46:17 PM Sander Eikelenboom wrote:

[cut]

> Hi Rafael / Len,
>
> Unfortunately haven't heard anything back .. and with 3.19-rc6 it seems
> miraculously fixed, i receive only one event on a powerbutton press.
>
> However with 3.19.0 (final) .. it was back again .. 1 press .. 2 events.
>
> So i bisected ... but i came out on the netlink commit below. Now seems acpid to
> be using input layer and netlink if the deprecated /proc/apci/events is not compiled in (which
> isn't at present) according to [1].
>
> But how the fsck this relates to one another... the only thing i can imagine is
> that i have to take that text literal: It uses both input layer and netlink
> simultaneously and will receive an event via both of those ways which slightly
> differ in naming but have the same origin ?

That's unlikely.

I'm not sure what the problem is ATM and I suppose it would require some serious
debugging, so I'd recomment filing an ACPI bug at bugzilla.kernel.org and adding
this information to it. That increases the chances that someone will take care
of it sooner that I can.

--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.