Hi,
currently LibreElec is missing systool to see loaded kernel modules parameters i believe it will come in handy for many people so plz consider adding it.
Thanks
Hi,
currently LibreElec is missing systool to see loaded kernel modules parameters i believe it will come in handy for many people so plz consider adding it.
Thanks
The latest sysfsutils code appears to have been released and last updated in 2006 so whatever it is or does is probably superseded by other tools by now. It's also the first time I heard of anyone requesting it (in the decade+ time I've been hanging around the project) so the number of users who might think it's handy is probably you and .. (don't hold breath).
Step back a level. What were you trying to do?
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
That's a great script it will help a lot Thanks.
another thing i want to point here is that this https://linux-diag.sourceforge.net/Sysfsutils.html link shows the latest release 2.1.0 which was released in 2006 but most Linux DIstros ship v2.1.1 which was released in 2021 and compile from this repo https://github.com/linux-ras/sysfsutils