[PATCH] Input: mousedev - stop offering PS/2 to userspace by default

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE3536d

5 messages, 5 authors, 2017-01-02 · open the first message on its own page

[PATCH] Input: mousedev - stop offering PS/2 to userspace by default

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2016-12-29 18:07:37

Evdev interface has been available for many years and by now everyone
is switched to using it, so let's stop offering /dev/input/mouseN
and /dev/psaux by default.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 6261874..ff80377 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -94,7 +94,6 @@ comment "Userland interfaces"
 
 config INPUT_MOUSEDEV
 	tristate "Mouse interface"
-	default y
 	help
 	  Say Y here if you want your mouse to be accessible as char devices
 	  13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
@@ -109,7 +108,6 @@ config INPUT_MOUSEDEV
 
 config INPUT_MOUSEDEV_PSAUX
 	bool "Provide legacy /dev/psaux device"
-	default y
 	depends on INPUT_MOUSEDEV
 	help
 	  Say Y here if you want your mouse also be accessible as char device
@@ -118,7 +116,6 @@ config INPUT_MOUSEDEV_PSAUX
 
 	  If unsure, say Y.
 
-
 config INPUT_MOUSEDEV_SCREEN_X
 	int "Horizontal screen resolution"
 	depends on INPUT_MOUSEDEV
-- 
2.8.0.rc3.226.g39d4020


-- 
Dmitry

Re: [PATCH] Input: mousedev - stop offering PS/2 to userspace by default

From: Jiri Kosina <jikos@kernel.org>
Date: 2016-12-29 19:08:47

On Thu, 29 Dec 2016, Dmitry Torokhov wrote:
Evdev interface has been available for many years and by now everyone
is switched to using it, so let's stop offering /dev/input/mouseN
and /dev/psaux by default.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Makes sense to me.

	Acked-by: Jiri Kosina [off-list ref]

Thanks,

-- 
Jiri Kosina
SUSE Labs

Re: [PATCH] Input: mousedev - stop offering PS/2 to userspace by default

From: Peter Hutterer <hidden>
Date: 2016-12-30 01:22:13

On 30/12/2016 04:07 , Dmitry Torokhov wrote:
Evdev interface has been available for many years and by now everyone
is switched to using it, so let's stop offering /dev/input/mouseN
and /dev/psaux by default.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Peter Hutterer <redacted>

Cheers,
   Peter
quoted hunk
---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 6261874..ff80377 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -94,7 +94,6 @@ comment "Userland interfaces"

 config INPUT_MOUSEDEV
 	tristate "Mouse interface"
-	default y
 	help
 	  Say Y here if you want your mouse to be accessible as char devices
 	  13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
@@ -109,7 +108,6 @@ config INPUT_MOUSEDEV

 config INPUT_MOUSEDEV_PSAUX
 	bool "Provide legacy /dev/psaux device"
-	default y
 	depends on INPUT_MOUSEDEV
 	help
 	  Say Y here if you want your mouse also be accessible as char device
@@ -118,7 +116,6 @@ config INPUT_MOUSEDEV_PSAUX

 	  If unsure, say Y.

-
 config INPUT_MOUSEDEV_SCREEN_X
 	int "Horizontal screen resolution"
 	depends on INPUT_MOUSEDEV

Re: [PATCH] Input: mousedev - stop offering PS/2 to userspace by default

From: Pali Rohár <hidden>
Date: 2016-12-30 08:44:50

On Thu 29. December 2016 19:07 Dmitry Torokhov wrote:
Evdev interface has been available for many years and by now everyone
is switched to using it, so let's stop offering /dev/input/mouseN
and /dev/psaux by default.
Hi! There is one exception: gpm. Without /dev/input/mice it did not work 
correctly and IIRC gpm daemon is only one present in linux distributions 
for mouse support in linux console mode (ctrl+alt+f1). Disabling 
/dev/input/mice by default will lead to broken or non-working gpm.

-- 
Pali Rohár
pali.rohar@gmail.com

Re: [PATCH] Input: mousedev - stop offering PS/2 to userspace by default

From: Benjamin Tissoires <hidden>
Date: 2017-01-02 09:44:46

On Dec 29 2016 or thereabouts, Dmitry Torokhov wrote:
Evdev interface has been available for many years and by now everyone
is switched to using it, so let's stop offering /dev/input/mouseN
and /dev/psaux by default.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Makes sense to me

Acked-by: Benjamin Tissoires <redacted>

Cheers,
Benjamin
quoted hunk
---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 6261874..ff80377 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -94,7 +94,6 @@ comment "Userland interfaces"
 
 config INPUT_MOUSEDEV
 	tristate "Mouse interface"
-	default y
 	help
 	  Say Y here if you want your mouse to be accessible as char devices
 	  13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
@@ -109,7 +108,6 @@ config INPUT_MOUSEDEV
 
 config INPUT_MOUSEDEV_PSAUX
 	bool "Provide legacy /dev/psaux device"
-	default y
 	depends on INPUT_MOUSEDEV
 	help
 	  Say Y here if you want your mouse also be accessible as char device
@@ -118,7 +116,6 @@ config INPUT_MOUSEDEV_PSAUX
 
 	  If unsure, say Y.
 
-
 config INPUT_MOUSEDEV_SCREEN_X
 	int "Horizontal screen resolution"
 	depends on INPUT_MOUSEDEV
-- 
2.8.0.rc3.226.g39d4020


-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help