Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Playstation 4 controller drivers
- #https://github.com/chrippa/ds4drv
- #install
- sudo pip install ds4drv
- #setup udev
- sudo wget "https://raw.githubusercontent.com/chrippa/ds4drv/master/udev/50-ds4drv.rules" -O /etc/udev/rules.d/50-ds4drv.rules
- #or manually enter into "50-ds4drv.rules"
- KERNEL=="uinput", MODE="0666"
- KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"
- KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:054C:05C4.*", MODE="0666"
- KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"
- KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:054C:09CC.*", MODE="0666"
- #update udev rules
- sudo udevadm control --reload-rules
- sudo udevadm trigger
- #you may need to load uinput
- sudo modprobe uinput
- #Contect controller with bluetooth or USB and start drivers
- ds4drv --hidraw
- #bluetooth notes
- #scan for devices that are discoverable
- hcitool scan
- #list connected devices
- hcitool con
- echo "connect <address>"|bluetoothctl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement