From: Paul Menzel <paulepanter@users.sourceforge.net>
To: linux-acpi@vger.kernel.org
Subject: Re: Two power buttons recognized: PWRF and PWRB
Date: Tue, 24 Jul 2012 23:10:58 +0200 [thread overview]
Message-ID: <1343164258.6345.24.camel@mattotaupa> (raw)
In-Reply-To: <1343032327.5104.13.camel@mattotaupa>
[-- Attachment #1: Type: text/plain, Size: 3675 bytes --]
Am Montag, den 23.07.2012, 10:32 +0200 schrieb Paul Menzel:
> due to another problem [1] I noticed that X recognizes two power
> buttons.
>
> $ xinput
> ⎡ Virtual core pointer id=2 [master pointer (3)]
> ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
> ⎜ ↳ HID 1241:1122 id=8 [slave pointer (2)]
> ⎣ Virtual core keyboard id=3 [master keyboard (2)]
> ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
> ↳ Power Button id=6 [slave keyboard (3)]
> ↳ Power Button id=7 [slave keyboard (3)]
> ↳ Logitech Logitech USB Keyboard id=9 [slave keyboard (3)]
> ↳ Logitech Logitech USB Keyboard id=10 [slave keyboard (3)]
>
> This is due to Linux setting up two of these buttons.
>
> $ dmesg | grep -i "power button"
> [ 16.785490] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3
> [ 16.785496] ACPI: Power Button [PWRB]
> [ 16.785696] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
> [ 16.785699] ACPI: Power Button [PWRF]
>
> I am not sure if this is an input or ACPI problem and if it is a problem
> at all. Pressing the power button does generate the correct events – I
> think. At least the system shuts down or suspends just fine. It just
> seems weird that two of these buttons are set up.
>
> This seems to be a common “problem” as this happens with for example
> ASUS M2A-VM [2] and ASRock A780FullHD.
I am also seeing this on an ASUS Eee PC 701 4G.
$ xinput
[…]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ LITEON Technology USB Multimedia Keyboard id=10 [slave keyboard (3)]
↳ Asus EeePC extra buttons id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ ACPI Virtual Keyboard Device id=14 [slave keyboard (3)]
$ dmesg | grep -i "power button"
[ 7.429667] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
[ 7.429679] ACPI: Power Button [PWRB]
[ 7.429871] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[ 7.429884] ACPI: Power Button [PWRF]
> Searching the WWW I did not find a lot of information. Just an article
> in the Gentoo Wiki suggesting that only one button should be recognized
> [3]. Though I emphasize again that the power button works fine!
Could someone please confirm that this is the normal behavior and give
an short explanation why tow power buttons are needed?
Thanks,
Paul
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=52046#c5
> [2] https://bugzilla.kernel.org/show_bug.cgi?id=42587#c11
> [3] http://en.gentoo-wiki.com/wiki/ACPI/Fix_common_problems#Power_and.2For_Sleep_Buttons_Don.27t_Work
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2012-07-24 21:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 8:32 Two power buttons recognized: PWRF and PWRB Paul Menzel
2012-07-24 21:10 ` Paul Menzel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343164258.6345.24.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).