No input with xpadneo since systemd 258

Hi, I need some advice to solve an issue I’ve been dealing with for over a month now, and I still haven’t found a definitive solution.

The Problem

I use an Xbox Elite Wireless Controller Series 2 together with the xpadneo kernel module on NixOS. This setup worked perfectly fine for a long time. However, since the systemd 258.x update, controller input no longer works.

The controller connects successfully, but the input events never reach the corresponding applications (KDE Settings/SDL2, Steam).

My Attempts So Far

The issue seems to be related to changes in udev rules. There was even an open PR in the xpadneo GitHub repository addressing this problem.

I added the suggested udev rules to my configuration.nix, and this actually works for the first connection after a fresh boot. However, any subsequent attempt to reconnect the controller results in a non-functional state. In this state, KDE Settings always shows devices under /dev/hidraw* instead of /dev/input/event*.

Source: xpadneo/hid-xpadneo/etc-udev-rules.d at master · atar-axis/xpadneo · GitHub

services.udev.packages = [
    (pkgs.writeTextFile {
        name = "60-xpadneo";
        text = ''
            ACTION=="bind", SUBSYSTEM=="hid", DRIVER!="xpadneo", KERNEL=="0005:045E:*", KERNEL=="*:02FD.*|*:02E0.*|*:0B05.*|*:0B13.*|*:0B20.*|*:0B22.*", ATTR{driver/unbind}="%k", ATTR{[drivers/hid:xpadneo]bind}="%k"
            ACTION!="remove", DRIVERS=="xpadneo", SUBSYSTEM=="input", TAG+="uaccess"
        '';
        destination = "/etc/udev/rules.d/60-xpadneo.rules";
    })
    (pkgs.writeTextFile {
        name = "70-xpadneo-disable-hidraw";
        text = ''
            ACTION!="remove", DRIVERS=="xpadneo", SUBSYSTEM=="hidraw", MODE:="0000", TAG-="uaccess"
        '';
        destination = "/etc/udev/rules.d/70-xpadneo-disable-hidraw.rules";
    })
];

Additionally, the xpadneo package itself does not seem to install any udev rules, or at least I couldn’t find any.

Here are some additional debug outputs (udevadm monitor --environment --udev):

Working (25.11/unstable, systemd 258)
UDEV  [42.111528] add      /devices/virtual/misc/uhid (misc)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid
SUBSYSTEM=misc
DEVNAME=/dev/uhid
SEQNUM=3787
USEC_INITIALIZED=42110180
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
MAJOR=10
MINOR=239

UDEV  [42.111626] add      /module/uhid (module)
ACTION=add
DEVPATH=/module/uhid
SUBSYSTEM=module
SEQNUM=3788
USEC_INITIALIZED=42110233
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [42.113487] add      /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3786
USEC_INITIALIZED=42080457
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:

UDEV  [43.201944] add      /devices/virtual/misc/uhid/0005:045E:0B22.000B (hid)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B
SUBSYSTEM=hid
HID_ID=0005:0000045E:0000028E
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep0000028E
SEQNUM=3789
DRIVER=xpadneo
USEC_INITIALIZED=43200459
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [43.203539] add      /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=1b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsfw
SEQNUM=3790
USEC_INITIALIZED=43200649
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [43.205979] add      /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/js0 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3792
USEC_INITIALIZED=43200853
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [43.208005] add      /devices/virtual/misc/uhid/0005:045E:0B22.000B/hidraw/hidraw10 (hidraw)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/hidraw/hidraw10
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw10
SEQNUM=3793
USEC_INITIALIZED=43200942
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
MAJOR=245
MINOR=10
TAGS=:uaccess:seat:
CURRENT_TAGS=:seat:

UDEV  [43.211430] add      /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/event18 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/event18
SUBSYSTEM=input
DEVNAME=/dev/input/event18
SEQNUM=3791
USEC_INITIALIZED=43200761
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=82
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [44.192358] bind     /devices/virtual/misc/uhid/0005:045E:0B22.000B (hid)
ACTION=bind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B
SUBSYSTEM=hid
DRIVER=xpadneo
HID_ID=0005:0000045E:0000028E
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep0000028E
SEQNUM=3794
USEC_INITIALIZED=43200459
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [73.541344] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/event18 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/event18
SUBSYSTEM=input
DEVNAME=/dev/input/event18
SEQNUM=3795
USEC_INITIALIZED=43200761
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=82
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [73.541669] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/js0 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3796
USEC_INITIALIZED=43200853
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [73.542427] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000B/hidraw/hidraw10 (hidraw)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/hidraw/hidraw10
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw10
SEQNUM=3799
USEC_INITIALIZED=43200942
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
MAJOR=245
MINOR=10
TAGS=:uaccess:seat:
CURRENT_TAGS=:seat:

