Xbox One S Bluetooth controller

Hello i am new here but i am using osmc since the start of it. Befor i was using raspbmc. Can someone please tell me how to connect XBOX One S controller via bluetooth. Controller is visible but i cannot connect via OSCM with or without pin it is not working. Everytime i get error that pairing failed.

What can i do, i was searching web an this forum and i didnt find anything that worked for me.

Please help :smiley:

Try using bluetoothctl from command line normally works more reliable

Try putting this in /etc/rc.local

echo 1 > /sys/module/bluetooth/parameters/disable_ertm

reboot and try to pair, first via MyOSMC and if that fails try via bluetoothctl

1 Like

I have tried everything. I have also found this tutorial which i went and tried and nothing worked. Tutorial is here: xpadneo | Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)

I get this:

login as: osmc
osmc@192.168.1.40’s password:
Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Apr 26 09:15:13 2019 from 192.168.1.6
osmc@osmc:~$ sudo bluetoothctl
[NEW] Controller B8:27:EB:DF:37:5C osmc [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:DF:37:5C Discovering: yes
[NEW] Device 1C:5A:3E:70:44:60 TVBluetooth
[NEW] Device 5C:BA:37:28:C5:E4 Xbox Wireless Controller
[CHG] Device 5C:BA:37:28:C5:E4 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[bluetooth]#
[bluetooth]# pair 5C:BA:37:28:C5:E4
Attempting to pair with 5C:BA:37:28:C5:E4
[CHG] Device 5C:BA:37:28:C5:E4 Connected: yes
[CHG] Device 5C:BA:37:28:C5:E4 ServicesResolved: yes
[CHG] Device 5C:BA:37:28:C5:E4 Paired: yes
Pairing successful
[CHG] Device 5C:BA:37:28:C5:E4 ServicesResolved: no
[CHG] Device 5C:BA:37:28:C5:E4 Connected: no
[bluetooth]# trust 5C:BA:37:28:C5:E4
[CHG] Device 5C:BA:37:28:C5:E4 Trusted: yes
Changing 5C:BA:37:28:C5:E4 trust succeeded
[bluetooth]# connect 5C:BA:37:28:C5:E4
Attempting to connect to 5C:BA:37:28:C5:E4
[CHG] Device 5C:BA:37:28:C5:E4 Connected: yes
[CHG] Device 5C:BA:37:28:C5:E4 ServicesResolved: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device 5C:BA:37:28:C5:E4 ServicesResolved: no
[CHG] Device 5C:BA:37:28:C5:E4 Connected: no
[CHG] Device 5C:BA:37:28:C5:E4 RSSI: -74
[bluetooth]# connect 5C:BA:37:28:C5:E4
Attempting to connect to 5C:BA:37:28:C5:E4
Failed to connect: org.bluez.Error.Failed
[bluetooth]#

I dont know what is wrong. Controller is paired but it wont connect.

Did you disabled ertm?

I did this in etc/rc.local

I hope i did it ok ?

Well you can verify with cat /sys/module/bluetooth/parameters/disable_ertm

I get this:

I am completly new to the linux and using command :smiley:

Ok seems not to have worked (I assume you had rebooted already)? For testing let’s do it outside of rc.local
sudo bash
echo 1 > /sys/module/bluetooth/parameters/disable_ertm

After that try to connect with bluetoothctl without restart.

Sorry it doesent work. I have tried everything you said couple of times but i have no clue what is going on.

Now i have tried again and it works. I dont know what i have done different but it works.

I hope it will be connection from now on ok. Now i am affraid to disconnect :smiley:

Thank you. Everything works now ok. I hope it will be working when i connect again :smiley: