2016-12-29 18:07:37

by Dmitry Torokhov

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Dmitry Torokhov <[email protected]>
---
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


2016-12-29 19:08:47

by Jiri Kosina

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

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 <[email protected]>

Makes sense to me.

Acked-by: Jiri Kosina <[email protected]>

Thanks,

--
Jiri Kosina
SUSE Labs

2016-12-30 01:22:13

by Peter Hutterer

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

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 <[email protected]>

Acked-by: Peter Hutterer <[email protected]>

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
>