From cd0a3bfda5f8f2c7a1b8b38ceeca4b3c6a2a8500 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 11 Nov 2026 19:16:27 -0500 Subject: [PATCH] games-util/xpadneo: add BT_LE and UHID to CONFIG_CHECK Not exhaustive for everything that is or may be needed (e.g. not bothering to check for basic bluetooth+input support) but I recently replaced my original Xbox One controller due to its buttons going bad after years of abuse and got a recent X|S one instead. Thought it was going to be simple but... 1) had BT_LE (bluetooth low energy) disabled given I never needed it, but these newer ones can only work with it 2) after enabling, still failed to connect with Authentification errors, turned out had to update the controller's firmware for this to work (which needs either Windows or a Xbox One X|S, I used a old Windows 10 VM with USB passthrough I had laying around) 3) finally connected, but nothing happened.. reading xpadneo's documentation, I found out that when using LE also need UHID for bluez to register the controller which I also had disabled 4) in documentation, also read that this specific setup is affected by input delays because the controller does not report the right settings it needs over bluetooth, this can be corrected by manually setting up bluez (unsure if I needed it but thought may as well) ...and now it works perfectly. Figured it wouldn't hurt to have the ebuild at least mention 1+3 given many users are likely to be using X|S at this point. For 2+4, I'll leave this to xpadneo's docs, can't realistically cover everything. For 2, hopefully future controllers will ship with updated firmwares so may not be a concern forever. For 4, maybe(?) workarounds will be added to bluez eventually. Messages may possibly be annoying for non-LE users though, but they can be safely ignored. Signed-off-by: Ionen Wolkens --- games-util/xpadneo/xpadneo-0.10.5.ebuild | 9 ++++++++- games-util/xpadneo/xpadneo-9999.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/games-util/xpadneo/xpadneo-0.10.5.ebuild b/games-util/xpadneo/xpadneo-0.10.5.ebuild index b918a45323294..bf06e19cc27c9 100644 --- a/games-util/xpadneo/xpadneo-0.10.5.ebuild +++ b/games-util/xpadneo/xpadneo-0.10.5.ebuild @@ -20,7 +20,14 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/" LICENSE="GPL-2 GPL-3+" SLOT="0" -CONFIG_CHECK="INPUT_FF_MEMLESS" +CONFIG_CHECK=" + INPUT_FF_MEMLESS + ~BT_LE + ~UHID +" +ERROR_BT_LE="CONFIG_BT_LE: is not set, not needed for the original Xbox One + controller but note that newer ones are likely to require it" +ERROR_UHID="CONFIG_UHID:${ERROR_BT_LE#*:}" src_compile() { local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src ) diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild index 864bd142f9815..dff5293582524 100644 --- a/games-util/xpadneo/xpadneo-9999.ebuild +++ b/games-util/xpadneo/xpadneo-9999.ebuild @@ -20,6 +20,14 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/" LICENSE="GPL-2 GPL-3+" SLOT="0" +CONFIG_CHECK=" + ~BT_LE + ~UHID +" +ERROR_BT_LE="CONFIG_BT_LE: is not set, not needed for the original Xbox One + controller but note that newer ones are likely to require it" +ERROR_UHID="CONFIG_UHID:${ERROR_BT_LE#*:}" + src_compile() { local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src ) local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )