Setup DualShock 4 via Bluetooth on PS4 Linux – Gentoo, PSXITArch

Setup DualShock 4 via Bluetooth on PS4 Linux - Gentoo, PSXITArch for use with RPCS3. This will also work for wired usage.

In my previous article, I showed you how to fix Blackscreen issue on PS4 Linux. PS4 Linux distributions like Gentoo and PSXITArch come pre-built with a few emulators. You’d love to use your PS4 controller on PS4 Linux, right? That’s what I am going to show you in this article.

I will also show you how to use DualShock 4 on RPCS3 within PS4 Linux. While whis will setup DualShock 4 on PS4 Linux via Bluetooth, this will also enable wired usage. in RPCS3.

Video Guide to Setup DualShock 4 via Bluetooth on PS4 Linux + DS4 Setup for RPCS3



  1. DualShock 4 controller.
  2. PS4 running Linux (Detailed tutorial)
  3. PS4 Linux connected to Internet (optional, but preferred)

Setup PS4 Controller on PS4 Linux via Bluetooth

The whole process will take less than 5 minutes. So, follow these steps.

  1. On PS4 Linux, enable Bluetooth and click Add New Device.
  2. On DualShock 4, press PlayStation button and Share button together till you see white light blinking on the DS4.
  3. The Linux window will display Wireless Controller. Click on it and click Next.
  4. A notification will appear on your screen’s corner. Click Trust & Authorize.

It will be connected now. But, your DS4 won’t yet show up in RPCS3. For that, move on to the next part.

Takes just a minute to Subscribe!

Subscribe to our mailing list and be the first to know when we post new content.

Setup DS4 on RPCS3 in PS4 Linux

  1. Go to Linux File Manager on PS4 and find folder etc. Can be found in Gentoo Drive on PS4 Gentoo.
  2. In etc folder, browse to udev > rules.d.
  3. Open a Terminal within folder rules.d.
  4. In the terminal, type su and press Enter. Type your root password (Gentoo – ps4) and press Enter. Now, the $ sign will change into #.
  5. Type > 99-ds4-controllers.rules and press Enter.
  6. Type nano 99-ds4-controllers.rules and press Enter.
  7. Hoping your PS4 Linux is connected to Internet, use Internet Browser on Linux to browse to this page. Copy the following Code:-
    # 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"
  8. Paste the code into the Terminal window. You may also type the above code into the terminal.
  9. Press Ctrl+X and press Enter. Now, press y and press Enter.
  10. Type udevadm control --reload-rules and press Enter.
  11. Go to RPCS3. On the top left, click Configuration > Pads.
  12. In the top left of Pad Configuration window, under Handlers, choose DualShock 4 from the drop down menu.
  13. That’s it!


Have it running yet? No? Comment below and I’ll help you out. RPCS3 on PS4 Linux isn’t perfect and doesn’t run flawlessly in some high end games. But, low end games should work satisfactorily.

Share this article with your friends:-

Category: Linux PS4

Like it? Tell us about it.

Your email address will not be published. Required fields are marked *