UDEV  [73.542685] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B/input/input30
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=20001b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
FF=107030000 0
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,15,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsf50,51,58,59,5A,60,w
SEQNUM=3798
USEC_INITIALIZED=43200649
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [73.543372] unbind   /devices/virtual/misc/uhid/0005:045E:0B22.000B (hid)
ACTION=unbind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
SEQNUM=3800
USEC_INITIALIZED=43200459
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [73.543819] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000B (hid)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000B
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep00000B22
SEQNUM=3801
USEC_INITIALIZED=43200459
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [73.544825] remove   /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3797
USEC_INITIALIZED=42080457
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:
```
Not working after reconnect (25.11/unstable, systemd 258)
UDEV  [211.543684] add      /devices/virtual/misc/uhid/0005:045E:0B22.000C (hid)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C
SUBSYSTEM=hid
HID_ID=0005:0000045E:0000028E
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep0000028E
SEQNUM=3803
DRIVER=xpadneo
USEC_INITIALIZED=211542040
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [211.545453] add      /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3802
USEC_INITIALIZED=211506316
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:

UDEV  [211.545627] add      /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=1b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsfw
SEQNUM=3804
USEC_INITIALIZED=211542131
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [211.548924] add      /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/js0 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3806
USEC_INITIALIZED=211542283
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [211.550563] add      /devices/virtual/misc/uhid/0005:045E:0B22.000C/hidraw/hidraw10 (hidraw)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/hidraw/hidraw10
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw10
SEQNUM=3807
USEC_INITIALIZED=211542353
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
MAJOR=245
MINOR=10
TAGS=:uaccess:seat:
CURRENT_TAGS=:seat:

UDEV  [211.570795] add      /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/event18 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/event18
SUBSYSTEM=input
DEVNAME=/dev/input/event18
SEQNUM=3805
USEC_INITIALIZED=211542208
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=82
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [212.519949] bind     /devices/virtual/misc/uhid/0005:045E:0B22.000C (hid)
ACTION=bind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C
SUBSYSTEM=hid
DRIVER=xpadneo
HID_ID=0005:0000045E:0000028E
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep0000028E
SEQNUM=3808
USEC_INITIALIZED=211542040
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [238.109603] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/event18 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/event18
SUBSYSTEM=input
DEVNAME=/dev/input/event18
SEQNUM=3809
USEC_INITIALIZED=211542208
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=82
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [238.110237] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/js0 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3810
USEC_INITIALIZED=211542283
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [238.110718] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000C/hidraw/hidraw10 (hidraw)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/hidraw/hidraw10
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw10
SEQNUM=3813
USEC_INITIALIZED=211542353
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
MAJOR=245
MINOR=10
TAGS=:uaccess:seat:
CURRENT_TAGS=:seat:

UDEV  [238.111148] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C/input/input31
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=20001b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
FF=107030000 0
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,15,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsf50,51,58,59,5A,60,w
SEQNUM=3812
USEC_INITIALIZED=211542131
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [238.111911] unbind   /devices/virtual/misc/uhid/0005:045E:0B22.000C (hid)
ACTION=unbind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
SEQNUM=3814
USEC_INITIALIZED=211542040
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [238.112450] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000C (hid)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000C
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep00000B22
SEQNUM=3815
USEC_INITIALIZED=211542040
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin

UDEV  [238.112577] remove   /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3811
USEC_INITIALIZED=211506316
PATH=/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/bin:/nix/store/wcqdwcxgismdfl5rp1w4pkr50dyh4g7x-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:
Working after reconnect (25.05, systemd 257)
UDEV  [11114.839082] add      /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3831
USEC_INITIALIZED=11114834523
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:

UDEV  [11114.844499] add      /devices/virtual/misc/uhid/0005:045E:0B22.000D (hid)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep00000B22
SEQNUM=3832
USEC_INITIALIZED=11114843717
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
DRIVER=xpadneo

UDEV  [11114.846257] add      /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=1b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsfw
SEQNUM=3833
USEC_INITIALIZED=11114843954
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:seat:
CURRENT_TAGS=:seat:

UDEV  [11114.847481] add      /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/js0 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3834
USEC_INITIALIZED=11114844560
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [11114.850281] add      /devices/virtual/misc/uhid/0005:045E:0B22.000D/hidraw/hidraw9 (hidraw)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/hidraw/hidraw9
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw9
SEQNUM=3836
USEC_INITIALIZED=11114844633
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
MAJOR=245
MINOR=9
TAGS=:seat:
CURRENT_TAGS=:seat:

UDEV  [11114.874066] add      /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/event19 (input)
ACTION=add
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/event19
SUBSYSTEM=input
DEVNAME=/dev/input/event19
SEQNUM=3835
USEC_INITIALIZED=11114844612
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=83
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [11115.836105] bind     /devices/virtual/misc/uhid/0005:045E:0B22.000D (hid)
ACTION=bind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D
SUBSYSTEM=hid
DRIVER=xpadneo
HID_ID=0005:0000045E:0000028E
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep0000028E
SEQNUM=3837
USEC_INITIALIZED=11114843717
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin

UDEV  [11138.563171] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/js0 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/js0
SUBSYSTEM=input
DEVNAME=/dev/input/js0
SEQNUM=3838
USEC_INITIALIZED=11114844560
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
MAJOR=13
MINOR=0
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [11138.569736] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/event19 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30/event19
SUBSYSTEM=input
DEVNAME=/dev/input/event19
SEQNUM=3839
USEC_INITIALIZED=11114844612
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
ID_INPUT_JOYSTICK_INTEGRATION=external
LIBINPUT_DEVICE_GROUP=5/45e/28e:f8:e4:e3:23:f2:11
MAJOR=13
MINOR=83
TAGS=:uaccess:seat:
CURRENT_TAGS=:uaccess:seat:

UDEV  [11138.575705] remove   /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585 (bluetooth)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/bluetooth/hci0/hci0:3585
SUBSYSTEM=bluetooth
DEVTYPE=link
SEQNUM=3840
USEC_INITIALIZED=11114834523
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:3585
SYSTEMD_WANTS=bluetooth.target
SYSTEMD_USER_WANTS=bluetooth.target
TAGS=:systemd:
CURRENT_TAGS=:systemd:

UDEV  [11138.579624] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30 (input)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/input/input30
SUBSYSTEM=input
PRODUCT=5/45e/28e/1130
NAME="Xbox Wireless Controller"
PHYS="f8:e4:e3:23:f2:11"
UNIQ="f4:6a:d7:4a:e7:c2"
PROP=0
EV=20001b
KEY=f0 0 0 0 0 0 0 7cdb000000000000 0 0 0 0
ABS=1000003003f
MSC=10
FF=107030000 0
MODALIAS=input:b0005v045Ep028Ee1130-e0,1,3,4,15,k130,131,133,134,136,137,13A,13B,13C,13D,13E,2C4,2C5,2C6,2C7,ra0,1,2,3,4,5,10,11,28,m4,lsf50,51,58,59,5A,60,w
SEQNUM=3841
USEC_INITIALIZED=11114843954
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_BUS=bluetooth
TAGS=:seat:
CURRENT_TAGS=:seat:

UDEV  [11138.580535] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000D/hidraw/hidraw9 (hidraw)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D/hidraw/hidraw9
SUBSYSTEM=hidraw
DEVNAME=/dev/hidraw9
SEQNUM=3842
USEC_INITIALIZED=11114844633
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin
MAJOR=245
MINOR=9
TAGS=:seat:
CURRENT_TAGS=:seat:

UDEV  [11138.581162] unbind   /devices/virtual/misc/uhid/0005:045E:0B22.000D (hid)
ACTION=unbind
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
SEQNUM=3843
USEC_INITIALIZED=11114843717
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin

UDEV  [11138.581487] remove   /devices/virtual/misc/uhid/0005:045E:0B22.000D (hid)
ACTION=remove
DEVPATH=/devices/virtual/misc/uhid/0005:045E:0B22.000D
SUBSYSTEM=hid
HID_ID=0005:0000045E:00000B22
HID_NAME=Xbox Wireless Controller
HID_PHYS=f8:e4:e3:23:f2:11
HID_UNIQ=f4:6a:d7:4a:e7:c2
MODALIAS=hid:b0005g0001v0000045Ep00000B22
SEQNUM=3844
USEC_INITIALIZED=11114843717
PATH=/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/bin:/nix/store/sn66k4fx8zg8w5fclwppbw4s6s4wfdbh-udev-path/sbin

Unfortunately, I’m not very familiar with udev rules, so I’m hoping someone can help me resolve this annoyance.
Thanks in advance!