tuxedocomputers/tuxedo-control-center

tuxedo-driver package for opensuse install fail

Closed this issue · 14 comments

4.02 works fine, 4.03 hase parm errors
"getopt: unrecognized option '--no-initramfs'"

detail logs:

Creating symlink /var/lib/dkms/tuxedo-drivers/4.0.3/source -> /usr/src/tuxedo-drivers-4.0.3
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.39-default -C /lib/modules/5.14.21-150500.55.39-default/build M=/var/lib/dkms/tuxedo-drivers/4.0.3/build....
cleaning build area....
clevo_acpi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
clevo_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
uniwill_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
ite_8291.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
ite_8291_lb.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
ite_8297.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
ite_829x.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_io.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_compatibility_check.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_nb05_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_nb05_power_profiles.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_nb05_ec.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
tuxedo_nb05_sensors.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.39-default/updates/
Adding any weak-modules
getopt: unrecognized option '--no-initramfs'
Usage: ${0##*/} [options] {--add-modules|--remove-modules}
       ${0##*/} [options] {--add-kernel|--remove-kernel} {kernel-release}
--add-modules
        Add a list of modules read from standard input. Create
        symlinks in compatible kernel's weak-updates/ directory.
        The list of modules is read from standard input.
--remove-modules
        Remove compatibility symlinks from weak-updates/ directories
        for a list of modules.  The list of modules is read from
        standard input.
--add-kernel
        Add compatibility symlinks for all compatible modules to the
        specified or running kernel.
--remove-kernel
        Remove all compatibility symlinks for the specified or current
        kernel.
--verbose
        Print the commands executed.
-dry-run
        Do not create/remove any files.
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
depmod....
Check tccd running status
(Re)load modules if possible```

Hello,

It's not the Tuxedo's fault, it's dkms' fault.
As you can see, the errors come from /usr/sbin/dkms.

Lines 2372-2375 in dkms 2.8.8:

2372 # Since initramfs/initrd rebuild is not requested, skip it with Redhat's weak-modules
2373 if [[ $weak_modules ]]; then
2374 weak_modules_no_initrd="--no-initramfs"
2375 fi

Fix: either modify line 2374 to:

2374 weak_modules_no_initrd=""

or install dkms 3.0.12 for Leap 15.5. / Tumbleweed.

Regards, temirg.

PS: Affected lines from dkms 3.0.12 (tumbleweed):

2542 # Since initramfs/initrd rebuild is not requested, skip it with Redhat's weak-modules
2543 if [[ $weak_modules ]]; then
2544     # Not required for SUSE/openSUSE
2545     #weak_modules_no_initrd="--no-initramfs"
2546     weak_modules_no_initrd=""
2547 fi

Thank you Temirg, I understand now.
And sorry for bother you.
Closing this issue.

Hi,
no problem, you didn't bother me :-)
Btw: I'm not employed by Tuxedo, if that's what you meant.

Regards, temirg.

I think tuxedo has wrong package requirements info in tuxedo-driver package, so I'll try to reopen this issue.
I don't have a gitlab account, so I can't report this issue here.

I'm on openSUSE Leap 15.5 and have dkms 2.8.8-bp155.1.6 installed.

The tuxedo-driver 4.2.1-1 has these requirements:

dkms >= 2.1
/bin/sh

And it still fails to work when installed:

# zypper install --force tuxedo-drivers
Loading repository data...
Reading installed packages...
Forcing installation of 'tuxedo-drivers-4.2.1-1.noarch' from repository 'TUXEDO'.
Resolving package dependencies...

The following package is going to be reinstalled:
  tuxedo-drivers

1 package to reinstall.
Overall download size: 0 B. Already cached: 85.7 KiB. No additional space will be used or freed after the operation.
Continue? [y/n/v/...? shows all options] (y): y
In cache tuxedo-drivers-4.2.1-1.noarch.rpm                                                                                                                                                                                                            (1/1),  85.7 KiB

Checking for file conflicts: .......................................................................................................................................................................................................................................[done]
Error! DKMS tree already contains: tuxedo-drivers-4.2.1
You cannot add the same module/version combo more than once.
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.2.1/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.21-150500.55.49-default (x86_64)
Consult /var/lib/dkms/tuxedo-drivers/4.2.1/build/make.log for more information.
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.2.1/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.21-150500.55.49-default (x86_64)
Consult /var/lib/dkms/tuxedo-drivers/4.2.1/build/make.log for more information.
Check tccd running status
Stop tccd temporarily
(Re)load modules if possible
Start tccd again
(1/1) Installing: tuxedo-drivers-4.2.1-1.noarch ....................................................................................................................................................................................................................[done]

As a friendly user Temirg said, this requires dkms 3.x to work, but the package only ask for dkms >= 2.1, which isn't correct.

On TUXEDO OS we are still on dkms 2.8.7 and it builds just fine, so there is no actuall need for dkms >= 3, but it could ofc be a regression where 2.8.7 works, 2.8.8 - 3.0.11 doesn't and 3.0.12 works again.

We need to do some testing.

btw the bugtracker for tuxedo-drivers has moved to here https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers

Just did a fresh install of leap and have dkms v2.8.7 @please-enter-a-username please check if you have some 3rd party repo making something in your install weird.

Please note: the error comes from dkms itself, after trying to reinstall tuxedo-drivers:

Error! DKMS tree already contains: tuxedo-drivers-4.2.1
You cannot add the same module/version combo more than once.
dkms status
tuxedo-drivers/4.2.2, 6.7.6-1-default, x86_64: installed
tuxedo-drivers/4.2.2, 6.7.7-1-default, x86_64: installed

dkms --help
Error!  Unknown option: --help
Usage: /sbin/dkms [action] [options]
  [action]  = { add | remove | build | install | uninstall | match | autoinstall |
                mktarball | ldtarball | status }
  [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
              [-c dkms.conf-location] [-q] [--force] [--force-version-override] [--all]
              [--templatekernel=kernel] [--directive='cli-directive=cli-value']
              [--config=kernel-.config-location] [--archive=tarball-location]
              [--kernelsourcedir=source-location]
              [--binaries-only] [--source-only] [--verbose]
              [--no-depmod] [--modprobe-on-install] [-j number] [--version]

i.e. cleanup would be (for version 4.2.2):
dkms remove -m tuxedo-drivers/4.2.2 --all

and reinstall:
dkms install -m tuxedo-drivers/4.2.2 --all

Just did a fresh install of leap and have dkms v2.8.7 @please-enter-a-username please check if you have some 3rd party repo making something in your install weird.

Hi, thanks for reply!
I have 2 thrid party repo: tuxedo and packman-essentials. And I don't use nvidia repo but ".run" file instead.

BTW I confirm that "tuxedo-driver-4.2.2" seems have fixed the "Error! Bad return status" problem and works with "dkms-2.8.8-bp155.1.6" and "kernel-5.14.21-150500.55.49-default".

The earlier working (for me) version was 4.0.2. I locked tuxedo-driver package to skip the 4.2.1 version.

Please note: the error comes from dkms itself, after trying to reinstall tuxedo-drivers:

Error! DKMS tree already contains: tuxedo-drivers-4.2.1
You cannot add the same module/version combo more than once.
dkms status
tuxedo-drivers/4.2.2, 6.7.6-1-default, x86_64: installed
tuxedo-drivers/4.2.2, 6.7.7-1-default, x86_64: installed

dkms --help
Error!  Unknown option: --help
Usage: /sbin/dkms [action] [options]
  [action]  = { add | remove | build | install | uninstall | match | autoinstall |
                mktarball | ldtarball | status }
  [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
              [-c dkms.conf-location] [-q] [--force] [--force-version-override] [--all]
              [--templatekernel=kernel] [--directive='cli-directive=cli-value']
              [--config=kernel-.config-location] [--archive=tarball-location]
              [--kernelsourcedir=source-location]
              [--binaries-only] [--source-only] [--verbose]
              [--no-depmod] [--modprobe-on-install] [-j number] [--version]

i.e. cleanup would be (for version 4.2.2): dkms remove -m tuxedo-drivers/4.2.2 --all

and reinstall: dkms install -m tuxedo-drivers/4.2.2 --all

Hi Temirg, thanks a lot for your help!

I'm on "dkms-2.8.8-bp155.1.6" and "kernel-5.14.21-150500.55.49-default" now, and I can confirm tuxedo-drivers/4.2.2 works fine with them, thank you for your patience, your guide and info!

But the 4.2.1 version still not work. The problem isn't "Error! DKMS tree already contains", but "Error! Bad return status".

For further info, this is the fail log of the fresh install 4.2.1 version, although I'm not a developer nor coder, I guess something is wrong in the code of version 4.2.1, and might be already fixed in 4.2.2 version:

laptop:~ # dkms status
nvidia/535.129.03, 5.14.21-150500.55.49-default, x86_64: installed
laptop:~ # zypper install tuxedo-drivers-4.2.1-1
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  tuxedo-drivers

1 new package to install.
Overall download size: 0 B. Already cached: 85.7 KiB. After the operation, additional 327.8 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
In cache tuxedo-drivers-4.2.1-1.noarch.rpm                                                                   (1/1),  85.7 KiB    

Checking for file conflicts: ..............................................................................................[done]
Creating symlink /var/lib/dkms/tuxedo-drivers/4.2.1/source -> /usr/src/tuxedo-drivers-4.2.1
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.2.1/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.21-150500.55.49-default (x86_64)
Consult /var/lib/dkms/tuxedo-drivers/4.2.1/build/make.log for more information.
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.2.1/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.21-150500.55.49-default (x86_64)
Consult /var/lib/dkms/tuxedo-drivers/4.2.1/build/make.log for more information.
Check tccd running status
(Re)load modules if possible
(1/1) Installing: tuxedo-drivers-4.2.1-1.noarch ...........................................................................[done]
laptop:~ # cat /var/lib/dkms/tuxedo-drivers/4.2.1/build/make.log
DKMS make.log for tuxedo-drivers-4.2.1 for kernel 5.14.21-150500.55.49-default (x86_64)
Wed Mar  6 09:03:54 HKT 2024
make: Entering directory '/usr/src/linux-5.14.21-150500.55.49-obj/x86_64/default'
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/clevo_acpi.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/clevo_wmi.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_keyboard.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_io/tuxedo_io.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/ite_8297/ite_8297.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/ite_8291/ite_8291.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_compatibility_check/tuxedo_compatibility_check.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/ite_8291_lb/ite_8291_lb.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_keyboard.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_keyboard.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/ite_829x/ite_829x.o
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c: In function ‘ctgp_offset_show’:
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c:10:40: error: parameter name omitted
 static ssize_t ctgp_offset_show(struct device *__unused, struct device_attribute *__unused,
                                        ^~~~~~
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c:10:65: error: parameter name omitted
 static ssize_t ctgp_offset_show(struct device *__unused, struct device_attribute *__unused,
                                                                 ^~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c: In function ‘ctgp_offset_store’:
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c:22:41: error: parameter name omitted
 static ssize_t ctgp_offset_store(struct device *__unused, struct device_attribute *__unused,
                                         ^~~~~~
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.c:22:66: error: parameter name omitted
 static ssize_t ctgp_offset_store(struct device *__unused, struct device_attribute *__unused,
                                                                  ^~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-5.14.21-150500.55.49/scripts/Makefile.build:275: /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.o] Error 1
make[2]: *** [/usr/src/linux-5.14.21-150500.55.49/scripts/Makefile.build:539: /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb02_nvidia_power_ctrl] Error 2
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_kbd_backlight.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_power_profiles.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_wmi_ab.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_ec.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_wmi_bs.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_sensors.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_sensors.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_power_profiles.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_kbd_backlight.o
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb04/tuxedo_nb04_sensors.c:233:10: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  .info = tuxedo_nb04_sensors_info
          ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.2.1/build/tuxedo_nb05/tuxedo_nb05_sensors.c:154:10: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  .info = tuxedo_nb05_hwmon_info
          ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/src/linux-5.14.21-150500.55.49/Makefile:1891: /var/lib/dkms/tuxedo-drivers/4.2.1/build] Error 2
make: *** [../../../linux-5.14.21-150500.55.49/Makefile:220: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.14.21-150500.55.49-obj/x86_64/default'
laptop:~ # 

And this is the fresh install log of tuxedo-drivers 4.2.2. It shows the build was success, but in the end some "echo" fails
with unknown reason. Anyway at least it's working now!

laptop:~ # zypper install tuxedo-control-center 
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  tuxedo-control-center tuxedo-drivers

2 new packages to install.
Overall download size: 0 B. Already cached: 77.5 MiB. After the operation, additional 377.7 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
In cache tuxedo-drivers-4.2.2-1.noarch.rpm                                                                   (1/2),  85.8 KiB    
In cache tuxedo-control-center_2.1.7.rpm                                                                     (2/2),  77.4 MiB    

Checking for file conflicts: ..............................................................................................[done]
Creating symlink /var/lib/dkms/tuxedo-drivers/4.2.2/source -> /usr/src/tuxedo-drivers-4.2.2
Building module:
cleaning build area....
make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.2.2/build....
cleaning build area....
clevo_acpi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
clevo_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
uniwill_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
ite_8291.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
ite_8291_lb.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
ite_8297.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
ite_829x.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_io.ko.zst:
Running module version sanity check.
Good news! Module version 0.3.9 for tuxedo_io.ko.zst
exactly matches what is already found in kernel 5.14.21-150500.55.49-default.
DKMS will not replace this module.
You may override by specifying --force.
tuxedo_compatibility_check.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb05_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb05_power_profiles.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb05_ec.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb05_sensors.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_wmi_ab.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_wmi_bs.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_sensors.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_power_profiles.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb04_kbd_backlight.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb05_kbd_backlight.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
tuxedo_nb02_nvidia_power_ctrl.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/
Adding any weak-modules
getopt: unrecognized option '--no-initramfs'
Usage: ${0##*/} [options] {--add-modules|--remove-modules}
       ${0##*/} [options] {--add-kernel|--remove-kernel} {kernel-release}
--add-modules
        Add a list of modules read from standard input. Create
        symlinks in compatible kernel's weak-updates/ directory.
        The list of modules is read from standard input.
--remove-modules
        Remove compatibility symlinks from weak-updates/ directories
        for a list of modules.  The list of modules is read from
        standard input.
--add-kernel
        Add compatibility symlinks for all compatible modules to the
        specified or running kernel.
--remove-kernel
        Remove all compatibility symlinks for the specified or current
        kernel.
--verbose
        Print the commands executed.
-dry-run
        Do not create/remove any files.
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
/usr/sbin/dkms: line 1196: echo: write error: Broken pipe
depmod....
Check tccd running status
(Re)load modules if possible
(1/2) Installing: tuxedo-drivers-4.2.2-1.noarch ...........................................................................[done]
(2/2) Installing: tuxedo-control-center-2.1.7-1.x86_64 ....................................................................[done]
%posttrans(tuxedo-control-center-2.1.7-1.x86_64) script output:
cp: cannot stat '/opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/com.tuxedocomputers.tomte.policy': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/tccd.service -> /etc/systemd/system/tccd.service.
Created symlink /etc/systemd/system/sleep.target.wants/tccd-sleep.service -> /etc/systemd/system/tccd-sleep.service.
/var/adm/update-scripts/posttransJnMZkd/tuxedo-control-center-2.1.7-1.x86_64b3Bqeb: line 41: update-desktop-database: command not found
Running post-transaction scripts ..........................................................................................[done]
laptop:~ #

@please-enter-a-username Please test with the latest version of tuxedo-drivers v4.3.1 and check where your dkms version comes from. tuxedo-drivers is known to work with dkms v2.8.7 (the default for Ubuntu 22.04 and openSUSE leap 15.5) and v3.0.12 (the default for arch and other bleeding edge distros).

Just found out that "getopt: unrecognized option '--no-initramfs'" seems to be a know bug on openSUSEs side and is fixed in tumbleweed, hopefully it comes quickly to leap. However from my testing today tuxedo-drivers worked regardless after the install.

If the "Error! Bad return status" persists with the latest tuxedo-drivers package please open a new issue regarding this.

@please-enter-a-username Please test with the latest version of tuxedo-drivers v4.3.1 and check where your dkms version comes from. tuxedo-drivers is known to work with dkms v2.8.7 (the default for Ubuntu 22.04 and openSUSE leap 15.5) and v3.0.12 (the default for arch and other bleeding edge distros).

Hi, sorry for late reply.
Version 4.3.1 works with leap 15.5 (dkms 2.8.7 & kernel 5.14.21-150500.55.49-default).
Here's my install log about it:

``` Creating symlink /var/lib/dkms/tuxedo-drivers/4.3.1/source -> /usr/src/tuxedo-drivers-4.3.1 Building module: cleaning build area.... make -j12 KERNELRELEASE=5.14.21-150500.55.49-default -C /lib/modules/5.14.21-150500.55.49-default/build M=/var/lib/dkms/tuxedo-drivers/4.3.1/build.... cleaning build area.... clevo_acpi.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ clevo_wmi.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_keyboard.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ uniwill_wmi.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ ite_8291.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ ite_8291_lb.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ ite_8297.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ ite_829x.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_io.ko.zst: Running module version sanity check. Good news! Module version 0.3.9 for tuxedo_io.ko.zst exactly matches what is already found in kernel 5.14.21-150500.55.49-default. DKMS will not replace this module. You may override by specifying --force. tuxedo_compatibility_check.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb05_keyboard.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb05_power_profiles.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb05_ec.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb05_sensors.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_keyboard.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_wmi_ab.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_wmi_bs.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_sensors.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_power_profiles.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb04_kbd_backlight.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb05_kbd_backlight.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ tuxedo_nb02_nvidia_power_ctrl.ko.zst: Running module version sanity check. - Original module - This kernel never originally had a module by this name - Installation - Installing to /lib/modules/5.14.21-150500.55.49-default/updates/ Adding any weak-modules getopt: unrecognized option '--no-initramfs' Usage: ${0##*/} [options] {--add-modules|--remove-modules} ${0##*/} [options] {--add-kernel|--remove-kernel} {kernel-release} --add-modules Add a list of modules read from standard input. Create symlinks in compatible kernel's weak-updates/ directory. The list of modules is read from standard input. --remove-modules Remove compatibility symlinks from weak-updates/ directories for a list of modules. The list of modules is read from standard input. --add-kernel Add compatibility symlinks for all compatible modules to the specified or running kernel. --remove-kernel Remove all compatibility symlinks for the specified or current kernel. --verbose Print the commands executed. -dry-run Do not create/remove any files. /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe /usr/sbin/dkms: line 1196: echo: write error: Broken pipe depmod.... Check tccd running status Stop tccd temporarily (Re)load modules if possible Start tccd again Unload modules if possible Module tuxedo-drivers 4.2.2 is not installed for kernel 5.14.21-150500.55.49-default (x86_64). Skipping... Deleting module tuxedo-drivers-4.2.2 completely from the DKMS tree. ```

Thanks for your help!
I'll try to get a gitlab account and report there if new issue is found.

Oh, and I just found that... Well...

laptop:~ # dkms --version
dkms-2.8.7
laptop:~ # zypper info dkms
Loading repository data...
Reading installed packages...


Information for package dkms:
-----------------------------
Repository     : mirror-main-oss
Name           : dkms
Version        : 2.8.8-bp155.1.6
Arch           : noarch
Vendor         : openSUSE
Installed Size : 134.5 KiB
Installed      : Yes
Status         : up-to-date
Source package : dkms-2.8.8-bp155.1.6.src
Upstream URL   : https://github.com/dell/dkms
Summary        : Dynamic Kernel Module Support Framework
Description    : 
    This package contains the framework for the Dynamic
    Kernel Module Support (DKMS) method for installing
    module RPMS as originally developed by Dell.

laptop:~ # 

Although the package version of dkms is 2.8.8, the actual real version is still 2.8.7...
This is suse's duty, I guess... Sorry for providing wrong info earlier.