mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
feat: Automatically disable bluetooth ertm to improve reliability of controller connections
This commit is contained in:
parent
797c404f88
commit
c313765470
@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||
|
||||
# SCRIPT VERSION
|
||||
HWS_VER=42
|
||||
HWS_VER=43
|
||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
||||
|
||||
@ -113,6 +113,11 @@ if /usr/libexec/hwsupport/simpledeckytdp-supported-hardware; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "disable_ertm" ]]; then
|
||||
echo "Adding needed kargs for bluetooth"
|
||||
NEEDED_KARGS+=("--append-if-missing=bluetooth.disable_ertm=1")
|
||||
fi
|
||||
|
||||
if [[ $KARGS =~ "nomodeset" ]]; then
|
||||
echo "Removing nomodeset"
|
||||
NEEDED_KARGS+=("--delete-if-present=nomodeset")
|
||||
|
Loading…
x
Reference in New Issue
Block a user