r/linuxmint • • 1h ago

Support Request I can't connect a bluetooth controller

Hi everyone,

I struggle to connect my bluetooth controller and use it.

When its connected by cable everything works fine.

I connected it with bluetooth succesfull and marked it as trustworthy.

I tried out many things. My results where that my drivers are installed (uhid, hid_sony) and working. The connection works as well. But linuxmint doesnt seem to recognice it as input device when connected by bluetooth. Or atleast it doesnt show with sudo evtest

I use a bluetooth usb adapter by tplink. My controller is a noname version of a ps4 controller (it works fine with other divices).

3 Upvotes

7 comments sorted by

•

u/AutoModerator 1h ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/m4uri 1h ago

When a controller connects and seems trusted but has no input, it's usually BlueZ or hid_sony acting up. This often happens with clone DS4 controllers because they don't respond to certain requests that genuine Sony controllers do.

Here are a couple of things you can try:

  1. Check the kernel logs. Connect the controller via Bluetooth, then run sudo dmesg | tail -n 30. If you see messages from hid_sony about a failed feature report or something similar, it's likely the clone issue. If there's no mention of hid at all, it means BlueZ didn't even pass the controller along.
  2. Adjust the BlueZ settings. This fix works for many clone controllers. Open /etc/bluetooth/input.conf as root. Find the line #ClassicBondedOnly=true and change it to ClassicBondedOnly=false (just remove the #). Then, restart Bluetooth with sudo systemctl restart bluetooth. After that, remove the controller from your Bluetooth settings and pair it again from the beginning.

Newer versions of BlueZ only allow input from devices that are correctly bonded. Cheaper controllers often skip this bonding step. Changing this setting makes BlueZ a bit more forgiving, so only do this if you're comfortable with that.

Once you've tried these steps, running cat /proc/bus/input/devices should show your controller, and evtest should be able to detect it.

1

u/Coco_Ardo 42m ago

Thanks for the feedback.

I had a hid failed message. Changing the config file and restarting didn't solve the issue

1

u/Stevearino42 45m ago

I connected an SN30 Pro via bluetooth today, I had to click Create Pairing (the Key icon), then Mark as Trusted (the Checkmark icon), then it disconnected and I selected Device > Connect.

Now it connects anytime I turn on the controller.

EDIT: forgot to mention, I turned on the controller in "Windows mode" with X+START.

1

u/Coco_Ardo 32m ago

I dont understand that windows mode thing.

At what step did you use that mode? When I press x + start it just blinks normal (not quickly like in paring mode)

When you say

then it disconnected

Do you mean you disconneted it in linuxmint? Or did you press buttons on the controller?

1

u/Inquisitive-Mind-A 12m ago

You need to install pipx build-essentials python3-dev and use pipx install ds4drv. That works for me.

1

u/Inquisitive-Mind-A 9m ago

Edit: I forgot to mention it may not work out of the box. This person helped me with the setup.

https://www.reddit.com/r/linuxmint/comments/1t94nje/how_to_get_dualshock_4_working_on_linux_mint_with/