sudo nano /etc/udev/rules.d/99-ds3-controllers.rules
and add this code to that file:
# DualShock 3 over USB
KERNEL=="hidraw", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0268", MODE="0666"
# DualShock 3 over Bluetooth
KERNEL=="hidraw*", KERNELS=="*054C:0268*", MODE="0666"
Then save it,
Then to activate the changes, run "sudo udevadm control --reload-rules
" and replug in your controller.
sudo nano /etc/udev/rules.d/99-ds4-controllers.rules
and add this code to that file:
# DualShock 4 over USB
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
# DualShock 4 Wireless Adapter over USB
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"
# DualShock 4 Slim over USB
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
# DualShock 4 over Bluetooth
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"
# DualShock 4 Slim over Bluetooth
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
Then save it,
Then to activate the changes, run "sudo udevadm control --reload-rules
" and replug in your controller
Source | Date: June 25th 2021
© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.