[SOLVED] How do I troubleshoot why my xbox one gamepad isn't working?

Hello everyone!

I have installed linux, respective garuda, for the first time and am trying to get my system up and running. So far everything worked great out of the box. One point I am struggling with, is my xbox one wireless gamepad.

I have installed both xone-dkms and xone-dongle-firmware; however, I installed xone-dkms in version 0.3-3 from aur because version 0.3-3.1 from chaotic-aur gave an error about a invalid signature. The error goes as follows:

Retrieving packages...
xone-dkms-0.3-3.1-x86_64               57,1 KiB   154 KiB/s 00:00 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
error: xone-dkms: signature from "Pedro Henrique Lara Campos <root@pedrohlc.com>" is invalid
:: File /var/cache/pacman/pkg/xone-dkms-0.3-3.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

So I now have the older xone-dkms and the xone-dongle-firmware installed, while my system shows a partial update that goes away if I remove xone-dkms.

Now to the problem itself: When I connect the dongle and turn the gamepad to pairing mode, it doesn't find a connection. When I connect by cable, the gamepad acknowledges the cable by vibrating but flashes still because it doesn't connect to the pc. Both the dongle and the gamepad do show up in the "usb devices" menu as "XBOX ACC" and "controller".

How do I find out what the problem is here? As you might guess, I'm not that experienced in troubleshooting linux, so I can't figure out what the next step would be.

Here's my garuda-inxi. I have connected the dongle and the gamepad, the latter via cable, so you can see both there.

System:
Kernel: 6.3.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d0ca4102-9a5e-4b81-b8ff-ce139e692628 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7A38 v: 1.0
serial: <superuser required>
Mobo: Micro-Star model: B350M BAZOOKA (MS-7A38) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 1.N3
date: 07/20/2022
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Touch KWireless Ke
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 5 1500X bits: 64 type: MT MCP arch: Zen level: v3
note: check built: 2017-19 process: GF 14nm family: 0x17 (23) model-id: 1
stepping: 1 microcode: 0x8001138
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB
L3: 16 MiB desc: 2x8 MiB
Speed (MHz): avg: 3443 high: 3500 min/max: 1550/3500 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3050 2: 3500
3: 3500 4: 3500 5: 3500 6: 3500 7: 3500 8: 3500 bogomips: 55995
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 2b:00.0
chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
s-diag: 1165mm (45.88")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Denon DENON-AVR
serial: <filter> built: 2019 res: 3840x2160 hz: 60 dpi: 52 gamma: 1.2
size: 1872x1053mm (73.7x41.46") diag: 1473mm (58") ratio: 3:2 modes:
max: 3840x2160 min: 720x400
API: OpenGL v: 4.6 Mesa 23.1.0 renderer: AMD Radeon RX 6700 XT (navi22
LLVM 15.0.7 DRM 3.52 6.3.4-zen1-1-zen) direct-render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2b:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 2d:00.3 chip-ID: 1022:1457 class-ID: 0403
API: ALSA v: k6.3.4-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Microsoft Xbox Wireless Adapter for Windows driver: N/A
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:5
chip-ID: 045e:02fe class-ID: 0000 serial: <filter>
Drives:
Local Storage: total: 2.96 TiB used: 9.42 GiB (0.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: WDS250G3X0C-00SJG0 size: 232.89 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 102000WD temp: 39.9 C scheme: MBR
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10EZEX-22MFCA0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD10EZEX-08WN4A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A02 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 870 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 2B6Q scheme: MBR
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 9.42 GiB (1.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 9.42 GiB (1.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 9.42 GiB (1.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 9.42 GiB (1.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 23.39 GiB used: 512 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 37.8 C mobo: N/A gpu: amdgpu temp: 38.0 C
mem: 36.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
Processes: 269 Uptime: 16m wakeups: 3 Memory: available: 23.39 GiB
used: 3.42 GiB (14.6%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1199
libs: 338 tools: octopi,paru Shell: fish v: 3.6.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.27
Garuda (2.6.16-1):
System install date:     2023-05-21
Last full system update: 2023-05-27
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

Well, I solved the issue in the meantime, so for anyone interested:

I went to the xone page on github where the dev specified how to install the package on your own. Also he specified two packages that are necessary for this that may not have been on my system yet. After I did his installation walkthrough it worked. No idea though why the install process with yay did not work.

Link to github page: GitHub - medusalix/xone: Linux kernel driver for Xbox One and Xbox Series X|S accessories

2 Likes

I mark it solved :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.