Bluetooth connection problems

Hi guys,

I’ trying to connect a bluetooth controller to my lakka system :video_game: . It’s called “Wireless Gaming Controller” and the Model is HD-060. I connected through ssh and tried a manual pairing with bluetoothctl because the normal pairing didn’t succeed…

first I put the controller to pairing mode and then started bluetoothctl:

[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
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[NEW] Device D0:27:96:F1:05:28 PC263 Controller
[bluetooth]# connect D0:27:96:F1:05:28
Attempting to connect to D0:27:96:F1:05:28
[CHG] Device D0:27:96:F1:05:28 Connected: yes
[PC263 Controller   ]# pair D0:27:96:F1:05:28
Attempting to pair with D0:27:96:F1:05:28
[CHG] Device D0:27:96:F1:05:28 Paired: yes
Pairing successful
[CHG] Device D0:27:96:F1:05:28 Connected: no
Failed to connect: org.bluez.Error.Failed
[bluetooth]# trust D0:27:96:F1:05:28
[CHG] Device D0:27:96:F1:05:28 Trusted: yes
Changing D0:27:96:F1:05:28 trust succeeded
[CHG] Device D0:27:96:F1:05:28 Connected: yes
[CHG] Device D0:27:96:F1:05:28 Connected: no
[bluetooth]# connect D0:27:96:F1:05:28
Attempting to connect to D0:27:96:F1:05:28
Failed to connect: org.bluez.Error.Failed

the controller seems to be paired and trusted, but if I try to connect the controller via pushing the ‘HOME’ button this strange ‘connect and immediately disconnect’ thing happens…

[CHG] Device D0:27:96:F1:05:28 Connected: yes
[CHG] Device D0:27:96:F1:05:28 Connected: no
[CHG] Device D0:27:96:F1:05:28 Connected: yes
[CHG] Device D0:27:96:F1:05:28 Connected: no

I’m a little bit lost at this point - tried to search the forums but haven’t found any solutions that fits…

Lakka’s bluetooth list shows “PC263 Controller” now.

I removed the device again

[bluetooth]# remove D0:27:96:F1:05:28

The “PC263 Controller” disappears in Lakka bluetooth list. So I executed the pairing again but no change gamepad still disconnecting immediately after connect.

It seems I’m outta luck so far… any suggestions how to further debug this? Or maybe a missing drivers for this particular controller?

Here’s the result from

[bluetooth]# show

Controller DC:A6:32:D6:FB:4A (public)
    Name: Lakka
    Alias: Lakka
    Class: 0x00000000
    Powered: yes
    Discoverable: no
    DiscoverableTimeout: 0x000000b4
    Pairable: yes
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0538
    Discovering: no
    Roles: central
    Roles: peripheral
Advertising Features:
    ActiveInstances: 0x00 (0)
    SupportedInstances: 0x05 (5)
    SupportedIncludes: tx-power
    SupportedIncludes: appearance
    SupportedIncludes: local-name

that’s all I have to offer right now :neutral_face:

cheers

Dan