forked from luck/tmp_suning_uos_patched
3ace3686f1
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>
23 lines
570 B
C
23 lines
570 B
C
/*
|
|
* Focaltech TouchPad PS/2 mouse driver
|
|
*
|
|
* Copyright (c) 2014 Red Hat Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Red Hat authors:
|
|
*
|
|
* Hans de Goede <hdegoede@redhat.com>
|
|
*/
|
|
|
|
#ifndef _FOCALTECH_H
|
|
#define _FOCALTECH_H
|
|
|
|
int focaltech_detect(struct psmouse *psmouse, bool set_properties);
|
|
int focaltech_init(struct psmouse *psmouse);
|
|
|
|
#endif
|