r/linuxmint • • 23d ago

Support Request MacBook pro touchpad not turning off while typing

As title suggests, I have a 2017 MacBook pro, I have already tried the following fixes:

- the GUI switch to have that option on

- creating the 30-touchpad.conf file in xorg.conf.d

- uninstalling and reinstalling the drivers

If anyone has any other points of issue that could help, I've fought this for long enough I'll try witchcraft at this point

2 Upvotes

3 comments sorted by

1

u/Greedy-Opposite-9133 19d ago

could be a libinput quirk thing rather than anything you did. On the 2016/2017 MacBook Pros the keyboard and touchpad go through the applespi driver, and libinput only pauses the touchpad while typing if it thinks the keyboard is internal. It decides that from a quirks file, and the Apple entry there matches vendor ID 0x05AC, but the applespi driver doesn't set a vendor ID on the keyboard at all. So the keyboard probably never gets flagged as internal and the "disable while typing" switch has nothing to pair with, which would also explain why the xorg.conf.d file didn't help.

could be worthchecking:

sudo apt install libinput-tools
sudo libinput list-devices | grep -A1 -i 'apple spi'

Note the /dev/input/eventN shown for "Apple SPI Keyboard", then:

sudo libinput quirks list /dev/input/eventN

If that doesn't show AttrKeyboardIntegration=internal, you could add a local override:

sudo mkdir -p /etc/libinput
sudo nano /etc/libinput/local-overrides.quirks

with:

[Apple SPI Keyboard local]
MatchUdevType=keyboard
MatchBus=spi
AttrKeyboardIntegration=internal

sudo libinput quirks validate should print nothing if the file is fine. Then log out and back in. It might also be worth moving your 30-touchpad.conf out of the way while testing, in case it's changing the touchpad driver. If it makes no difference, deleting the override file undoes it.

hopefully this helps avoid the witchcraft

2

u/Safe_Sir_7065 19d ago

That fixed it! Thank you!

0

u/Due-Result7928 23d ago

Try ChatGPT or Claude...witchcraft...?