Comment 81 for bug 311869

Revision history for this message
Jamie Krug (jamie-thekrugs) wrote :

For a year or more I've used the fspc program (http://sourceforge.net/projects/fsp-lnxdrv/) to run a startup script that would reset my Sentelic FSP (to disable the tap-to-click and "hot spots" for horizontal/vertical scrolling, because they just drove me nuts, as there's no disable-while-typing setting). I wasted hours trying to get a resume hook to do the same thing, but it did nothing--something to do with attaching the the display or X session or whatever. Most of the solutions seemed to suggest simple echo commands to device files, but they always failed for me. It turns out that most of the examples referenced files under /sys/devices/platform/i8042/serio0 (or serio1), and I've *finally* taken the time to look more closely and discovered that my FSP device directory is serio4 (for my System76 Serval Pro v 7).

So, I'm happy to say that I was finally able to hack together a bash script that I use at boot and resume/thaw to keep my Sentelic FSP configuration as I choose:
https://github.com/jamiekrug/bash-goodies/blob/master/sentelic-fsp-config.sh

Just read the comments at the head of the script, and you can also execute the script with a -u option to output usage instructions.

This still feels like quite a hack, but it's a quick and functional way to disable things and keep it that way (after suspend/resume, as well). If anyone can point me in the right direction, I'd be happy to open a separate bug or do my best to review existing code for a better solution.

Also, @Oskari: very excited to hear of your absolute positioning work and multitouch support. Is there any chance you can do something about providing disable-while-typing support? That would be fabulous! I like the tap-to-click, but I activate it accidentally all the time while typing on the keyboard.