jackhumbert / pinebook-pro-keyboard-updater

A keyboard/touchpad firmware and updater for the Pinebook Pro
78 stars 11 forks source link

Fn key combination for F1 through F7 not working properly on ANSI keyboard #27

Open jbrockc opened 3 years ago

jbrockc commented 3 years ago

Yesterday, I ran all steps here. The last step fixed keys Fn + F8 through Fn + F12. Thanks! However, the Fn functionality for F1 through F7 is not correct for me, and Fn + ESC shuts down the laptop, i.e. is mapped to keysym 0x1008ff2a, XF86PowerOff. I recently installed the ANSI keyboard on a Pinebook Pro which was originally ISO. I am using the Armbian, Debian 10 version. Below is the xev output for each key press. I really appreciate all of your work on this!

Fn + F1

KeyRelease event, serial 36, synthetic NO, window 0x1400001,
    root 0x394, subw 0x0, time 839657, (138,66), root:(206,732),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Fn + F2

KeyRelease event, serial 36, synthetic NO, window 0x1400001,
    root 0x394, subw 0x0, time 961025, (110,74), root:(178,740),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Fn + F3

KeyRelease event, serial 36, synthetic NO, window 0x1400001,
    root 0x394, subw 0x0, time 998736, (83,102), root:(151,768),
    state 0x0, keycode 69 (keysym 0xffc0, F3), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Fn + F4

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Fn + F5

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Fn + F6

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Fn + F7 (No response at all.)

jbrockc commented 3 years ago

I installed Manjaro Xfce and these fn keys work as expected on that distro.