Fix the tuxedo backlighting
This commit is contained in:
@@ -2,4 +2,14 @@
|
|||||||
# compatible devices like the Slimbook Executive (Clevo/Tuxedo chassis).
|
# compatible devices like the Slimbook Executive (Clevo/Tuxedo chassis).
|
||||||
if cat /sys/class/dmi/id/sys_vendor 2>/dev/null | grep -qi "TUXEDO\|Slimbook"; then
|
if cat /sys/class/dmi/id/sys_vendor 2>/dev/null | grep -qi "TUXEDO\|Slimbook"; then
|
||||||
omarchy-pkg-add linux-headers tuxedo-drivers-nocompatcheck-dkms
|
omarchy-pkg-add linux-headers tuxedo-drivers-nocompatcheck-dkms
|
||||||
|
|
||||||
|
# Blacklist the legacy clevo_xsm_wmi module which conflicts with the tuxedo-drivers
|
||||||
|
# clevo_wmi module. When clevo_xsm_wmi loads first, it grabs the Clevo WMI GUIDs,
|
||||||
|
# preventing tuxedo-drivers from initializing the keyboard backlight properly.
|
||||||
|
echo "blacklist clevo_xsm_wmi" | sudo tee /etc/modprobe.d/blacklist-clevo-xsm-wmi.conf > /dev/null
|
||||||
|
|
||||||
|
# Remove any orphaned clevo_xsm_wmi module files not managed by a package
|
||||||
|
for f in /lib/modules/*/extra/clevo-xsm-wmi.ko; do
|
||||||
|
[ -f "$f" ] && sudo rm "$f"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user