Skip to content

PS move controller connecting but not pairing / Pairing randomly #515

@zzzzzzzac

Description

@zzzzzzzac

Hi, I've been trying to pair a controller on various systems and I've been able to do so two times, but even when reproducing the same steps as I did when it paired as intended, i cannot make it work and cannot identify a reason for it not to work...

I've primarily tried two setups, where I use a USB dongle to connect the controller :

  • Running Ubuntu 26 in a VM using UTM, on a mac m1 ;
  • Running Ubuntu 22.04 in a VM using vmware workstation or VirtualBox.

I followed the steps in the documentation :

  1. Building from source
  2. Set ClassicBondedOnly=false in /etc/bluetooth/input.conf
  3. restarting bluetooth : sudo systemctl restart bluetooth
  4. Run sudo ./psmove pair in ~/psmoveapi/build
  5. unplugging the controller and pressing the ps button

What usually follows : the controller light beeps rapidly for ~30 sec. I can see on the logs that the controller connects for about 30 sec, and then disconnect :

zac : ~/psmoveapi/build$ bluetoothctl
Agent registered
[CHG] Device 00:06:F7:21:41:6C Connected: yes
[CHG] Device 00:06:F7:21:41:6C Connected: no  # some time later

Whats bothering is that sometimes, the controller actually connects. It did so twice when running Ubuntu 22.04 running in a VM hosted on a windows pc. I've not been able to connect using a VM hosted on mac, but the same behavior can be observed. It looks like that the actual pairing between the controller and the pc is random.

In the last few days, I've tried numerous times to pair the controller and by doing so, tried all the possible combinations of steps 2 to 6, tried to use a different controller, updated blueZ from 5.64 to 5.65...

Documenting this issue, the controller did successfully pair for a third time. I did the exact same as I did earlier, running ./psmove pair and then clicking the ps button. I then restarted the VM to figure out if it was luck, and as expected the controller did not pair again.

Here's video of the usb pairing + bluetooth pairing attempt :

Any Insights or thoughts on how to pair the controller reliably would be much appreciated. thank you ! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions