Re: [PATCH] HID: steam: remove input device when a hid client is running.

From: Jiri Kosina
Date: Mon Nov 19 2018 - 10:20:56 EST


On Sun, 14 Oct 2018, Rodrigo Rivas Costa wrote:

> Previously, when a HID client such as the Steam Client was running, this
> driver disabled its input device to avoid doubling the input events.
>
> While it worked mostly fine, some games got confused by the idle gamepad,
> and switched to two player mode, or asked the user to choose which gamepad
> to use. Other games just crashed, probably a bug in Unity [1].
>
> With this commit, when a HID client starts, the input device is removed;
> when the HID client ends the input device is recreated.
>
> [1]: https://github.com/ValveSoftware/steam-for-linux/issues/5645

Applied to for-4.20/upstream-fixes. Thanks,

--
Jiri Kosina
SUSE Labs