Page 1 of 1

Xbox One S Controller bluetooth connection

Posted: Sat May 12, 2018 3:21 am
by BilbroBaggins
I've followed every guide I've found and I've hit an error I haven't seen anywhere.

In bluetoothctl, I enter the command:

Code: Select all

connect ##:##:##:##:##:##
and I get back:

Code: Select all

[CHG] Device ##:##:##:##:##:## Connected: yes
[CHG] Device ##:##:##:##:##:## ServicesResolved: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device ##:##:##:##:##:## ServicesResolved: no
[CHG] Device ##:##:##:##:##:## Connected: no
And it puts me back where I started. If I try to connect using the bluetooth menu on the panel I get org.bluez.Error.Failed Input/Output Error

I have the controller firmware updated and the latest versions of xpad and xboxdvr installed. I'm running Raspbian on a Pi Zero W. The controller model is 1708.

Does anyone know what's going on?

Re: Xbox One S Controller bluetooth connection

Posted: Sun Jun 24, 2018 3:39 pm
by doctorwade
I am having the exact same issue. I have tried all the "how-to" videos that don't work. I have updated my controller via windows 10. The controller will pair but not connect. Maybe something is broken in this latest realase of raspberry pi.

Re: Xbox One S Controller bluetooth connection

Posted: Wed Jan 23, 2019 1:23 am
by tanghan6
I had same error. After I did a

Code: Select all

pairable on
and it got paired and the error message is gone. However, it keeps on and off just does't stay connected now
{2E67E6AA-E047-4CE6-801B-9A5DBDD5AC0A}.png.jpg
{2E67E6AA-E047-4CE6-801B-9A5DBDD5AC0A}.png.jpg (105.71 KiB) Viewed 2164 times

Re: Xbox One S Controller bluetooth connection

Posted: Sun Feb 24, 2019 11:00 pm
by kevinval1
I got my controller working wirelessly. I installed xpadneo:
https://atar-axis.github.io/xpadneo/

then followed these instructions:
https://pimylifeup.com/xbox-controllers-raspberry-pi/

good luck

Re: Xbox One S Controller bluetooth connection

Posted: Sat Jan 25, 2020 5:12 am
by dnlzzxz
the problem is 100% this:

This command disables the Enhanced Re-Transmission Mode (ERTM) of the Bluetooth module, with it, enabled the Xbox Controller won’t pair correctly.

echo 'options bluetooth disable_ertm=Y' | sudo tee -a /etc/modprobe.d/bluetooth.conf

(from: https://pimylifeup.com/xbox-controllers-raspberry-pi/)

on lakka i did this to deactivate it:

First add the following line to your autostart.sh file located in /storage/.config/autostart.sh

Code: Select all

nano /storage/.config/autostart.sh
then add the line:

Code: Select all

bash -c ‘echo 1 > /sys/module/bluetooth/parameters/disable_ertm’
then change the executable permission:

Code: Select all

chmod +x /storage/.config/autostart.sh
then finally execute it:

Code: Select all

/storage/.config/autostart.sh
now, try pairng again, should work on lakka... for raspian i think the more advanced users could provide a equivalent guide.

UPDATE

Well, thanks to some readings on internet i got it to work on raspian, here's how if anyone's interested:

Create a new file using nano...

sudo nano /etc/modprobe.d/bluetooth.conf

Add a single line to the new file...

options bluetooth disable_ertm=Y

Exit nano, saving the file in the process.

Profit.