StarLabsLtd / firmware

68 stars 4 forks source link

[StarLite Mk V] Add entry to ssdt to tell the OS the keyboard is internal #182

Open thmichel opened 6 days ago

thmichel commented 6 days ago

I noticed that the setting "disable touchpad while typing" does not work on Fedora. Not sure about other distros. This is pretty annoying while typing longer texts.

Solution is to create a local override for libinput. To do so, create a file called "/etc/libinput/local-overrides.quirks" with following content:

[Serial Keyboards] MatchVendor=0x27C6 MatchProduct=0x0111 MatchUdevType=keyboard AttrKeyboardIntegration=internal

Sean-StarLabs commented 6 days ago

I noticed that the setting "disable touchpad while typing" does not work on Fedora.

Which way? And what model?

thmichel commented 6 days ago

Ah, sorry. Starlite MK V. Amended the title. Without that quirk, the palm on the touchpad moves the cursor around while typing and sometimes initiates a mouse click. The reason seems to be that the keyboard is not considered to be internal.

thmichel commented 6 days ago

To add to that: You can test this with the following command:

sudo libinput quirks list /dev/input/event11

It should bring back: AttrKeyboardIntegration=internal

Without the quirk, you get an empty response. event11 ist the keyboard as shown in the output from "sudo lininput list-devices": Device: GXTP7386:00 27C6:0111 Keyboard Kernel: /dev/input/event11