No description
Find a file
Owen Williams f566db3fa8 Update for kernel 6.12: Switch to the new Intel CPU defines.
Kernel 6.12 changed the Intel CPU define names and removed the
X86_MATCH_VENDOR_FAM_MODEL; update tuxedo_keyboard.c to match.
2024-11-04 22:37:41 -05:00
deb/module-name Update version to 3.2.10 + changelog 2023-08-10 13:41:12 +00:00
src Update for kernel 6.12: Switch to the new Intel CPU defines. 2024-11-04 22:37:41 -05:00
src_pkg Update version to 3.2.10 + changelog 2023-08-10 13:41:12 +00:00
trans_pkg_from_dkms/deb/tuxedo-keyboard-dkms/DEBIAN Update version to 2.0.2 2020-04-15 17:52:40 +02:00
.clang-format Update version to 3.0.2 2021-01-29 14:47:50 +01:00
.gitignore Ignore kdevelop project files 2021-02-24 20:33:59 +01:00
.gitlab-ci.yml Add gitlab ci package build trigger for release branch 2020-04-17 12:32:46 +02:00
clevo-backlight-control-linux.png Add files via upload 2023-09-12 14:43:45 +02:00
dkms.conf Update version to 3.2.10 + changelog 2023-08-10 13:41:12 +00:00
kb.sh Add files via upload 2023-09-16 17:04:37 +02:00
LICENSE Add new packaging base 2020-03-17 17:00:31 +01:00
Makefile Revert switch to kbuild 2022-11-09 17:14:55 +01:00
README.md Update README.md 2023-09-12 15:42:53 +02:00
tuxedo_keyboard.conf Cleanup 2022-08-25 13:06:12 +02:00

The change we made

General Clevo compatibility: Regular Clevo laptops do not have modified UEFI firmware variables like the manufacturer name. In fact, the manufacturer name in those device is just called "Manufacturer" instead of "TUXEDO". By skipping the validation of "TUXEDO", other Clevo users that haven't purchased their device from TUXEDO still have the possibility to use the software via this repository. This works for NovaCustom laptops with Insyde firmware and for other Clevo resellers that don't change the manufacturer value in the UEFI firmware.

Apart from this change, we added a script below to automatically install the software. Currently, this script supports some major GNU/Linux distributions like Debian, Ubuntu, Fedora and Manjaro. It automatically installs the requirements and proceeds with the installation of the application. Also, it sets the default keyboard color to white.

Automated installation

To install the software automatically, open a terminal and execute:

wget https://github.com/wessel-novacustom/clevo-keyboard/raw/master/kb.sh && chmod +x kb.sh && sudo ./kb.sh

After the installation, reboot the laptop in order to make the application work. You can change the keyboard illumination settings by holding the Fn key and use the keyboard control keys on the right side of your keyboard.

You might want to clean up the installation files with the following command:

sudo rm -rf ~/tuxedo-keyboard/ && rm ~/kb.sh

Change the default color

To change the default color of the keyboard backlight, execute:

echo "options tuxedo_keyboard color=WHITE" > /etc/modprobe.d/tuxedo_keyboard.conf

Where you can replace "WHITE" with "BLACK" (off), "RED", "GREEN", "BLUE", "YELLOW", "MAGENTA" or "CYAN". As an alternative, you can set your own color HEX code like "0xFFFF00".

A special note for Dasharo coreboot firmware users

Dasharo coreboot firmware laptop users don't need to and should not use this application. This also applies for users of other coreboot firmware distributions. The keyboard backlight control is already included in the firmware for that firmware version.


Original unchanged content below


Table of Content

Description

TUXEDO Computers kernel module drivers for keyboard, keyboard backlight & general hardware I/O using the SysFS interface (since version 3.2.0)

Features

Modules included in this package

  • tuxedo-keyboard
  • tuxedo-io
  • clevo-wmi
  • clevo-acpi
  • uniwill-wmi

Building and Install

Dependencies:

  • make
  • gcc or clang
  • linux-headers
  • dkms (Only when using this module with DKMS functionality)

Warning when installing the module:

Use either method only. Do not combine installation methods, such as starting with the build step below and proceeding to use the same build artifacts with the DKMS module. Otherwise the module built via dkms will fail to load with an exec_format error on newer kernels due to a mismatched version magic.

This is why the DKMS build step begins with a make clean step.

For convenience, on platforms where DKMS is in use, skip to the DKMS section directly.

Clone the Git Repo:

git clone https://github.com/tuxedocomputers/tuxedo-keyboard.git

cd tuxedo-keyboard

git checkout release

Build the Module:

make clean && make

The DKMS route:

Add as DKMS Module:

Install the Module:

make clean

sudo make dkmsinstall

Load the Module with modprobe:

modprobe tuxedo_keyboard

or

sudo modprobe tuxedo_keyboard

You might also want to activate tuxedo_io module the same way if you are using TCC.

Uninstalling the DKMS module:

Remove the DKMS module and source:

sudo make dkmsremove

sudo rm /etc/modprobe.d/tuxedo_keyboard.conf

Using

modprobe

modprobe tuxedo_keyboard

Load the Module on boot:

If a module is relevant it will be loaded automatically on boot. If it is not loaded after a reboot, it most likely means that it is not needed.

Add Module to /etc/modules

sudo su

echo tuxedo_keyboard >> /etc/modules