Merged! Thanks for help guys!
Posts by roxton
-
-
-
Thanks guys! Yeah, looks like an almost complete picture.
-
Apologies, please treat "OS" as "kernel" in the above post
-
Thanks, will do.
I intend to add information to installation/docker.md but for that I'll need some historical context
Is it correct that on Raspberry Pi LibreELEC 9 was the last 32-bit Linux and since version 10 the OS is aarch64 with 32-bit userspace, as HiassofT described?
Also is the difference between the OS and userspace true for the Generic x86_64 distribution?
-
LibreELEC 11 has aarch64 kernel but arm (32bit) userspace
Could someone mention this in LibreELEC's wiki?
-
Not really related to Xbox wireless adapter but if you connect your controllers using Bluetooth, you can make them work like this:
- Update your controller's firmware using Xbox Accessories app on Windows 10/11
- Disable ERTM on your LibreELEC device, lets the controller be paired and connected (1 command, pastable):
echo 'options bluetooth disable_ertm=1' > /storage/.config/modprobe.d/bluetooth-disable-ertm.conf - Ignore libinput, makes the controller's buttons work (2 commands, pastable):
echo 'SUBSYSTEM=="input", ATTRS{name}=="Xbox Wireless Controller", KERNEL=="event*", MODE="0666", ENV{LIBINPUT_IGNORE_DEVICE}="1"' > /storage/.config/udev.rules.d/99-gamepad.rules
echo 'SUBSYSTEM=="input", ATTRS{name}=="Xbox Wireless Controller", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"' >> /storage/.config/udev.rules.d/99-gamepad.rules - Reboot and pair your controller
- Navigate to Settings > System > Input and do Configure attached controllers
The key is updating your controller's firmware.
I haven't updated my XBOX One controller's firmware for several years and on LibreELEC I always had two non-functional buttons: Back and Guide (XBOX button). Then I recently bought a newer XBOX Series X/S controller and it was refusing to connect to my RPi4 with LibreELEC 11.0.1 until I updated its firmware - then it connected and surprised me with letting me map its Back and Guide buttons, which in turn got me thinking that I could try looking for a new firmware for my older controller. The app had found new firmware for it, the controller had been updated and it turned out its Back and Guide buttons also work! Nice!
-
TL;DR: update your XBOX wireless controller's firmware
On LibreELEC 11.0.1, both these things are still needed to connect your XBOX wireless controller via Bluetooth and use it:
- Disable ERTM, lets the controller be paired and connected (1 command, pastable):
echo 'options bluetooth disable_ertm=1' > /storage/.config/modprobe.d/bluetooth-disable-ertm.conf - Ignore libinput, makes the controller's buttons work (2 commands, pastable):
echo 'SUBSYSTEM=="input", ATTRS{name}=="Xbox Wireless Controller", KERNEL=="event*", MODE="0666", ENV{LIBINPUT_IGNORE_DEVICE}="1"' > /storage/.config/udev.rules.d/99-gamepad.rules
echo 'SUBSYSTEM=="input", ATTRS{name}=="Xbox Wireless Controller", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"' >> /storage/.config/udev.rules.d/99-gamepad.rules
After running the above, you would reboot and try pairing your controller. Potentially you would fail to do so with a newer XBOX Series X/S controller or succeed with an older XBOX One controller.
If pairing worked, you would usually navigate to LibreELEC's Settings > System > Input and do Configure attached controllers. During configuration you probably would not be able to map the Back and Guide buttons.
The thing that has changed for me (why I'm posting this) is that all the buttons including Back and Guide (XBOX) started working on both my controllers - the older XBOX One controller and the newer XBOX Series S/X - after I updated their firmware via the Xbox Accessories app on my Windows 11 machine (for this, controllers should be connected with a USB-cable or using XBOX Wireless Adapter). So all buttons are now functional, yay!
- Disable ERTM, lets the controller be paired and connected (1 command, pastable):