diff mbox

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

Message ID 20161229180731.GA5321@dtor-ws (mailing list archive)
State New, archived
Headers show

Commit Message

Dmitry Torokhov Dec. 29, 2016, 6:07 p.m. UTC
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(-)

Comments

Jiri Kosina Dec. 29, 2016, 7:08 p.m. UTC | #1
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 <jkosina@suse.cz>

Thanks,
Peter Hutterer Dec. 30, 2016, 1:11 a.m. UTC | #2
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 <peter.hutterer@who-t.net>

Cheers,
   Peter

> ---
>  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
>

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Pali Rohár Dec. 30, 2016, 8:44 a.m. UTC | #3
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.
Benjamin Tissoires Jan. 2, 2017, 9:44 a.m. UTC | #4
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 <benjamin.tissoires@redhat.com>

Cheers,
Benjamin

> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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