summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-02-13 01:06:08 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-02-13 01:07:36 -0500
commit657d03d60c06428c80d22dd9d0f0e79848c85343 (patch)
tree64c7b5820eedc2f67830af45bff30343558bff62 /games-util
parentdev-python/fonttools: Stabilize 4.47.2 ppc, #923205 (diff)
downloadgentoo-657d03d60c06428c80d22dd9d0f0e79848c85343.tar.gz
gentoo-657d03d60c06428c80d22dd9d0f0e79848c85343.tar.bz2
gentoo-657d03d60c06428c80d22dd9d0f0e79848c85343.zip
games-util/xpadneo: remove ertm warning
Kernel 5.12 is rather far away now, and defaults should work fine. Otherwise can refer to xpadneo's documentation itself for troubleshooting. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/xpadneo/xpadneo-9999.ebuild21
1 files changed, 1 insertions, 20 deletions
diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index c1de2e3d642d..d57edd3bce17 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,25 +43,6 @@ pkg_postinst() {
linux-mod-r1_pkg_postinst
udev_reload
- local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm
- if kernel_is -ge 5 12; then
- if [[ $(<${disable_ertm}) == Y ]]; then
- elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled."
- elog "This is no longer recommended with kernel >=5.12 to use ${PN}."
- elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:"
- elog " echo N > ${disable_ertm}"
- elog "After changing, may need to re-pair the gamepad with bluetooth."
- fi
- elif [[ $(<${disable_ertm}) == N ]]; then
- elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled."
- elog "While keeping enabled is recommended for rumble usage stability, it can"
- elog "cause connection issues without a fix included in kernel >=5.12"
- elog "If needed, this mode can be disabled by running:"
- elog " echo Y > ${disable_ertm}"
- elog " echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf"
- elog "After changing, may need to re-pair the gamepad with bluetooth."
- fi
-
if [[ ! ${REPLACING_VERSIONS} ]]; then
elog "To pair the gamepad and view module options, see documentation in:"
elog " ${EROOT}/usr/share/doc/${PF}/"