You are not logged in.

#1 2016-11-12 17:50:07

jeison
Member
Registered: 2016-07-09
Posts: 9

Can't connect to Xbox One S controller via Bluetooth

I'm experiencing a problem with my Xbox One S controller when I try to connect via Bluetooth. The connection stay switching between ON and OFF, until the controller turns off.

If anyone can help me with a tip, I'd appreciate it.

Log from bluetoothctl

[NEW] Controller 64:5A:04:02:EE:83 jeison [default]
[NEW] Device C8:3F:26:0F:8A:20 Xbox Wireless Controller
[NEW] Device 00:22:37:32:A5:0E Philips SHB9150BK
[NEW] Device 08:EF:3B:10:90:F1 LG MINI(90:F1)
[bluetooth]# agent on
Agent registered
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[Xbox Wireless Controller]# scan on
Discovery started
[CHG] Controller 64:5A:04:02:EE:83 Discovering: yes
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[bluetooth]# exit
Agent unregistered
[DEL] Controller 64:5A:04:02:EE:83 jeison [default]

Screencast:
https://youtu.be/ojfRaeEGt3E

Offline

#2 2016-11-17 22:17:38

Mixu
Member
Registered: 2012-12-03
Posts: 10

Re: Can't connect to Xbox One S controller via Bluetooth

Hi!

I just got the same controller and my problem is I can't pair to it, it asks me for a PIN which I don't know.
And as I have read, it usually doesn't request any PIN.

I found this if it helps you: https://www.reddit.com/r/linux_gaming/c … ontroller/

Seems like an old bluetooth dongle could be the problem ( I have an old adapter ), I just ordered a 4.0 one.

Post something if you manage to get it working!

Offline

#3 2016-11-19 16:31:50

sanakan
Member
Registered: 2016-11-19
Posts: 1

Re: Can't connect to Xbox One S controller via Bluetooth

Hi,

I seem to have the same issue.
I'm using a Raspberry Pi 3 and when trying to connect an Xbox One controller I'm able to pair and trust it but as soon as I try to connect it jumps from connected: yes to connected: no. Additionally it says at first the ServicesResolved is yes and then no.

I've found the following thread Re: Can't connect a Xbox one controller where someone has the same issue under Debian.
One comment suggested to disable ertm (echo 1 > /sys/module/bluetooth/parameters/disable_ertm) which helped the person in that thread but for me it did not.

If I can find anything else I'll let you know.

Offline

#4 2016-11-20 23:47:34

jeison
Member
Registered: 2016-07-09
Posts: 9

Re: Can't connect to Xbox One S controller via Bluetooth

