[Bug 257827] Re: brightness changes twice when using hotkeys
findepi
piotr.findeisen at gmail.com
Sat Nov 1 08:50:26 UTC 2008
I can confirm it on Hardy, running kernel 2.6.24-19-generic on Inspiron
1520.
I found that the problem is kernel related:
When pressing Fn+Up/Down once, `cat /proc/apci/event' gives every event twice. (Catting /proc/apci/event is possible only after killing acpid.)
Monitoring key presses with xev or showkey is of no use. I inspected acpid source code and it works like this:
- acpi event is generated by kernel
- acpid reads /proc/acpi/event and for every event read it runs a script (e.g. /etc/acpi/video_brightnessup.sh)
- this scripts runs acpi_fakekey with some argument that passes a synthetic key press to the X server
- X, KDE or Gnome (whatever takes the responsibility) runs an action bound to the key press
So, if the event is generated twice by kernel for one Fn+Up/Down key
press, KDE's or Gnome's action is run twice.
What more information can I provide?
** Attachment added: "dmidecode.txt"
http://launchpadlibrarian.net/19170812/dmidecode.txt
--
brightness changes twice when using hotkeys
https://bugs.launchpad.net/bugs/257827
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
More information about the kernel-bugs
mailing list