Quando executo xev
ou showkey
, consigo obter códigos de teclas para Fn + F6
Exemplo
Quando uso showkey -k
, recebo o seguinte em um laptop Thinkpad T410.
$ sudo showkey -k
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
keycode 28 release
keycode 143 press <--- Fn press + release
keycode 143 release
^[[17~keycode 64 press <--- F6 press + release
keycode 64 release
keycode 212 press <--- Fn + F6 press + release
keycode 212 release
keycode 29 press <--- Ctrl + C press + release
^Ccaught signal 2, cleaning up...
Talvez não seja compatível?
Eu encontrei este wiki do Arch Linux intitulado: Lenovo Ideapad Yoga 2 Pro , que parece estar mostrando que esta chave não está sendo mapeada diretamente. Continuaremos cavando, mas pensei em adicionar essa informação aqui também.
trecho
Keyboard special keys
BIOS has a setting to flip the behavior of the FN key.
fn+F1 XF86AudioMute fn+F2 XF86AudioLowerVolume fn+F3 XF86AudioRaiseVolume fn+F4 Alt_L+<F4> fn+F5 <F5> fn+F6 n/a fn+F7 n/a fn+F8 Alt_L+Tab fn+F9 n/a? fn+F10 super_L+p fn+F11 XF86MonBrightnessDown fn+F12 XF86MonBrightnessUp
Use o módulo ideapad_laptop modificado?
Eu encontrei esta página intitulada: Lenovo IdeaPad Yoga 2 Pro no Wiki do LinLap. O artigo discute uma versão corrigida do módulo ideapad_laptop
, que pode resolver seus problemas com certas teclas que não funcionam.
trecho
Blacklist
ideapad_laptop
to get it to work, by adding blacklist ideapad_laptop to/etc/modprobe.d/blacklist.conf
. The patchedideapad_laptop
module available from https://github.com/pfps/yoga-laptop in the yoga_laptop directory makes wireless work correctly and also handles the Airplane Mode key.
O README
para este módulo corrigido também teve isto a dizer sobre a chave F6
:
Disable Touchpad (F6) produces scan codes that are not recognized. This can be fixed manually by
sudo setkeycodes e03f 191
and then settingXF86TouchPadToggle
to trigger a script to toggle the state of the touchpad. Pause and Break produce the same character. This can be fixed bysudo setkeycodes e046 194; xmodmap -e "keycode 202 = Break"
. A better way to do this is via udev rules - see the yoga_laptop/README for more information.