I have a Steam Link and works fine in it, considering that the SO is based at Linux 3.8 kernel (https://github.com/ValveSoftware/steamlink-sdk).

Offline

#5 2016-11-22 11:42:31

Mixu
Member
Registered: 2012-12-03
Posts: 10

Re: Can't connect to Xbox One S controller via Bluetooth

Hey guys!
I just got my new BT adapter, it's this one:

https://www.amazon.com/Plugable-Bluetoo … +bluetooth

I tried to pair it some times but didn't go well, at least this time I didn't need to put any PIN.
After trying to disable ertm as @sanakan commented it all went smooooth and it finally paired! big_smile

I can see events on sdl2-jstest and on jstest-gtk, the bad part is that the xbox button and the 'select' one aren't recognized, I push them and nothing happens. Using Steam if I press the xbox button it doesn't go to Big Picture mode.

Apart from that, a funny thing is that xboxdrv doesn't recognized the game pad when connected with usb, so I keep using xpad when wired.

BTW, sometimes it seems that gets some time to pair it succesfully, using GNOME Bluetooth I had to remove device, turn off bluetooth, and try to pair again.

If I can help you in anything, or comment on any package version, or whatever, just tell me anything.

EDIT: Just trying things... when paired in bluetooth, and then connected to USB, it loses the BT connectiong. So for getting paired it again I had to unplug the USB, turn off bluetooth on my PC, turn it on (in the meantime I was pushing the pair button on the controller and kept pairing for some time until I hit it again during 3 seconds) and then it paired again.
Now the gamepad layout is different, the select button works, but the axis are similar when using it wired with xpad.

EDIT2: oh, and the other day I updated the controller's firmware on Win10.

Last edited by Mixu (2016-11-22 11:55:03)

Offline

#6 2016-11-25 00:41:36

jeison
Member
Registered: 2016-07-09
Posts: 9

Re: Can't connect to Xbox One S controller via Bluetooth

Same here, don't works.

sanakan wrote:

Hi,

I seem to have the same issue.
I'm using a Raspberry Pi 3 and when trying to connect an Xbox One controller I'm able to pair and trust it but as soon as I try to connect it jumps from connected: yes to connected: no. Additionally it says at first the ServicesResolved is yes and then no.

I've found the following thread Re: Can't connect a Xbox one controller where someone has the same issue under Debian.
One comment suggested to disable ertm (echo 1 > /sys/module/bluetooth/parameters/disable_ertm) which helped the person in that thread but for me it did not.

If I can find anything else I'll let you know.

Offline

#7 2016-11-25 01:16:43

jeison
Member
Registered: 2016-07-09
Posts: 9

Re: Can't connect to Xbox One S controller via Bluetooth

The last logs when I tried to connect today:

[root@jeison jeison]# bluetoothctl 
[NEW] Controller 64:5A:04:02:EE:83 jeison [default]
[NEW] Device C8:3F:26:0F:8A:20 Xbox Wireless Controller
[NEW] Device 00:22:37:32:A5:0E Philips SHB9150BK
[NEW] Device 08:EF:3B:10:90:F1 LG MINI(90:F1)
[CHG] Device C8:3F:26:0F:8A:20 RSSI: -57
[CHG] Device C8:3F:26:0F:8A:20 RSSI: -69
[bluetooth]# connect C8:3F:26:0F:8A:20
Attempting to connect to C8:3F:26:0F:8A:20
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[CHG] Device C8:3F:26:0F:8A:20 RSSI: -48
[CHG] Device C8:3F:26:0F:8A:20 RSSI: -58
Failed to connect: org.bluez.Error.Failed
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[CHG] Device C8:3F:26:0F:8A:20 Connected: yes
[CHG] Device C8:3F:26:0F:8A:20 Connected: no
[bluetooth]# 

After that, the controller turns off.

Here is the output form systemctl:

[root@jeison jeison]# systemctl status bluetooth.service
nov 24 22:58:28 jeison bluetoothd[877]: Failed to obtain handles for "Service Changed" characteristic
nov 24 22:58:28 jeison bluetoothd[877]: Sap driver initialization failed.
nov 24 22:58:28 jeison bluetoothd[877]: sap-server: Operation not permitted (1)
nov 24 22:58:29 jeison bluetoothd[877]: Failed to set privacy: Rejected (0x0b)
nov 24 22:59:27 jeison bluetoothd[877]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource
nov 24 22:59:27 jeison bluetoothd[877]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink
nov 24 23:04:00 jeison bluetoothd[877]: Can't get HIDP connection info
nov 24 23:04:04 jeison bluetoothd[877]: connect error: Permission denied (13)
nov 24 23:04:21 jeison bluetoothd[877]: Can't get HIDP connection info
nov 24 23:04:24 jeison bluetoothd[877]: connect error: Permission denied (13)
nov 24 23:06:27 jeison bluetoothd[877]: Can't get HIDP connection info
nov 24 23:06:28 jeison bluetoothd[877]: connect error: Permission denied (13)
nov 24 23:10:39 jeison bluetoothd[877]: Can't get HIDP connection info
nov 24 23:10:44 jeison bluetoothd[877]: connect error: Permission denied (13)

Last edited by jeison (2016-11-25 01:17:07)

Offline

#8 2017-03-28 10:11:39

someguy
Member
Registered: 2014-10-26
Posts: 15

Re: Can't connect to Xbox One S controller via Bluetooth

Same problem here, any news?

Got my Xbox One Controller and it works fine wired but using a bluetooth dongle I can't get it to work. Pairing works fine and it gets detected but I just can't connect to it.

╭─ilja@archnix
╰─$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-03-28 10:12:23 CEST; 1h 58min ago
     Docs: man:bluetoothd(8)
 Main PID: 4147 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─4147 /usr/lib/bluetooth/bluetoothd

Mär 28 11:50:19 archnix bluetoothd[4147]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Mär 28 11:50:19 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Input/output error (5)
Mär 28 11:50:50 archnix bluetoothd[4147]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Mär 28 11:50:50 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Input/output error (5)
Mär 28 11:51:09 archnix bluetoothd[4147]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Mär 28 11:51:09 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Input/output error (5)
Mär 28 11:53:07 archnix bluetoothd[4147]: sdp_service_search_attr_async: Error sending data:Transport endpoint is not connected
Mär 28 11:53:07 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Input/output error (5)
Mär 28 11:56:40 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Host is down (112)
Mär 28 11:57:34 archnix bluetoothd[4147]: C8:3F:26:A3:EA:61: error updating services: Host is down (112)
╭─ilja@archnix  
╰─$ bluetoothctl                      
[NEW] Controller 00:1A:7D:DA:71:13 archnix [default]
[NEW] Device C8:3F:26:A3:EA:61 Xbox Wireless Controller
[NEW] Device 34:68:95:4C:62:26 KDL-50W756C
[bluetooth]# connect C8:3F:26:A3:EA:61 
Attempting to connect to C8:3F:26:A3:EA:61
Failed to connect: org.bluez.Error.Failed

Last edited by someguy (2017-03-28 10:12:21)

Offline

#9 2017-06-06 00:26:26

jeison
Member
Registered: 2016-07-09
Posts: 9

Re: Can't connect to Xbox One S controller via Bluetooth

jeison wrote:

Same here, don't works.

sanakan wrote:

Hi,

I seem to have the same issue.
I'm using a Raspberry Pi 3 and when trying to connect an Xbox One controller I'm able to pair and trust it but as soon as I try to connect it jumps from connected: yes to connected: no. Additionally it says at first the ServicesResolved is yes and then no.

I've found the following thread Re: Can't connect a Xbox one controller where someone has the same issue under Debian.
One comment suggested to disable ertm (echo 1 > /sys/module/bluetooth/parameters/disable_ertm) which helped the person in that thread but for me it did not.

If I can find anything else I'll let you know.

Actually, it works big_smile.

I think that in my previous test I don't removed the already pared device, to pair again after desable ertm (thing that I did this time).

So, appears that you have to remove any Xbox One S Controller configured, disable ertm and pair again. Must works.

This will fix the problem only in your current session. To persist the fix, I included the command (echo 1 > /sys/module/bluetooth/parameters/disable_ertm) in my rc.local.

I hope that helps you guys.

Offline

#10 2017-07-27 05:06:04

D4RK0V3RL0RD676
Member
Registered: 2017-07-27
Posts: 1

Re: Can't connect to Xbox One S controller via Bluetooth

If you want a better solution to disable bluetooth ertm, then edit /etc/default/grub and add the kernel flag 'bluetooth.disable_ertm=1' to the GRUB_CMDLINE_LINUX line. Then run 'sudo grub-mkconfig -o /boot/grub/grub.cfg' and reboot.

Offline

Board footer

Powered by FluxBB