Xbox Series X|S controller doesn't work and Xbox icon still blinks after pairing

Bug #1904638 reported by Marcos Alano
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Won't Fix
Undecided
Unassigned
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I have Xbox Series X|S controller and the Xbox icon still blinks after the successful pairing.

I'm using Ubuntu 20.10 updated with BlueZ latest release. I'm following this bug closely and I can provide any information you need and do any tests you want.

mhalano@glados:~$ lsb_release -rd
Description: Ubuntu 20.10
Release: 20.10

mhalano@glados:~$ apt policy bluez
bluez:
  Installed: 5.55-0ubuntu1.1
  Candidate: 5.55-0ubuntu1.1
  Version table:
 *** 5.55-0ubuntu1.1 500
        500 http://br.archive.ubuntu.com/ubuntu groovy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     5.55-0ubuntu1 500
        500 http://br.archive.ubuntu.com/ubuntu groovy/main amd64 Packages
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.2
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-10-23 (25 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Dell Inc. Inspiron 5590
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-30-generic root=UUID=1e3484bb-be3c-4f5d-be22-044d9df06a4a ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.8.0-30.32-generic 5.8.17
Tags: groovy package-from-proposed
Uname: Linux 5.8.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/13/2020
dmi.bios.release: 1.11
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.11.0
dmi.board.name: 0XRXN9
dmi.board.vendor: Dell Inc.
dmi.board.version: A04
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.11.0:bd08/13/2020:br1.11:svnDellInc.:pnInspiron5590:pvr:rvnDellInc.:rn0XRXN9:rvrA04:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5590
dmi.product.sku: 0957
dmi.sys.vendor: Dell Inc.
hciconfig:
 hci0: Type: Primary Bus: USB
  BD Address: 14:F6:D8:6A:A3:F0 ACL MTU: 1021:4 SCO MTU: 96:6
  UP RUNNING PSCAN ISCAN
  RX bytes:5307486 acl:57516 sco:0 events:78636 errors:0
  TX bytes:18701 acl:357 sco:0 commands:841 errors:0
mtime.conffile..etc.bluetooth.main.conf: 2020-11-04T10:53:00.842656

Revision history for this message
Marcos Alano (mhalano) wrote :

[Xbox Wireless Controller 987A14D96815]# info 98:7A:14:D9:68:15
Device 98:7A:14:D9:68:15 (public)
 Name: Xbox Wireless Controller 987A14D96815
 Alias: Xbox Wireless Controller 987A14D96815
 Appearance: 0x03c4
 Icon: input-gaming
 Paired: yes
 Trusted: no
 Blocked: no
 Connected: yes
 WakeAllowed: no
 LegacyPairing: no
 UUID: Vendor specific (00000001-5f60-4c4f-9c83-a7953298d40d)
 UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
 UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
 UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
 UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb)
 UUID: Human Interface Device (00001812-0000-1000-8000-00805f9b34fb)
 Modalias: usb:v045Ep0B13d0505
 ManufacturerData Key: 0x0006
 ManufacturerData Value:
  00 .
 RSSI: -45
 TxPower: 20
 Battery Percentage: 0x32 (50)

Revision history for this message
Marcos Alano (mhalano) wrote :

[bluetooth]# pair 98:7A:14:D9:68:15
Attempting to pair with 98:7A:14:D9:68:15
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[DEL] Primary Service (Handle 0x1cf3)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0008
 00001801-0000-1000-8000-00805f9b34fb
 Generic Attribute Profile
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000a
 00002a29-0000-1000-8000-00805f9b34fb
 Manufacturer Name String
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000c
 00002a50-0000-1000-8000-00805f9b34fb
 PnP ID
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000e
 00002a26-0000-1000-8000-00805f9b34fb
 Firmware Revision String
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char0010
 00002a25-0000-1000-8000-00805f9b34fb
 Serial Number String
[DEL] Primary Service (Handle 0x20c0)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009
 0000180a-0000-1000-8000-00805f9b34fb
 Device Information
[DEL] Descriptor (Handle 0x16e0)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012/char0013/desc0015
 00002902-0000-1000-8000-00805f9b34fb
 Client Characteristic Configuration
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012/char0013
 00002a19-0000-1000-8000-00805f9b34fb
 Battery Level
[DEL] Primary Service (Handle 0xf3c0)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012
 0000180f-0000-1000-8000-00805f9b34fb
 Battery Service
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0025
 00000002-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0027
 00000003-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[DEL] Characteristic (Handle 0xce00)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0029
 00000004-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[DEL] Primary Service (Handle 0x86d0)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024
 00000001-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[DEL] Device 98:7A:14:D9:68:15 Xbox Wireless Controller 987A14D96815

Revision history for this message
Marcos Alano (mhalano) wrote :

I'm able to pair via command line, the problem the manin LED still blinks and the controller doesn't work (using jstest-gtk for test).
[MX Master 3]# pair 98:7A:14:D9:68:15
Attempting to pair with 98:7A:14:D9:68:15
[CHG] Device 98:7A:14:D9:68:15 Connected: yes
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 00000001-5f60-4c4f-9c83-a7953298d40d
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device 98:7A:14:D9:68:15 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device 98:7A:14:D9:68:15 ServicesResolved: yes
[CHG] Device 98:7A:14:D9:68:15 Paired: yes
[NEW] Primary Service (Handle 0xeb71)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0008
 00001801-0000-1000-8000-00805f9b34fb
 Generic Attribute Profile
