Generic quirks for Chromebooks
Summary
Chromebook touchpads require ModelChromebook=1
quirk. Without the ModelChromebook
quirk, the touchpad can generate spurious inputs if the device is operated with closed lid and external screen. Instead of the current practice of adding rules for each Chromebook manually, it will be helpful to devise a general rule that can match all or at least a large number of existing and upcoming Chromebooks.
A proposed rule is
[Google Chromebook Lazor Touchpad]
MatchName=*Elan Touchpad*
MatchDeviceTree=*google*
ModelChromebook=1
The potential downside of this rule is that it may match non-chromebook Google devices with Elan Touchpads, though it seems unlikely that there would be such devices.