Name: tuxedo-drivers Version: 4.0.2 Release: 1%{?dist} Summary: Kernel modules for TUXEDO devices License: GPLv3+ Url: https://www.tuxedocomputers.com Source0: %{name}-%{version}.tar.xz Requires: dkms >= 2.1 BuildArch: noarch Provides: tuxedo-keyboard = 4.0.0-1 Obsoletes: tuxedo-cc-wmi Obsoletes: tuxedo-keyboard < 4.0.0~ Obsoletes: tuxedo-keyboard-dkms Obsoletes: tuxedo-keyboard-ite < 4.0.0~ Obsoletes: tuxedo-touchpad-fix Obsoletes: tuxedo-wmi-dkms Obsoletes: tuxedo-xp-xc-airplane-mode-fix Obsoletes: tuxedo-xp-xc-touchpad-key-fix Group: Hardware/Other Packager: TUXEDO Computers GmbH %description Drivers for several platform devices for TUXEDO notebooks meant for DKMS framework. %prep %setup -q %install cp -r %{_builddir}/%{name}-%{version}/usr %{buildroot} cp -r %{_builddir}/%{name}-%{version}/etc %{buildroot} %files %{_usrsrc}/%{name}-%{version} %config(noreplace) %{_sysconfdir}/modprobe.d/tuxedo_keyboard.conf %license LICENSE %post # Install modules via DKMS dkms add -m %{name} -v %{version} --rpm_safe_upgrade dkms build -m %{name} -v %{version} dkms install -m %{name} -v %{version} # Attempt to (re-)load modules and tccd, fail silently if not possible # Stop tccd service if it was running before echo "Check tccd running status" TCCD_RUNNING=false if systemctl is-active --quiet tccd.service; then TCCD_RUNNING=true echo "Stop tccd temporarily" systemctl stop tccd 2>&1 || true fi # (Re-)load modules echo "(Re)load modules if possible" rmmod tuxedo_io > /dev/null 2>&1 || true rmmod uniwill_wmi > /dev/null 2>&1 || true rmmod clevo_wmi > /dev/null 2>&1 || true rmmod clevo_acpi > /dev/null 2>&1 || true rmmod tuxedo_keyboard > /dev/null 2>&1 || true rmmod ite_8291 > /dev/null 2>&1 || true rmmod ite_8291_lb > /dev/null 2>&1 || true rmmod ite_8297 > /dev/null 2>&1 || true rmmod ite_829x > /dev/null 2>&1 || true rmmod tuxedo_nb05_keyboard > /dev/null 2>&1 || true rmmod tuxedo_nb05_sensors > /dev/null 2>&1 || true rmmod tuxedo_nb05_power_profiles > /dev/null 2>&1 || true rmmod tuxedo_nb05_ec > /dev/null 2>&1 || true rmmod tuxedo_compatibility_check > /dev/null 2>&1 || true modprobe tuxedo_compatibility_check > /dev/null 2>&1 || true modprobe tuxedo_keyboard > /dev/null 2>&1 || true modprobe clevo_acpi > /dev/null 2>&1 || true modprobe clevo_wmi > /dev/null 2>&1 || true modprobe uniwill_wmi > /dev/null 2>&1 || true modprobe tuxedo_io > /dev/null 2>&1 || true modprobe ite_8291 > /dev/null 2>&1 || true modprobe ite_8291_lb > /dev/null 2>&1 || true modprobe ite_8297 > /dev/null 2>&1 || true modprobe ite_829x > /dev/null 2>&1 || true modprobe tuxedo_nb05_ec > /dev/null 2>&1 || true modprobe tuxedo_nb05_power_profiles > /dev/null 2>&1 || true modprobe tuxedo_nb05_sensors > /dev/null 2>&1 || true modprobe tuxedo_nb05_keyboard > /dev/null 2>&1 || true # Restart tccd after reload if it was running before if $TCCD_RUNNING; then echo "Start tccd again" systemctl start tccd 2>&1 || true fi %preun # Attempt to unload modules, fail silently if not possible echo "Unload modules if possible" rmmod tuxedo_io > /dev/null 2>&1 || true rmmod uniwill_wmi > /dev/null 2>&1 || true rmmod clevo_wmi > /dev/null 2>&1 || true rmmod clevo_acpi > /dev/null 2>&1 || true rmmod tuxedo_keyboard > /dev/null 2>&1 || true rmmod ite_8291 > /dev/null 2>&1 || true rmmod ite_8291_lb > /dev/null 2>&1 || true rmmod ite_8297 > /dev/null 2>&1 || true rmmod ite_829x > /dev/null 2>&1 || true rmmod tuxedo_nb05_keyboard > /dev/null 2>&1 || true rmmod tuxedo_nb05_sensors > /dev/null 2>&1 || true rmmod tuxedo_nb05_power_profiles > /dev/null 2>&1 || true rmmod tuxedo_nb05_ec > /dev/null 2>&1 || true rmmod tuxedo_compatibility_check > /dev/null 2>&1 || true # Remove modules via DKMS dkms remove -m %{name} -v %{version} --all --rpm_safe_upgrade %changelog * Thu Dec 21 2023 Werner Sembach 4.0.2-1 - nb01: Charging thresholds fixes * Fri Dec 15 2023 Werner Sembach 4.0.1-1 - Fix build on Ubuntu 22.04 5.15 kernel * Tue Dec 12 2023 Werner Sembach 4.0.0-1 - Merge tuxedo-keyboard and tuxedo-keyboard-ite - Rename package to tuxedo-drivers - Rework packaging process - Fn-lock sysfs interface for nb02 and nb01 (newer models with CCC from v4.0) - Flexicharger sysfs interface for nb01 (new plus legacy which works on some older models) - Various backlight bugfixes and rework - nb05 driver collection (so far used by Pulse Gen3) * Thu Nov 16 2023 C Sandberg 0.4.4-1 - Add color scaling for Stellaris Gen5 AMD devices * Thu Nov 16 2023 C Sandberg 3.2.14-1 - Tweak IBPG8 tdp limits * Fri Nov 10 2023 C Sandberg 3.2.13-1 - Add missing IBPG8 TDP definitions * Tue Oct 24 2023 C Sandberg 3.2.12-1 - Polaris/Stellaris AMD Gen5 support * Thu Sep 21 2023 C Sandberg 3.2.11-1 - Aura Gen3 support * Thu Aug 10 2023 C Sandberg 3.2.10-1 - Fix build on certain systems * Thu Aug 03 2023 C Sandberg 0.4.3-1 - Adjusted lightbar USB product exclusion (prevents driver binding to unused devices) for Stellaris Gen5 and allows proper binding of relevant ones. - Lightbar color scaling for Stellaris 17 Gen5 * Tue Aug 01 2023 C Sandberg 3.2.9-1 - Quirks for setting missing IBP16Gen8 keyboard layouts - Fix IBP 16 Gen8 mk1 layout set to 14inch variant layout * Fri Jul 21 2023 C Sandberg 3.2.8-1 - Keyboard backlight support for IBS17Gen8 (white-only) - Fn backlight key support for IBS17Gen8 * Wed Jun 28 2023 C Sandberg 3.2.7-1 - Fix for certain white kbd bl identification on boot (XA15) - General white-only kbd bl rework to use firmware set on Fn+brightness switch - Kernel 6.4 build compatibility fix * Tue Jun 13 2023 C Sandberg 3.2.6-1 - Fallback ROM ID set quirk support * Fri May 19 2023 C Sandberg 3.2.5-1 - IBP Gen8 keyboard backlight support - IBP Gen8 TDP support - Color scaling for certain one-zone RGB keyboards - Fix for certain white kbd bl devices (like Pulse) not setting brightness to zero on init * Thu May 04 2023 C Sandberg 0.4.1-1 - Four zone backlight support for Stellaris Gen5 - Experimental buffered writes for Stellaris/Fusion per-key variants * Thu Apr 20 2023 C Sandberg 3.2.3-1 - Fix missing state write on resume for some devices which woke up with "default blue" keyboard backlight - Add TDP device definitions for Stellaris Intel Gen5 - Add device check on newer cpu gens * Mon Apr 17 2023 C Sandberg 0.4.0-1 - Color scaling for Stellaris Intel Gen5 - Lightbar impl. for Stellaris Gen4/5 * Mon Mar 27 2023 C Sandberg 3.2.1-1 - Fix "lost fan control" in some circumstances (on eg. IBPGen7) * Wed Mar 22 2023 C Sandberg 3.2.0-1 - KBD BL: Interface rewrite, now generally exported through /sys/class/leds :kbd_backlight - KBD BL: New interface impl. for white backlight keyboards (also :kbd_backlight) - Note: Old interface is hereby deprecated (and removed) * Thu Feb 23 2023 C Sandberg 0.3.0-1 - Leds interface support (/sys/class/leds) * Fri Feb 17 2023 C Sandberg 3.1.4-1 - Fix upcoming 6.2 kernel build issue (from github Buddy-Matt) - Re-write last set charging priority on barrel plug connect - UW interface performance tweaks (should help with lagging keyboard issues on certain devices) * Wed Jan 11 2023 C Sandberg 3.1.3-1 - Fix IBP14Gen6 second fan not spinning (alternative fan ctl approach) - Fix some error-lookalike messages in kernel log (aka prevent uw feature id when interface not available) * Mon Dec 19 2022 C Sandberg 3.1.2-1 - Enables dynamic boost (max offset) for certain devices needing sw ctl - Adds charging profile interface for devices supporting charging profiles - Adds charging priority interface for devices supporting USB-C PD charging priority setting * Wed Dec 07 2022 C Sandberg 0.2.5-1 - Add per-device color scaling to ite_8291 driver - Add additional scaling setting for Stellaris 17 AMD Gen 4 * Wed Nov 30 2022 C Sandberg 0.2.4-1 - Add USB ID for Stellaris 17 Gen 4 keyboard backlight * Mon Oct 17 2022 C Sandberg 3.1.1-1 - Reenable fans-off for some devices that got it turned of as a temporary workaround - Fix default fan curve not being reenabled when tccd is stopped * Mon Oct 10 2022 C Sandberg 3.1.0-1 - Add power profiles and tdp functionality (uw) * Thu Oct 06 2022 C Sandberg 3.0.11-1 - Introduce alternative fan control (uw) - Fan control parameters from driver "has fan off" and "min fan speed" - Fixes missing/broken fan control on newer devices * Thu Apr 28 2022 C Sandberg 3.0.10-1 - Add Stellaris Intel gen 4 lightbar support - Default lightbar to off * Sun Oct 10 2021 C Sandberg 3.0.9-1 - Add IBS15v6 & IBS17v6 new module name to perf. prof workaround - Interface modularization (uw) - Fix Pulse14/15 gen 1 keyboard backlight ctrl dissapearing * Fri Jul 9 2021 C Sandberg 3.0.8-1 - Add IBS14v6 to perf. prof workaround * Thu Jun 24 2021 C Sandberg 3.0.7-1 - Add new Polaris devices gen 2 & gen 3 keyb bl support - Add Stellaris (gen3) lightbar support - Fix kernel 5.13 build issue (from github BlackIkeEagle) - Add another Fusion lightbar ID (from github ArlindoFNeto) * Mon Jun 07 2021 C Sandberg 3.0.6-1 - Add tuxedo-io performance profile set (cl) * Fri Apr 23 2021 C Sandberg 3.0.5-1 - Add NS50MU to perf. profile workaround - Add EDUBOOK1502 to perf. profile workaround - Add XP gen 11 & 12 to perf. profile workaround - Clean-up cl driver state init (should fix some init color issues) * Fri Mar 19 2021 C Sandberg 3.0.4-1 - Fixed various possible race conditions on driver init - Added IBS14v5 to perf. profile workaround - Added new Aura board name to perf. profile workaround - Fixed non-initialized firmware fan curve for silent mode (UW) - Changed default perf. profile to balanced (UW) * Fri Mar 5 2021 C Sandberg 3.0.3-1 - Added XP14 to perf. profile workaround * Mon Feb 22 2021 C Sandberg 0.2.3-1 - Fix broken brightness key reaction for ite_829x * Tue Feb 16 2021 C Sandberg 0.2.2-1 - Attempt to fix ite_829x instability sometimes locking up kernel on keypress * Fri Jan 29 2021 C Sandberg 3.0.2-1 - Fixed clevo keyboard init order - Added Aura perf. profile workaround * Mon Dec 21 2020 C Sandberg 0.2.1-1 - Added device 048d:6004 to ite_8291 * Mon Dec 21 2020 C Sandberg 3.0.1-1 - Added device support (Trinity) - Fixed uw fan ramp up issues to some extent (workaround) * Wed Dec 9 2020 C Sandberg 3.0.0-1 - Changed structure of clevo interfaces - Added separate clevo-wmi module with existing functionality - Added clevo-acpi module with implementation of the "new" clevo ACPI interface - Added tuxedo-io module (former tuxedo-cc-wmi) into package * Fri Nov 13 2020 C Sandberg 0.2.0-1 - Added initial support for ITE Device(8291) -> 048d:ce00 * Fri Nov 13 2020 C Sandberg 2.1.0-1 - Added device support (XMG Fusion) - Added uniwill lightbar driver (with led_classdev interface) - Added uniwill keymapping brightness up/down - Fixed uniwill touchpad toggle (some platforms) - Fixed module cleanup crash * Fri Oct 16 2020 C Sandberg 0.1.0-1 - Added initial (very basic) support for 048d:8297 LED controller * Mon Oct 12 2020 C Sandberg 0.0.3-1 - Fixed key mapping toggle <=> switch mode - Default color to white * Tue Sep 29 2020 C Sandberg 0.0.2-1 - Initial experimental release * Fri Sep 25 2020 C Sandberg 2.0.6-1 - Added uw kbd color backlight support * Thu Jun 18 2020 C Sandberg 2.0.5-1 - Restructure to allow for more devices - Added device support - Added rudimentary device detection * Tue May 26 2020 C Sandberg 2.0.4-1 - Added rfkill key event - Fix volume button events, ignore * Tue May 19 2020 C Sandberg 2.0.3-1 - General key event mapping support - Events added for backlight and touchpad - Fix not removing module on rpm update * Thu Apr 23 2020 C Sandberg 0.0.1-1 - First version of the ITE keyboard backlight driver - Has support for ITE Device(829x) -> 0x048d:0x8910 * Tue Apr 14 2020 C Sandberg 2.0.2-0 - Mark old named packages as conflicting and obsolete - Fix not restoring state on resume - Fix autoload issues - Add standard config tuxedo_keyboard.conf to package * Tue Mar 17 2020 C Sandberg 2.0.1-0 - New packaging * Wed Dec 18 2019 Richard Sailer 2.0.0-1 - Initial DKMS package for back-lit keyboard 2nd generation