Hi,
I need to install the driver for my laptop keyboard. This is the repo: https://github.com/tuxedocomputers/tuxedo-keyboard
I already installed the system.devel packages and the linux-headers.
everytime I try to run a make clean
in the cloned repository it fails. Can anyone help me?
Tuxedo Keyboard installation
buddyspencer
Well, what does it say? We need some more information.
henkesteen Sorry, forgot to add that to the message:
make -C /lib/modules/5.12.10-182.current/build M=/home/andy/git/tuxedo-keyboard clean
make[1]: *** /lib/modules/5.12.10-182.current/build: No such file or directory. Stop.
make: *** [Makefile:31: clean] Error 2
Works fine with my tuxedo. Probably make sure the build softlink is present? This what it looks like here:
$ l /lib/modules/5.12.10-182.current/build
lrwxrwxrwx 1 root root 42 11. Jun 14:36 /lib/modules/5.12.10-182.current/build -> /usr/src/linux-headers-5.12.10-182.current
that seems to be the issue
ls: cannot access '/usr/src/linux-headers-5.12.10-182.current': No such file or directory
Now I just have to find out how to fix it.
carlberger apparently I didn't install the linux-headers for my kernel.
now it works perfectly
hi there,
I have a similar problem. I don't get any errors running the commands.
But in the end, doing "modprobe" doesn't give any results. I'm new to Solus and a little bit stuck here unfortunately.
This is what I get:
modprobe tuxedo_keyboard
modprobe: FATAL: Module tuxedo_keyboard not found in directory /lib/modules/5.14.16-205.current
Thanks for any advice in advance!
Did you install the linux headers for your kernel?
- Edited
buddyspencer
Thanks for the answer! Yes I think so, I got the right packages.
My Kernel is this:
Linux michaelslaptop 5.14.16-205.current #1 SMP PREEMPT Sat Nov 6 09:14:32 UTC 2021 x86_64 GNU/Linux
I installed the package "linux-current-headers Version 5.14.16-205" via Software Center.
But still modprobe fails.
I get this output following the instructions from github:
make -C /lib/modules/5.14.16-205.current/build M=/home/michael/tuxedo-keyboard clean
make[1]: Verzeichnis „/usr/src/linux-headers-5.14.16-205.current“ wird betreten
make[1]: Verzeichnis „/usr/src/linux-headers-5.14.16-205.current“ wird verlassen
make -C /lib/modules/5.14.16-205.current/build M=/home/michael/tuxedo-keyboard modules
make[1]: Verzeichnis „/usr/src/linux-headers-5.14.16-205.current“ wird betreten
CC [M] /home/michael/tuxedo-keyboard/./src/tuxedo_keyboard.o
CC [M] /home/michael/tuxedo-keyboard/./src/clevo_wmi.o
CC [M] /home/michael/tuxedo-keyboard/./src/clevo_acpi.o
CC [M] /home/michael/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.o
CC [M] /home/michael/tuxedo-keyboard/./src/uniwill_wmi.o
MODPOST /home/michael/tuxedo-keyboard/Module.symvers
CC [M] /home/michael/tuxedo-keyboard/./src/clevo_acpi.mod.o
LD [M] /home/michael/tuxedo-keyboard/./src/clevo_acpi.ko
CC [M] /home/michael/tuxedo-keyboard/./src/clevo_wmi.mod.o
LD [M] /home/michael/tuxedo-keyboard/./src/clevo_wmi.ko
CC [M] /home/michael/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.mod.o
LD [M] /home/michael/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.ko
CC [M] /home/michael/tuxedo-keyboard/./src/tuxedo_keyboard.mod.o
LD [M] /home/michael/tuxedo-keyboard/./src/tuxedo_keyboard.ko
CC [M] /home/michael/tuxedo-keyboard/./src/uniwill_wmi.mod.o
LD [M] /home/michael/tuxedo-keyboard/./src/uniwill_wmi.ko
make[1]: Verzeichnis „/usr/src/linux-headers-5.14.16-205.current“ wird verlassen
my build and install script does the following:
make clean
make
sudo make install
sudo modprobe tuxedo_keyboard
Yes that worked! Thank you very much for your help everyone. Finally Solus feels complete on my Tuxedo-Notebook
@carlberger do you have the tuxedo-control-center running too? I can't start the GUI for it.
buddyspencer I did manage to run it, but it was a bit of a hassle, and I forgot how I did it. I never manage to get the thermal sensors running and stopped caring at one point. sorry for the no-help I may try again the next few days.
buddyspencer I've managed to run the tuxedo-control-center from the git checkout.
You need git, nodejs and system.devel installed. Probably more, I have lots of devel packages installed. So at least do a
sudo eopkg install -c system.devel nodejs git
Your mileage may vary. I understand that you need to have tuxedo-keyboard installed. Quote from the tcc readme:
TCC depends on the tuxedo-io module from the tuxedo-keyboard package for some core functionality like fan control.
To install the tuxedo-keyboard I did:
git clone https://github.com/tuxedocomputers/tuxedo-keyboard.git
cd tuxedo-keyboard
make clean
make
sudo make install
sudo modprobe tuxedo_keyboard
sudo cp tuxedo_keyboard.conf /etc/modules-load.d/tuxedo_keyboard.conf
From here you clone the tuxedo-control-center repo, install the node packages, build it, run the tccd demon as root and start the control center.
git clone https://github.com/tuxedocomputers/tuxedo-control-center.git
cd tuxedo-control-center.git
npm install
npm run build
sudo dist/tuxedo-control-center/data/service/tccd --start
The last line starts the tccd demon. From another terminal in the same directory do a
npm run start
https://github.com/tuxedocomputers/tuxedo-control-center has information on how to start the tccd demon as a systemd service. I did not test that.
Hope this helps.