Tutorial [GUIDE] Using an UNWIRED PlayStation 4 controller in Linux (Fedora32)

singho1122

Member
Newcomer
Joined
Jul 3, 2022
Messages
6
Trophies
0
Age
38
Location
HONG KONG
XP
8
Country
Hong Kong
Try doing a full reset of the controller using the button on the back of the controller next to the top right screw. (Use a paperclip and hold for 20 seconds)

Install DS4DRV from here:

Then retrust and re-pair the controller in terminal.

Hi Sir,

I followed your steps to reset the controllers, and installed DS4DRV, retrust and re-pair them,

They still paired as white light not blue light, also I don't know how the DS4DRV works, please help
 

Attachments

  • WhatsApp Image 2022-07-03 at 11.42.44 PM.jpeg
    WhatsApp Image 2022-07-03 at 11.42.44 PM.jpeg
    413.6 KB · Views: 8
  • WhatsApp Image 2022-07-03 at 11.42.43 PM.jpeg
    WhatsApp Image 2022-07-03 at 11.42.43 PM.jpeg
    282.7 KB · Views: 7

bbqtool

Well-Known Member
OP
Member
Joined
Aug 21, 2018
Messages
156
Trophies
0
Age
37
XP
804
Country
Australia
thanks for your reply!!

I still have questions:

1. reset the controller by paperclip, but what's the controller status first? do you mean when it paired by bluetooth with white light?

2. Fedora 32 can install DS4DRV by above gh link directly?

sorry for many questions.

1. No, so long as the controller has charge you reset it with the controller powered off.

2. Yes. There are instructions to install DS4DRV in the github link which you did in the photo you posted.

Basically, the Bluetooth drivers, PS4 controller drivers and the PS4 aren't very good together. They do work, but it is an effort because they are so sensitive. As in different versions of other drivers make a difference too. Standard Linux problems. If you're using modded_warfare's release of Fedora, I'm not sure what other stuff he has installed/updated which also has an impact on how the drivers work. I'm not using that release, just the original ITmania release.

From memory, you cannot pair two PS4 controllers at once with DS4DRV. I remember reading that somewhere. I can't test it with two controllers because all my PS4 controllers are being used. The PS4 controller needs to be the default agent and PS4s have this weird security with Bluetooth to prevent other controllers from working. If you have multiple Bluetooth devices, it doesn't like it. (If that doesn't mean anything to you, ignore it)

White light is good because it's a step beyond just auto-disconnecting. From what I can tell, the driver has an issue with trusting the controllers or which is the default agent and that's why it's not working.

When you get the white light, try plugging it into the PS4 waiting a few seconds then unplugging. If it stays blue after disconnecting, you're good. It'll stay recognised.

If when you unplug it goes straight back to white, it means it isn't trusted or paired correctly. Reset the controller with the button on the back and paperclip and manually re-pair and retrust it in terminal.

in terminal:

bluetoothctl
bluetoothctl show
default-agent
power on
scan on


Now set device to seek.

If it finds your controller, it will say something like this in terminal:

[CHG] Controller 5C:FB:7C:A4:13:C6 Discovering: yes

except 5C:FB:7C:A4:13:C6 will be different. Take note of this. Copy it.

now to pair the controller. (replace "5C:FB:7C:A4:13:C6" with the address of your own device)

in terminal:

pair 5C:FB:7C:A4:13:C6
trust 5C:FB:7C:A4:13:C6
connect 5C:FB:7C:A4:13:C6


Then plugging it in to the PS4 then unplugging it.

Since I first wrote this, I found that it takes a lot of trial and error because different PS4s use different bluetooth hardware. It might also take a few tries and unplugging and retrusting in different order. I've seen other people complaining about this issue with PS4 controllers with Raspberry Pis and confirmed it might take a few tries unplugging it, re-pairing and retrusting. Once you get it to pair once, it'll stay paired though. Good luck.
 
Last edited by bbqtool,
  • Like
Reactions: godreborn

singho1122

Member
Newcomer
Joined
Jul 3, 2022
Messages
6
Trophies
0
Age
38
Location
HONG KONG
XP
8
Country
Hong Kong
1. No, so long as the controller has charge you reset it with the controller powered off.

2. Yes. There are instructions to install DS4DRV in the github link which you did in the photo you posted.

Basically, the Bluetooth drivers, PS4 controller drivers and the PS4 aren't very good together. They do work, but it is an effort because they are so sensitive. As in different versions of other drivers make a difference too. Standard Linux problems. If you're using modded_warfare's release of Fedora, I'm not sure what other stuff he has installed/updated which also has an impact on how the drivers work. I'm not using that release, just the original ITmania release.

From memory, you cannot pair two PS4 controllers at once with DS4DRV. I remember reading that somewhere. I can't test it with two controllers because all my PS4 controllers are being used. The PS4 controller needs to be the default agent and PS4s have this weird security with Bluetooth to prevent other controllers from working. If you have multiple Bluetooth devices, it doesn't like it. (If that doesn't mean anything to you, ignore it)

White light is good because it's a step beyond just auto-disconnecting. From what I can tell, the driver has an issue with trusting the controllers or which is the default agent and that's why it's not working.

When you get the white light, try plugging it into the PS4 waiting a few seconds then unplugging. If it stays blue after disconnecting, you're good. It'll stay recognised.

If when you unplug it goes straight back to white, it means it isn't trusted or paired correctly. Reset the controller with the button on the back and paperclip and manually re-pair and retrust it in terminal.

in terminal:

bluetoothctl
bluetoothctl show
default-agent
power on
scan on


Now set device to seek.

If it finds your controller, it will say something like this in terminal:

[CHG] Controller 5C:FB:7C:A4:13:C6 Discovering: yes

except 5C:FB:7C:A4:13:C6 will be different. Take note of this. Copy it.

now to pair the controller. (replace "5C:FB:7C:A4:13:C6" with the address of your own device)

in terminal:

pair 5C:FB:7C:A4:13:C6
trust 5C:FB:7C:A4:13:C6
connect 5C:FB:7C:A4:13:C6


Then plugging it in to the PS4 then unplugging it.

Since I first wrote this, I found that it takes a lot of trial and error because different PS4s use different bluetooth hardware. It might also take a few tries and unplugging and retrusting in different order. I've seen other people complaining about this issue with PS4 controllers with Raspberry Pis and confirmed it might take a few tries unplugging it, re-pairing and retrusting. Once you get it to pair once, it'll stay paired though. Good luck.

Hi Sir, thanks for your reply, what's your wireless controler connected bluetooth with which light? blue light?
 

bbqtool

Well-Known Member
OP
Member
Joined
Aug 21, 2018
Messages
156
Trophies
0
Age
37
XP
804
Country
Australia
Blue means it's connected and input will work. White light means it's connected but input will not work.
 

bbqtool

Well-Known Member
OP
Member
Joined
Aug 21, 2018
Messages
156
Trophies
0
Age
37
XP
804
Country
Australia
so sad, I connected only white light, I don't know how to make it blue light >.<
Keep playing around with plugging it in/unplugging it when it is white and trusting/pairing it in terminal and which one you do first. If you can get to the white light, chances are it will work you just have to do it in the right order. I don't know what that is but when I've tried to connect the controller, that's what has happened.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: +2