]> git.pld-linux.org Git - packages/systemd.git/commitdiff
sync steam controller udev rules
authorJan Palus <atler@pld-linux.org>
Mon, 7 Dec 2020 11:00:58 +0000 (12:00 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 7 Dec 2020 11:00:58 +0000 (12:00 +0100)
udev-steam_controller.rules

index 342f02bace18a68416aae0ecf1b28b5df40f741e..0ea07b8411b348564bcb4aa280c06496e7ff94cd 100644 (file)
@@ -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"
This page took 0.776145 seconds and 4 git commands to generate.