commit 02969b7a57d58c0fab4b59f4f6a37a3d39e18361
Author: Jan Palus <[email protected]>
Date: Mon Dec 7 12:00:58 2020 +0100
sync steam controller udev rules
udev-steam_controller.rules | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/udev-steam_controller.rules b/udev-steam_controller.rules
index 342f02b..0ea07b8 100644
--- a/udev-steam_controller.rules
+++ b/udev-steam_controller.rules
@@ -25,6 +25,12 @@ KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660",
TAG+="uaccess"
# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess"
+# PS5 DualSense controller over USB hidraw
+KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6",
MODE="0660", TAG+="uaccess"
+
+# PS5 DualSense controller over bluetooth hidraw
+KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess"
+
# Nintendo Switch Pro Controller over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009",
MODE="0660", TAG+="uaccess"
@@ -39,7 +45,7 @@ KERNEL=="hidraw*", ATTRS{idVendor}=="20d6",
ATTRS{idProduct}=="a711", MODE="0660
# instead of udevadm directly becuase we need to use '*' glob at the
# end of "hidraw" name since we don't know the index it'd have.
#
-KERNEL=="input*", ATTRS{name}=="Lic Pro Controller", RUN{program}+="/bin/sh -c
\"udevadm test-builtin uaccess /sys/%p/../../hidraw/hidraw*\""
+KERNEL=="input*", ATTRS{name}=="Lic Pro Controller", RUN{program}+="/bin/sh -c
'udevadm test-builtin uaccess /sys/%p/../../hidraw/hidraw*'"
# Nacon PS4 Revolution Pro Controller
KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01",
MODE="0660", TAG+="uaccess"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/02969b7a57d58c0fab4b59f4f6a37a3d39e18361
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit