Como faço para que minha tecla Fn funcione em um Thinkpad T430s?

2

Eu instalei o 16.04 no laptop t430s. A tecla FN não está funcionando, o que significa que nenhum dos FN key-combos funcionam. (por exemplo, FN+F8 deve diminuir o brilho da tela.

executando xev no terminal mostra que nada é registrado quando eu aviso FN . FN keycombo apenas registra o F normal (por exemplo, FN + F8 mostra o mesmo keyevent em xev que F8 faz.

dmesg | grep thin retorna isso:

[   15.600090] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[   15.600093] thinkpad_acpi: http://ibm-acpi.sf.net/
[   15.600094] thinkpad_acpi: ThinkPad BIOS G7ET60WW (2.02 ), EC unknown
[   15.600096] thinkpad_acpi: Lenovo ThinkPad T430s, model 2356LNG
[   15.608778] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[   15.608878] thinkpad_acpi: radio switch found; radios are enabled
[   15.608895] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[   15.608896] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[   15.610449] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
[   15.611064] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
[   15.614049] thinkpad_acpi: Standard ACPI backlight interface available, not loading [   15.600090] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[   15.600093] thinkpad_acpi: http://ibm-acpi.sf.net/
[   15.600094] thinkpad_acpi: ThinkPad BIOS G7ET60WW (2.02 ), EC unknown
[   15.600096] thinkpad_acpi: Lenovo ThinkPad T430s, model 2356LNG
[   15.608778] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[   15.608878] thinkpad_acpi: radio switch found; radios are enabled
[   15.608895] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[   15.608896] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[   15.610449] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
[   15.611064] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
[   15.614049] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[   15.623189] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
[ 4532.846826] thinkpad_acpi: deprecated sysfs attribute: access by process with PID 4434
[ 4532.846832] thinkpad_acpi: WARNING: sysfs attribute hotkey_enable is deprecated and will be removed. Hotkey reporting is always enabled
[ 4665.791698] thinkpad_acpi: deprecated sysfs attribute: access by process with PID 4491
[ 4665.791706] thinkpad_acpi: WARNING: sysfs attribute bluetooth_enable is deprecated and will be removed. Please switch to generic rfkill before year 2010native one
[   15.623189] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
[ 4532.846826] thinkpad_acpi: deprecated sysfs attribute: access by process with PID 4434
[ 4532.846832] thinkpad_acpi: WARNING: sysfs attribute hotkey_enable is deprecated and will be removed. Hotkey reporting is always enabled
[ 4665.791698] thinkpad_acpi: deprecated sysfs attribute: access by process with PID 4491
[ 4665.791706] thinkpad_acpi: WARNING: sysfs attribute bluetooth_enable is deprecated and will be removed. Please switch to generic rfkill before year 2010

Quando me aventuro a /sys/devices/platform/thinkpad_acpi e faço um ls -l hotkey_* | cut -d' ' -f9 , recebo 9 arquivos:

hotkey_all_mask
hotkey_bios_enabled
hotkey_bios_mask
hotkey_enable
hotkey_mask
hotkey_poll_freq
hotkey_radio_sw
hotkey_recommended_mask
hotkey_source_mask

Que possuem esses valores ( cat hotkey* )

0x07fffffb
0
0x00000808
1
0x078c7ffb
10
1
0x078c7ffb
0x00000000

Então basicamente - eu não tenho ideia de como fazer com que as teclas FN funcionem. Qualquer ajuda muito apreciada

    
por Andreas 16.06.2016 / 00:36

1 resposta

0

Parece que meu problema deve ter sido causado por uma chave FN com defeito / inoperante. Um problema de hardware que é.

Meu 'solutoin': Para trocar o ctrl e o FN através da opção relevante da bios. Então eu estava sem uma tecla ctrl esquerda. Então eu troquei a esquerda ctrl com caps lock.

o xmapmod para isso está disponível via google, mas por uma questão de posteridade o processo é:

Primeiro, faça o backup do seu xmodmap atual: xmodmap -pke > Xmodmap_orig . Crie uma cópia do xmodmap existente: xmodmap -pke > .Xmodmap . Agora edite este arquivo: vim .Xmodmap e cole o seguinte na parte inferior do arquivo

! Switch caps lock and (left) control
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L 

Salve e crie o xmodmap modificado: xmodmap .Xmodmap

Eu sou novo no vim, talvez escolha nano .

    
por Andreas 20.06.2016 / 21:36