i am using LibreElec on an old NUC which needs certain parameters adjustment to function properly so in LibreElec i made a file .config/modprobe.d/my.conf with following kernel module parameters
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (community): devel-20250811055823-f6aa2f4 (Generic.x86_64)
LibreELEC:~ # cat .config/modprobe.d/my.conf
options iwlwifi power_save=0
options iwlwifi bt_coex_active=1
options iwlmvm power_scheme=1
options btusb enable_autosuspend=0
options btusb reset=1
options btusb force_scofix=1
options usbcore autosuspend=-1
Display More
when i make changes there i have to manually run following commands after reboot to see if the changes have been applied successfully
LibreELEC:~ # cat /sys/module/btusb/parameters/
disable_scofix enable_autosuspend force_scofix reset
LibreELEC:~ # cat /sys/module/btusb/parameters/force_scofix
N
LibreELEC:~ # cat /sys/module/btusb/parameters/enable_autosuspend
N
LibreELEC:~ # cat /sys/module/btusb/parameters/reset
Y
on my ArchLinux system i just run the following one line command see this all
[root@XPS ~]$ systool -v -m btusb
Module = "btusb"
Attributes:
coresize = "81920"
initsize = "0"
initstate = "live"
refcnt = "0"
srcversion = "5E3AD314440595408C3963D"
taint = ""
uevent = <store method only>
version = "0.8"
Parameters:
disable_scofix = "N"
enable_autosuspend = "N"
force_scofix = "Y"
reset = "Y"
Sections:
Display More