Comment 22 for bug 939868

Revision history for this message
S² (marsou75) wrote :

I got my fn+f1 hotkey working by adding changing the following files:

added at the sony section in file /lib/udev/rules.d/95-keymap.rules
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="SVS*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-svs"

created new file /lib/udev/keymaps/module-sony-svs
0x05 f21 # fn_f1 -> KEY_F21 (The actual touchpad toggle)

Unfortunately the zoomin and zoomout hotkeys do not work, respectively fn+f9 and fn+f10.
The keys are not captured using xev nor using /lib/udev/keymap but they show up using acpi_listen:

$ acpi_listen
sony/hotkey SNC 00000001 00000014
sony/hotkey SNC 00000001 0000003b
sony/hotkey SNC 00000001 00000015
sony/hotkey SNC 00000001 0000003b

I have tried adding in /lib/udev/keymaps/module-sony-svs the following without success:
0x0d zoomout # fn_f9
0x0e zoomin # fn_f10

What should I do?