From 7f4cb4b0a11919bd17423458b9aad678e5b5ded0 Mon Sep 17 00:00:00 2001 From: Lazorne Date: Fri, 19 Jan 2024 18:12:58 +0100 Subject: [PATCH] Wiki: Udev --- .../playstation/dualsense-edge.md | 8 ++++++++ .../wiki_controllers/playstation/dualsense.md | 8 ++++++++ .../wiki_controllers/playstation/dualshock-3.md | 11 +++++++++++ .../wiki_controllers/playstation/dualshock-4.md | 15 +++++++++++++++ 4 files changed, 42 insertions(+) diff --git a/wiki-rtd/docs/wiki_controllers/playstation/dualsense-edge.md b/wiki-rtd/docs/wiki_controllers/playstation/dualsense-edge.md index e46fce0..c67ebbb 100644 --- a/wiki-rtd/docs/wiki_controllers/playstation/dualsense-edge.md +++ b/wiki-rtd/docs/wiki_controllers/playstation/dualsense-edge.md @@ -8,6 +8,14 @@ Yes ### Linux Kernel Support Yes, since 6.2 - `hid-playstation` +### Udev rules + +``` +# Sony DualSense Edge Wireless-Controller; Bluetooth; USB +KERNEL=="hidraw*", KERNELS=="*054C:0DF2*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0df2", MODE="0660", TAG+="uaccess" +``` + ## What is the Official RetroDECK - Steam Input Profile called? - DualSense: `RetroDECK: DualSense` diff --git a/wiki-rtd/docs/wiki_controllers/playstation/dualsense.md b/wiki-rtd/docs/wiki_controllers/playstation/dualsense.md index d6c96ef..37640ee 100644 --- a/wiki-rtd/docs/wiki_controllers/playstation/dualsense.md +++ b/wiki-rtd/docs/wiki_controllers/playstation/dualsense.md @@ -8,6 +8,14 @@ Yes ### Linux Kernel Support Yes, since 5.14 - `hid-playstation` +### Udev rules + +``` +# Sony DualSense Wireless-Controller; Bluetooth; USB +KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess" +``` + ## What is the Official RetroDECK - Steam Input Profile called? - DualSense: `RetroDECK: DualSense` diff --git a/wiki-rtd/docs/wiki_controllers/playstation/dualshock-3.md b/wiki-rtd/docs/wiki_controllers/playstation/dualshock-3.md index 21b9619..b5bd023 100644 --- a/wiki-rtd/docs/wiki_controllers/playstation/dualshock-3.md +++ b/wiki-rtd/docs/wiki_controllers/playstation/dualshock-3.md @@ -8,6 +8,17 @@ Yes ### Linux Kernel Support Yes, 2.17 `hid-sony` +### Udev rules + +``` +# Sony PlayStation DualShock 3; Bluetooth; USB +KERNEL=="hidraw*", KERNELS=="*054C:0268*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0268", MODE="0660", TAG+="uaccess" + +## Motion Sensors +SUBSYSTEM=="input", KERNEL=="event*|input*", KERNELS=="*054C:0268*", TAG+="uaccess" +``` + ## What is the Official RetroDECK - Steam Input Profile called? - DualShock 3 / Sixaxis: `RetroDECK: DualShock 3` diff --git a/wiki-rtd/docs/wiki_controllers/playstation/dualshock-4.md b/wiki-rtd/docs/wiki_controllers/playstation/dualshock-4.md index c780370..756df14 100644 --- a/wiki-rtd/docs/wiki_controllers/playstation/dualshock-4.md +++ b/wiki-rtd/docs/wiki_controllers/playstation/dualshock-4.md @@ -8,6 +8,21 @@ Yes ### Linux Kernel Support Yes, 3.15 `hid-sony`, replaced in 6.2 by `hid-playstation` +### Udev rules + +``` +# Sony PlayStation DualShock 4; Bluetooth; USB +KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0660", TAG+="uaccess" + +# Sony PlayStation DualShock 4 Slim; Bluetooth; USB +KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0660", TAG+="uaccess" + +# Sony PlayStation DualShock 4 Wireless Adapter; USB +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0660", TAG+="uaccess" +``` + ## What is the Official RetroDECK - Steam Input Profile called? - DualShock 4: `RetroDECK: DualShock 4`