Connect Sony Dual Shock Bluetooth Device (3th party)

  • I'm trying to connect my Bluetooth PS3 device to my Libreelec (9.01). I tried to connect it on the Bluetooth page of the Libreelec addon and also directly in RetroArch but got no succes there

    Then I entered my raspberry with a SHH connection and used bluetoothctl to connect. I connect the device with a USB cable to retrieve the MAC adress and build the bluetooth connection but get stuck at entering the pincode.

    mydevice: # bluetoothctl

    Agent registered

    [bluetooth]# power on

    [bluetooth]# discoverable on

    Changing discoverable on succeeded

    [CHG] Controller B8:27:EB:88:F4:D5 Discoverable: yes

    [bluetooth]# pairable on

    Changing pairable on succeeded

    [bluetooth]# trust 00:26:5C:56:08:00

    Changing 00:26:5C:56:08:00 trust succeeded

    [CHG] Device 00:26:5C:56:08:00 Connected: yes

    [CHG] Device 00:26:5C:56:08:00 Name: PLAYSTATION(R)3 Controller

    [CHG] Device 00:26:5C:56:08:00 Alias: PLAYSTATION(R)3 Controller

    [Sony PLAYSTATION(R)3 Controller]# pair 00:26:5C:56:08:00

    Attempting to pair with 00:26:5C:56:08:00

    [agent] PIN code: 056382

    Failed to pair: org.bluez.Error.AuthenticationTimeout

    [CHG] Device 00:26:5C:56:08:00 ServicesResolved: no

    [CHG] Device 00:26:5C:56:08:00 Connected: no

    [CHG] Controller B8:27:EB:88:F4:D5 Discoverable: no

    How can I proceed or automatically accept any pincode (it changes every time I retry)?