summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2003-12-18 05:35:52 -0800
committerDmitry Torokhov <dtor_core@ameritech.net>2003-12-18 05:35:52 -0800
commit07f0aef8a569e0bc58a934834a6b60febe3bdf26 (patch)
tree87acf716f820b9ce433d8195276e6c4473bdf6ef /drivers/input
parentc948129dd11035b467d3fa0d1ab34d995a41e4ea (diff)
[PATCH] Input: remove synaptics config option
Remove Synaptics config option. Since mousedev was fixed with regard to touchpads generating absolute events there should no troubles for users migrating from older kernel or different hardware so we can have it always compiled in.
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/Kconfig23
-rw-r--r--drivers/input/mouse/psmouse-base.c12
2 files changed, 13 insertions, 22 deletions
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index dd4cca4d5396..654bc36e39c8 100644
--- a/drivers/input/mouse/Kconfig
+++ b/drivers/input/mouse/Kconfig
@@ -23,27 +23,18 @@ config MOUSE_PS2
mice with wheels and extra buttons, Microsoft, Logitech or Genius
compatible.
+ Synaptics TouchPad users might be interested in a specialized
+ XFree86 driver at:
+ http://w1.894.telia.com/~u89404340/touchpad/index.html
+ and a new verion of GPM at:
+ http://www.geocities.com/dt_or/gpm/gpm.html
+ to take advantage of the advanced features of the touchpad.
+
If unsure, say Y.
To compile this driver as a module, choose M here: the
module will be called psmouse.
-config MOUSE_PS2_SYNAPTICS
- bool "Synaptics TouchPad"
- default n
- depends on INPUT && INPUT_MOUSE && MOUSE_PS2
- ---help---
- Say Y here if you have a Synaptics TouchPad connected to your system.
- This touchpad is found on many modern laptop computers.
-
- Note that you also need a user space driver to interpret the data
- generated by the kernel. A compatible driver for XFree86 is available
- from http://w1.894.telia.com/~u89404340/touchpad/index.html
-
- The gpm program is not yet able to interpret the data from this
- driver, so if you need to use the touchpad in the console, you have to
- say N for now.
-
config MOUSE_SERIAL
tristate "Serial mouse"
depends on INPUT && INPUT_MOUSE
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index eccb4a344c10..f54fc3f5a6ff 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -337,13 +337,12 @@ static int psmouse_extensions(struct psmouse *psmouse)
psmouse->vendor = "Synaptics";
psmouse->name = "TouchPad";
-#if CONFIG_MOUSE_PS2_SYNAPTICS
- if (psmouse_max_proto > PSMOUSE_IMEX && synaptics_init(psmouse) == 0)
+ if (psmouse_max_proto > PSMOUSE_IMEX &&
+ synaptics_init(psmouse) == 0)
return PSMOUSE_SYNAPTICS;
-#endif
/*
- * Synaptics hardware (according to Peter Berg Larsen) can get confused
- * by protocol probes below so we have to stop here
+ * Synaptics hardware (according to Peter Berg Larsen) can get
+ * confused by protocol probes below so we have to stop here
*/
return PSMOUSE_PS2;
}
@@ -367,7 +366,8 @@ static int psmouse_extensions(struct psmouse *psmouse)
if (psmouse_max_proto >= PSMOUSE_IMPS && intellimouse_detect(psmouse)) {
set_bit(REL_WHEEL, psmouse->dev.relbit);
- if (psmouse_max_proto >= PSMOUSE_IMEX && im_explorer_detect(psmouse)) {
+ if (psmouse_max_proto >= PSMOUSE_IMEX &&
+ im_explorer_detect(psmouse)) {
set_bit(BTN_SIDE, psmouse->dev.keybit);
set_bit(BTN_EXTRA, psmouse->dev.keybit);