https://bugzilla.kernel.org/show_bug.cgi?id=47841





--- Comment #5 from Donatas G. <dgvirt...@akl.lt>  2012-10-22 03:40:37 ---
Another note : it seems that the keypresses do get caught by acpi:

$acpi_listen
[starting from total bright: press Fn+F5]
hotkey ATKD 0000002e 00000023
hotkey ATKD 0000002d 0000001f
hotkey ATKD 0000002c 0000001e
hotkey ATKD 0000002b 0000001d
hotkey ATKD 0000002a 0000001b
hotkey ATKD 00000029 00000018
hotkey ATKD 00000028 00000017
hotkey ATKD 00000027 00000017
hotkey ATKD 00000026 00000017
hotkey ATKD 00000025 00000015
hotkey ATKD 00000024 00000016
hotkey ATKD 00000023 00000010
hotkey ATKD 00000022 0000000f
hotkey ATKD 00000021 0000000e
hotkey ATKD 00000020 00000055
[total dark now: press Fn+F6]
hotkey ATKD 00000011 0000000d
hotkey ATKD 00000012 0000000e
hotkey ATKD 00000013 0000000f
hotkey ATKD 00000014 00000010
hotkey ATKD 00000015 00000017
hotkey ATKD 00000016 00000015
hotkey ATKD 00000017 00000017
hotkey ATKD 00000018 00000017
hotkey ATKD 00000019 00000017
hotkey ATKD 0000001a 00000018
hotkey ATKD 0000001b 0000001b
hotkey ATKD 0000001c 0000001d
hotkey ATKD 0000001d 0000001e
hotkey ATKD 0000001e 0000001f
hotkey ATKD 0000001f 000001c0
[total bright again]

But the events are not translated to proper keycodes by acpi_fakekey. The
scripts in /etc/acpi should trigger acpi_fakekey with these variables: 

KEY_BRIGHTNESSDOWN=224
KEY_BRIGHTNESSUP=225

, and they seem to trigger those commands, but they do not generate an x event
in the end. The fact is that running acpi_fakekey 224 (or 225) as root does
nothing, although other simple codes (for letters keys, for example) do produce
letters. 

If I make the appropriate scripts in /etc/acpi non-executable,  I still can
controll brightness via fn keys...

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to