From f843dfa92c7d08d37d8c92a270ea8abdf96523b0 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Fri, 8 Feb 2019 19:46:46 +0100 Subject: [PATCH 1/2] Add rules for Nvidia controllers. --- 60-steam-input.rules | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/60-steam-input.rules b/60-steam-input.rules index ef7d929..97104b4 100644 --- a/60-steam-input.rules +++ b/60-steam-input.rules @@ -63,3 +63,12 @@ KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0660 # STRIKEPAD PS4 Grip Add-on KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0660", TAG+="uaccess" + +# NVIDIA Shield Portable (2013 - NVIDIA_Controller_v01.01 - In-Home Streaming only) +KERNEL=="hidraw*", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7203", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}="" + +# NVIDIA Shield Controller (2015 - NVIDIA_Controller_v01.03 over USB hidraw) +KERNEL=="hidraw*", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7210", MODE="0660", TAG+="uaccess", ENV{ID_INPUT_JOYSTICK}="1", ENV{ID_INPUT_MOUSE}="" + +# NVIDIA Shield Controller (2017 - NVIDIA_Controller_v01.04 over bluetooth hidraw) +KERNEL=="hidraw*", KERNELS=="*0955:7214*", MODE="0660", TAG+="uaccess" From c727db6367bf2147571f9ab7f921250c2adb1bc4 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Fri, 8 Feb 2019 19:49:50 +0100 Subject: [PATCH 2/2] Remove duplicate tag and fix Steam Controller uinput issue: - https://github.com/ValveSoftware/steam-for-linux/issues/4794 - https://github.com/rpmfusion/steam/pull/10 - https://github.com/NixOS/nixpkgs/pull/49367 - https://github.com/NixOS/nixpkgs/pull/50901 --- 60-steam-input.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/60-steam-input.rules b/60-steam-input.rules index 97104b4..ed800d6 100644 --- a/60-steam-input.rules +++ b/60-steam-input.rules @@ -2,7 +2,7 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess" # Steam Controller udev write access -KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", TAG+="uaccess" +KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput" # Valve HID devices over USB hidraw KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess"