Airplane Mode Hotkey has a different code on some models, doesn't activate LED

Issue #30 new
beelzy created an issue

The code for airplane mode works, but it's checking for the wrong key on some devices (Mine is P65xHP. I used the patch from https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/pull-requests/20 to get it working).

There are two places where it checks for the airplane mode button, but mine only detects the key in clevo_xsm_wmi_notify(), where it looks for the key 0xF4, but my key is 0x85. Not sure what experience people have with that on other devices. This function also doesn't activate the LED; I must assume it is for certain models that do not have that feature. I copied the LED code there though, and it works.

Does every other model work reliably detecting 0xF4 as the airplane mode key?

Comments (0)

  1. Log in to comment