Date: Thu, 10 Sep 2015 13:53:26 +0300 From: Vladimir Kondratyev <wulf@cicgroup.ru> To: freebsd-mobile@freebsd.org Subject: psm(4) support for Elantech touchpads Message-ID: <39d6b1e666dd04b59d4bfff5431fe36e@localhost>
next in thread | raw e-mail | index | archive | help
Hello Some time ago I bought Acer Aspire S7-191 ultrabook and was able to run FreeBSD on it. However, builtin Elantech clickpad turned out to be almost unusable due to bad support of gestures in PS/2 mouse emulation mode. So I had to port OpenBSD Linux derived absolute mode driver and connect it to FreeBSD synaptics gesture processor. Resulting patch for 11-CURRENT can be downloaded here: http://mail.cicgroup.ru/elantech-touchpad-r287559.diff It still requires some work but I find it quite usable. It supports and was tested on hardware versions 2..4 Elantech touchpads (namely ASUS EEEPC 1015PN, ASUS K53E and Acer Aspire S7-191) Usage: cd /usr/src fetch http://mail.cicgroup.ru/elantech-touchpad-r287559.diff patch -p1 < elantech-touchpad-r287559.diff make kernel echo "hw.psm.elantech_support=1" >> /boot/loader.conf reboot You should see following boot messages if touchpad has been recognized by psm(4) driver: psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Elantech Touchpad, device ID 0 Patch adds some sysctls under hw.psm.elantech node. They mean exactly the same as hw.psm.synaptics ones Comments and suggestions are welcome.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39d6b1e666dd04b59d4bfff5431fe36e>