]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - add support for detecting FocalTech PS/2 touchpads
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Sep 2014 00:24:47 +0000 (17:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Sep 2014 21:30:46 +0000 (14:30 -0700)
commit1ad8f85bfdc141e33dae8ff730cdcc3e6ff16cb9
tree45ca6b9bf62cf53dafa0325ae26eabdb6de2952a
parent0c8ea514dc0dce7b3da13f9cc5192930cca91256
Input: psmouse - add support for detecting FocalTech PS/2 touchpads

The Asus X450 and X550 laptops use a PS/2 touchpad from a new
manufacturer called FocalTech:

https://bugzilla.kernel.org/show_bug.cgi?id=77391
https://bugzilla.redhat.com/show_bug.cgi?id=1110011

The protocol for these devices is not known at this time, but even
without knowing the protocol they need some special handling. They get
upset by some of our other PS/2 device probing, and once upset generate
random mouse events making things unusable even with an external mouse.

This patch adds detection of these devices based on their pnp ids, and
when they are detected, treats them as a bare ps/2 mouse. Doing things
this way they at least work in their ps/2 mouse emulation mode.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/Makefile
drivers/input/mouse/focaltech.c [new file with mode: 0644]
drivers/input/mouse/focaltech.h [new file with mode: 0644]
drivers/input/mouse/psmouse-base.c