I've got the Elan touchpad in the Acer Chromebook 311 "Kasumi" working on Renku OS, and I'd like testers before it lands in the tree. It's a rewrite of Renku's i2c_elan driver: the stock one talks HID over I2C, which Chromebook Elan touchpads (ACPI ELAN0000) don't understand, so they do nothing. This one speaks Elan's native I2C protocol, the same one Linux's elan_i2c uses.
Download: i2c_elan-chromebook-test1.zip (17 KB, x86_64). It has the driver, an install script and a log-collection script.
Tested on an Acer Chromebook 311 "Kasumi" (AMD Stoney Ridge, touchpad ELAN0000, firmware 0x02): pointer movement, tap to click, two-finger scrolling and clicking the pad all work. The pad is one big button, so the driver adds right and middle click the way Chrome OS does: click with one finger, click in the bottom-right corner or tap with two fingers for a right click, and click or tap with three fingers for a middle click.
Not tested yet: other Chromebooks with Elan touchpads (Intel and other AMD boards), the non-Chromebook Elan touchpads the driver also binds (ELAN06xx, ELAN1000: Lenovo and others), high-precision touchpads, touchpads without an interrupt line, suspend/resume, and Haiku.
Installing
sh /path/to/i2c_elan-chromebook-test1/install.sh
Then reboot. It's a test build, so it may drop into the kernel debugger (KDL). If the machine won't boot, hold Shift (or Space) at boot, choose to disable user add-ons, and run install.sh --uninstall, which brings back the stock driver.
Reporting
Whether it works or not, please post your machine (and the board name for a Chromebook) and what works: movement, tapping, scrolling, clicks. After a test, collect-log.sh saves the driver's log into the folder. The filtered log only has touchpad lines, but the full syslog copies also include your network name and MAC addresses, so take those out before posting them. For a KDL, a photo of the screen and of bt is the most useful thing.
What it took
Three changes. The driver now uses the native protocol (reset, querying the pad's size and resolution, absolute mode) and parses the finger reports correctly: they're packed, and finger width had to be on the scale Renku's movement_maker expects, or one finger read as two and tapping broke. The shared I2C "input ready" code learned to read AMD GPIO pins, so the driver reads reports when the touchpad signals instead of polling blindly. And the clickpad button emulation, since movement_maker has no multi-finger tap. One thing that may help anyone else working on touchpads: unlike Linux, movement_maker wants Elan's Y axis as the hardware reports it, not flipped.
The code is up for review in Renku PR #198.