[NEW] Primary Service (Handle 0xeb71)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009
 0000180a-0000-1000-8000-00805f9b34fb
 Device Information
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000a
 00002a29-0000-1000-8000-00805f9b34fb
 Manufacturer Name String
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000c
 00002a50-0000-1000-8000-00805f9b34fb
 PnP ID
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char000e
 00002a26-0000-1000-8000-00805f9b34fb
 Firmware Revision String
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0009/char0010
 00002a25-0000-1000-8000-00805f9b34fb
 Serial Number String
[NEW] Primary Service (Handle 0xeb71)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012
 0000180f-0000-1000-8000-00805f9b34fb
 Battery Service
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012/char0013
 00002a19-0000-1000-8000-00805f9b34fb
 Battery Level
[NEW] Descriptor (Handle 0x8400)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0012/char0013/desc0015
 00002902-0000-1000-8000-00805f9b34fb
 Client Characteristic Configuration
[NEW] Primary Service (Handle 0xeb71)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024
 00000001-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0025
 00000002-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0027
 00000003-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
[NEW] Characteristic (Handle 0xab5b)
 /org/bluez/hci0/dev_98_7A_14_D9_68_15/service0024/char0029
 00000004-5f60-4c4f-9c83-a7953298d40d
 Vendor specific
Pairing successful
[CHG] Device 98:7A:14:D9:68:15 Modalias: usb:v045Ep0B13d0505
[CHG] Device 98:7A:14:D9:68:15 Name: Xbox Wireless Controller 987A14D96815
[CHG] Device 98:7A:14:D9:68:15 Alias: Xbox Wireless Controller 987A14D96815

tags: added: groovy
summary: - Xbox Series X|S controller doesn't pair
+ Xbox Series X|S controller Xbox icon still blinks after pairing
summary: - Xbox Series X|S controller Xbox icon still blinks after pairing
+ Xbox Series X|S controller doesn't work and Xbox icon still blinks after
+ pairing
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1904638

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also please run:

  lspci > lspci.txt
  lsusb > lsusb.txt
  journalctl -b0 > journal.txt

and attach the resulting text files here.

Changed in bluez (Ubuntu):
status: New → Incomplete
Revision history for this message
Marcos Alano (mhalano) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected package-from-proposed
description: updated
Revision history for this message
Marcos Alano (mhalano) wrote : Dependencies.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : Lspci.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : Lspci-vt.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : Lsusb.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : Lsusb-t.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : Lsusb-v.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : ProcEnviron.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : ProcModules.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : UdevDb.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : acpidump.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : getfacl.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : modified.conffile..etc.bluetooth.main.conf.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : rfkill.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote : syslog.txt

apport information

Revision history for this message
Marcos Alano (mhalano) wrote :
Revision history for this message
Marcos Alano (mhalano) wrote :
Revision history for this message
Marcos Alano (mhalano) wrote :
Changed in bluez (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Marcos Alano (mhalano) wrote :

I noticed a very strange behavior where the controller loops between connected and disconnected. It was a known problem with Xbox One controller and to fix that you needed to disable ERTM, but I already did it (I also have a Xbox One Controller).

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Your kernel log mentions the controller in a few messages:

nov 17 22:08:49 glados kernel: Bluetooth: hci0: unexpected SMP command 0x06 from 98:7a:14:d9:68:15
nov 17 22:08:49 glados kernel: Bluetooth: hci0: unexpected SMP command 0x07 from 98:7a:14:d9:68:15
nov 17 22:08:49 glados kernel: Bluetooth: hci0: unexpected SMP command 0x08 from 98:7a:14:d9:68:15
nov 17 22:08:49 glados kernel: Bluetooth: hci0: unexpected SMP command 0x09 from 98:7a:14:d9:68:15
nov 17 22:08:49 glados kernel: Bluetooth: hci0: unexpected SMP command 0x0a from 98:7a:14:d9:68:15
nov 17 22:08:50 glados bluetoothd[1522]: src/service.c:service_accept() input-hog profile accept failed for 98:7A:14:D9:68:15
...
nov 17 22:09:14 glados gnome-control-c[6028]: Setting up /org/bluez/hci0/dev_98_7A_14_D9_68_15 failed: Timeout was reached
...
nov 17 22:09:22 glados kernel: Bluetooth: hci0: link tx timeout

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try a newer kernel from here:

https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

Revision history for this message
Marcos Alano (mhalano) wrote :

I'm using the 5.10-rc4 and the problem still occurs. Seems (but I'm probably wrong) the controoler is using another MAC address.

Revision history for this message
Matt Reynolds (nondebug) wrote :

I can pair successfully if I enable LE Privacy:

sudo btmgmt power off
sudo btmgmt privacy on
sudo btmgmt power on

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 20.10 (groovy) reached end-of-life on July 22, 2021.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in bluez (Ubuntu):
status: Confirmed → Won't Fix
Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.