Hi, I was curious to know if there is any way to connect my dualshock 4 via bluetooth to linux. Wired works fine but the USB port on the controller is very loose and the controller disconnects easily, which is very annoying.

On windows I used ds4windows which worked great. On Linux I tried ds4drv which worked at first but broke after I upgraded to mint 22, I tried a bunch of stuff to fix it but couldn’t get it to work.

Any suggestions are welcome.

Update: on mint when you connect the dualshock controller the LED on it glows light blue and it doesnt work, then a notification appears asking you to authenticate the connection, click yes and the LED will turn blue and the controller will work ( you can test it on desktop by using the touchpad as a mouse). It seems either I missed this message before or it didnt appear for some reason.

  • NullNet@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    20 days ago

    I have used my dualshock 4 for years on linux over Bluetooth. You need to put the controller into pairing mode and just add it like any other device. Maybe mint is using an older kernel because I thought support was built in the kernel directly no need for other stuff

    • hopefull_cottonball@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      20 days ago

      I can pair it like how I pair my headphones just fine. But it doesn’t work like a controller AFAIK. Im not near my PC right now bit last time I tried games didn’t detect it.

      Edit: fixed the problem, read post.

      • tee9000@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        20 days ago

        It works for me on linux mint.

        Is steam involved? Try going to compatibility settings, there should be something related to controllers and ps4 controllers.

      • mranderson17@infosec.pub
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        works for me both on my archlinux machine and my steamdeck with steam and non-steam games. I’ve even played NFSU2 with it =] . I don’t think it required any more configuration than just pairing for me, no special drivers or tools. Maybe it needs a firmware update (I don’t know if that’s a thing, just a thought)?

      • BlueSquid0741@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        It should work I believe. used it on Opensuse tumbleweed, Fedora, bazzite, and CachyOS. Just by turning Bluetooth on and pairing it.