I've tried to manually patch the udev files in my Maverick installation but the brightness keys still don't work... :(
I've clearly rebooted the machine.
The involved part of 95-keymap.rules:
......................[CUT].....................
#
# The following are exposed as separate input devices with low key codes, thus
# we need to check their input device product name
#
ENV{DMI_VENDOR}=="IBM*", KERNELS=="input*", ATTRS{name}=="ThinkPad Extra Buttons", RUN+="keymap $name module-ibm"
ENV{DMI_VENDOR}=="LENOVO*", KERNELS=="input*", ATTRS{name}=="ThinkPad Extra Buttons", RUN+="keymap $name module-lenovo"
ENV{DMI_VENDOR}=="LENOVO*", KERNELS=="input*", ATTRS{name}=="Lenovo ThinkPad SL Series extra buttons", RUN+="keymap $name 0x0E bluetooth"
ENV{DMI_VENDOR}=="ASUS*", KERNELS=="input*", ATTRS{name}=="Asus Extra Buttons", ATTR{[dmi/id]product_name}=="W3J", RUN+="keymap $name module-asus-w3j"
ENV{DMI_VENDOR}=="Sony*", KERNELS=="input*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony"
# Older Vaios have some different keys
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="*PCG-C1*|*PCG-K25*|*PCG-F1*|*PCG-F2*|*PCG-F3*|*PCG-F4*|*PCG-F5*|*PCG-F6*|*PCG-FX*|*PCG-FRV*|*PCG-GR*|*PCG-TR*|*PCG-NV*|*PCG-Z*|*VGN-S360*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-old"
# Some Sony VGN models have yet another one
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="VGN-AR71*|VGN-FW*|VGN-Z21*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-vgn"
......................[CUT].....................
I've tried to manually patch the udev files in my Maverick installation but the brightness keys still don't work... :(
I've clearly rebooted the machine.
I report few details on the modified files:
$ ls -la /lib/udev/ rules.d/ 95-keymap. rules rules.d/ 95-keymap. rules
-rw-r--r-- 1 root root 9919 2010-11-12 18:04 /lib/udev/
The involved part of 95-keymap.rules: ....... ....... .[CUT]. ....... ....... ......
.......
#
# The following are exposed as separate input devices with low key codes, thus
# we need to check their input device product name
#
LABEL=" keyboard_ modulecheck"
ENV{DMI_ VENDOR} ="$attr{ [dmi/id] sys_vendor} " VENDOR} =="", GOTO="keyboard_end"
ENV{DMI_
ENV{DMI_ VENDOR} =="IBM* ", KERNELS=="input*", ATTRS{name} =="ThinkPad Extra Buttons", RUN+="keymap $name module-ibm" VENDOR} =="LENOVO* ", KERNELS=="input*", ATTRS{name} =="ThinkPad Extra Buttons", RUN+="keymap $name module-lenovo" VENDOR} =="LENOVO* ", KERNELS=="input*", ATTRS{name} =="Lenovo ThinkPad SL Series extra buttons", RUN+="keymap $name 0x0E bluetooth" VENDOR} =="ASUS* ", KERNELS=="input*", ATTRS{name}=="Asus Extra Buttons", ATTR{[dmi/ id]product_ name}== "W3J", RUN+="keymap $name module-asus-w3j" VENDOR} =="Sony* ", KERNELS=="input*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony"
ENV{DMI_
ENV{DMI_
ENV{DMI_
ENV{DMI_
# Older Vaios have some different keys VENDOR} =="Sony* ", ATTR{[dmi/ id]product_ name}== "*PCG-C1* |*PCG-K25* |*PCG-F1* |*PCG-F2* |*PCG-F3* |*PCG-F4* |*PCG-F5* |*PCG-F6* |*PCG-FX* |*PCG-FRV* |*PCG-GR* |*PCG-TR* |*PCG-NV* |*PCG-Z* |*VGN-S360* ", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-old"
ENV{DMI_
# Some Sony VGN models have yet another one VENDOR} =="Sony* ", ATTR{[dmi/ id]product_ name}== "VGN-AR71* |VGN-FW* |VGN-Z21* ", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-vgn" ....... ....... .[CUT]. ....... ....... ......
ENV{DMI_
.......
$ ls -la /lib/udev/ keymaps/ module- sony-vgn keymaps/ module- sony-vgn
-rw-r--r-- 1 root root 151 2010-11-12 18:00 /lib/udev/
$ cat /lib/udev/ keymaps/ module- sony-vgn
0x00 brightnessdown # Fn+F5
0x10 brightnessup # Fn+F6
0x11 switchvideomode # Fn+F7
0x12 zoomout
0x14 zoomin
0x15 suspend # Fn+F12
0x17 prog1
0x20 media