Skip to contentSkip to conversation

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

PATCH In review Dmitry Torokhov 5 participants 5 messages Dec 29, 2016 – Jan 2, 2017

Subsystems (2)
lore
Share & tools
lore

Dmitry Torokhov

author maintainer
#0 lore raw

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

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.

---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
drivers/input/Kconfig +0 -3
index 6261874..ff80377 100644
@@ -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
Signature · 5 lines
2.8.0.rc3.226.g39d4020


-- 
Dmitry
Acked-by on v1 1/1
#2 lore raw
In reply to Dmitry Torokhov
Quoted 5 lines · Dmitry Torokhov

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.

Cheers,
Peter

Quoted 33 lines
---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
drivers/input/Kconfig +0 -3
index 6261874..ff80377 100644
@@ -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
#3 lore raw
In reply to Dmitry Torokhov
Quoted 3 lines · 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.

Signature · 2 lines
Pali Rohár
[email protected]
Acked-by on v1 1/1
#4 lore raw
In reply to Dmitry Torokhov
Quoted 5 lines · Dmitry Torokhov

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.

Makes sense to me

Cheers,
Benjamin

Quoted 38 lines
---
 drivers/input/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
drivers/input/Kconfig +0 -3
index 6261874..ff80377 100644
@@ -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
Signature · 5 lines
2.8.0.rc3.226.g39d4020


-- 
Dmitry