LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Xbox One controller with Bluetooth dongle (https://www.linuxquestions.org/questions/linux-hardware-18/xbox-one-controller-with-bluetooth-dongle-4175638305/)

candyman92 09-13-2018 05:33 AM

Xbox One controller with Bluetooth dongle
 
Hello everybody. I have a question about the Xbox One controller in combination with the Bluetooth dongle under Odroid C2 with Lakka.

I bought a Bluetooth dongle with this information.
Code:

    Lakka:~ # lsusb
    Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

`Lakka:~ # systemctl status bluetooth`
    bluetooth.service - Bluetooth service
      Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor p
    reset: disabled)
      Active: active (running) since Tue 2018-06-19 00:05:23 UTC; 2 months 25 days
    ago
    Main PID: 363 (bluetoothd)
      Status: "Running"
      CGroup: /system.slice/bluetooth.service
              └─363 /usr/lib/bluetooth/bluetoothd

After that I deactivated ertm. This seems to be necessary to connect the XBox One controller.
`echo 1 > /sys/module/bluetooth/parameters/disable_ertm`

Now I have tried to connect the controller to Lakka with these instructions.
http://www.lakka.tv/doc/Wireless-Dualshock/

The result is this:
Code:

    Lakka:~ # bluetoothctl
    [NEW] Controller 00:1A:7D:DA:71:13 BlueZ 5.43 [default]
    [NEW] Device 5C:BA:37:0A:E0:02 Xbox Wireless Controller
    [bluetooth]# agent on
    Agent registered
    [bluetooth]# default-agent
    Default agent request successful
    [bluetooth]# power on
    Changing power on succeeded
    [bluetooth]# discoverable on
    Changing discoverable on succeeded
    [CHG] Controller 00:1A:7D:DA:71:13 Discoverable: yes
    [bluetooth]# pairable on
    Changing pairable on succeeded
    [bluetooth]# scan on
    Discovery started
    [CHG] Controller 00:1A:7D:DA:71:13 Discovering: yes
    [CHG] Device 5C:BA:37:0A:E0:02 RSSI: -62
    [CHG] Device 5C:BA:37:0A:E0:02 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
    [CHG] Device 5C:BA:37:0A:E0:02 RSSI: -96
    [bluetooth]# pair 5C:BA:37:0A:E0:02
    Attempting to pair with 5C:BA:37:0A:E0:02
    [CHG] Device 5C:BA:37:0A:E0:02 Connected: yes
    [CHG] Device 5C:BA:37:0A:E0:02 Connected: no
    Failed to pair: org.bluez.Error.AuthenticationCanceled
    [bluetooth]# trust 5C:BA:37:0A:E0:02
    Changing 5C:BA:37:0A:E0:02 trust succeeded
    [CHG] Device 5C:BA:37:0A:E0:02 RSSI: -61
    [bluetooth]#

The message org.bluez.Error.AuthenticationCanceled appears after a few seconds. He seems to have connected before, because the console changes to XBoxWirelessController.

Can anyone help me with this problem?


All times are GMT -5. The time now is 12:56 AM.