You are not logged in.
After some update acpid often gives me two events when I press a key once. For example after pressing a special key on my laptop I get:
hotkey ATKD 0000001b 0000000f
hotkey ATKD 0000001b 00000010
I thought this could be caused by an update which registers keyrelease as an event too. Anyone noticed the same behavior or got a solution to ignore, for example all even numbered, events?
Offline
Do you know what happens when you press a key? You also release it when you take your finger away .
Afaik acpid always reported two codes - one for pressing a key, another one for releasing it. Same with xev, btw.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
But it only happens on certain keys. When I press volume up/down it works fine. But when I press a silver custom button two events are reported
Offline
Bizarre, all I can say. Never paid much attention to it... Did anything break? If not I'd just leave it be .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Thanks for the fast replies . Yes it broke, it was fine a few days ago so definitely something changed.
Offline
What's not working anymore? Given you check acpid output, are you using any customised stuff in /etc/acpi*/?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Yes lots of customized stuff. Anway, when using the orignal /etc/acpi/handler.sh problems are still there:
Old situation: press a key, release it immediately, one event is generated.
New situation: press a key, release it immediately, two events are generated.
New situation: press a key, hold it for a second, one event is generates.
Last edited by Wilco (2009-04-23 12:26:39)
Offline