Package Details: tuxedo-drivers-dkms 4.4.3-1

Git Clone URL: https://aur.archlinux.org/tuxedo-drivers-dkms.git (read-only, click to copy)
Package Base: tuxedo-drivers-dkms
Description: TUXEDO Computers kernel module drivers for keyboard, keyboard backlight & general hardware I/O using the SysFS interface
Upstream URL: https://github.com/tuxedocomputers/tuxedo-drivers
Keywords: tuxedo tuxedo-drivers
Licenses: GPL3
Conflicts: tuxedo-keyboard-dkms, tuxedo-keyboard-ite-dkms
Provides: clevo-acpi, clevo-wmi, ite_8291, ite_8291_lb, ite_8297, ite_829x, tuxedo-io, tuxedo-keyboard, tuxedo-keyboard-ite, uniwill-wmi
Submitter: StevenSeifried
Maintainer: StevenSeifried
Last Packager: StevenSeifried
Votes: 31
Popularity: 1.43
First Submitted: 2023-12-11 18:55 (UTC)
Last Updated: 2024-05-08 15:51 (UTC)

Dependencies (5)

Required by (6)

Sources (3)

Pinned Comments

StevenSeifried commented on 2024-01-07 11:02 (UTC)

Please don't abuse the "Flag package out-of-date" function to report bugs, please use the comment function as intended.

When the "Flag package out-of-date" will be abused to report a bug, I will unflag it and wait, that the bug will be reported as comment. If you don't want to report a bug as comment, please feel free to contact me directly via e-mail. Unflagging doesn't mean that I'm "implied refusal to correct".

Also, filling out an "Orphan Request" more or less directly after I unflagged it, isn't fair. I don't always have the time to take care of it straight away. So, please give me time.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

jsimon0 commented on 2023-12-15 16:50 (UTC)

Updated PKGBUILD for 4.0.1 that does compile against linux lts 6.1 (and probably others less than 6.2) as well as linux 6.6.7.

# Maintainer: Steven Seifried <gitlab@canox.net>
# Contributor: Steven Seifried <gitlab@canox.net>
_pkgname=tuxedo-drivers
pkgname=tuxedo-drivers-dkms
pkgver=4.0.1
pkgrel=1
pkgdesc="TUXEDO Computers kernel module drivers for keyboard, keyboard backlight & general hardware I/O using the SysFS interface"
url="https://github.com/tuxedocomputers/tuxedo-drivers"
license=("GPL3")
arch=('x86_64')
depends=('dkms')
optdepends=('linux-headers: build modules against Arch kernel'
            'linux-lts-headers: build modules against LTS kernel'
            'linux-zen-headers: build modules against ZEN kernel'
            'linux-hardened-headers: build modules against the HARDENED kernel')
# tuxedo-keyboard-ite = ite_8291, ite_8291_lb, ite_8297 and ite_829x
provides=('tuxedo-keyboard'
          'tuxedo-keyboard-ite'
          'tuxedo-io'
          'clevo-wmi'
          'clevo-acpi'
          'uniwill-wmi'
          'ite_8291'
          'ite_8291_lb'
          'ite_8297'
          'ite_829x')
replaces=('tuxedo-keyboard-dkms' 'tuxedo-keyboard-ite-dkms')
#backup=(etc/modprobe.d/tuxedo_keyboard.conf)
source=($pkgname-$pkgver.tar.gz::https://github.com/tuxedocomputers/tuxedo-drivers/archive/v${pkgver}.tar.gz tuxedo_io.conf dkms.conf)
sha256sums=('421b76f66f25094175fb11cbe0810b6224130fefdb7c73a857dcc2fe3855889b'
            'd94d305bfd2767ad047bc25cc5ce986e76804e7376c3dd4d8e500ebe2c7bef3c'
            '41424829fbe55dbc44fb122699881d92fec44fc8d68a6de1bcbb9731b8c3cd64')
sha512sums=('0560bfc8e70378ebcc15215f97727ffa3c0b61fe6bb67ca5cbe85ea9ee2e85e7a1f7129c1c8cb90832f952cfe482216fd0b17a2e3d712ef7bf1a644f5559e873'
            '3101d1063e9c45eccb505fa21578cba33ae5c85b3d5b1c62c90806ad9d7b04410c91ded7a7115a85d1f6ecbd90ccc9e5f2ecf269dac4a557baa017a629bbcf81'
            'c4d97aac8fd08497f4111f57ccfe7513b2172131ea8be61f5cc9d417bfc409c18286b270584215a2bf3ec1b1059008255ade87940eb151ce925c74a7184ee1f6')

package() {
  mkdir -p "${pkgdir}/usr/src/${_pkgname}-${pkgver}"
  sed -i "s/#MODULE_VERSION#/${pkgver}/" dkms.conf
  install -Dm644 dkms.conf -t "$pkgdir/usr/src/${_pkgname%}-$pkgver/"
  install -Dm644 "${_pkgname%}-$pkgver"/Makefile -t "$pkgdir/usr/src/${_pkgname%}-$pkgver/"
  install -Dm644 "${_pkgname%}-$pkgver"/tuxedo_keyboard.conf -t "$pkgdir/usr/lib/modprobe.d/"
  install -Dm644 "$srcdir/tuxedo_io.conf" -t "$pkgdir/usr/lib/modules-load.d/"
  #cp -avr "${_pkgname%}-$pkgver"/* "$pkgdir/usr/src/${_pkgname%}-$pkgver/"
  cp -avr "${_pkgname%}-$pkgver"/src/* "$pkgdir/usr/src/${_pkgname%}-$pkgver/"
}

port19 commented on 2023-12-13 14:20 (UTC)

4.0.0 doesn't work on my Aura 15 Gen 1. Installs fine, but keylight and fan control via the control center no longer works

jsimon0 commented on 2023-12-13 13:12 (UTC)

@StevenSeifried I have now reported it, thanks!

tyler19820201 commented on 2023-12-13 09:10 (UTC)

"These two packages are conflicting with each other.

Nope. tuxedo-control-center-bin depends on tuxedo-drivers-dkms.

tuxedo-keyboard-dkms and tuxedo-keyboard-ite-dkms are replaced by and conflicting withtuxedo-drivers-dkms."

I have got it now. Thanks.

StevenSeifried commented on 2023-12-13 07:10 (UTC)

@jsimon0 please consider reporting this issue at GitLab.

Thx

StevenSeifried commented on 2023-12-13 07:06 (UTC)

These two packages are conflicting with each other.

Nope. tuxedo-control-center-bin depends on tuxedo-drivers-dkms.

tuxedo-keyboard-dkms and tuxedo-keyboard-ite-dkms are replaced by and conflicting withtuxedo-drivers-dkms.

tyler19820201 commented on 2023-12-12 22:57 (UTC)

Conflicts found: tuxedo-drivers-dkms: tuxedo-keyboard-dkms (tuxedo-keyboard)

Which one shall is use now? tuxedo-drivers-dkms-4.0.0-3 or tuxedo-control-center-bin-2.0.11-2 ?? These two packages are conflicting with each other.

jsimon0 commented on 2023-12-12 19:54 (UTC)

JFYI, this appears to fail against 6.1 LTS headers due to some incompatibility...

$ sudo make -j20 KERNELRELEASE=6.1.67-1-lts -C /usr/lib/modules/6.1.67-1-lts/build M=/var/lib/dkms/tuxedo-drivers/4.0.0/build;
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_keyboard.o
  CC [M]  /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.o
In file included from /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_keyboard.c:22:
/var/lib/dkms/tuxedo-drivers/4.0.0/build/clevo_keyboard.h:917:24: error: initialization of 'int (*)(struct power_supply *)' from incompatible pointer type 'int (*)(struct power_supply *, struct acpi_battery_hook *)' [-Werror=incompatible-pointer-types]
  917 |         .add_battery = clevo_battery_add,
      |                        ^~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/clevo_keyboard.h:917:24: note: (near initialization for 'battery_hook.add_battery')
/var/lib/dkms/tuxedo-drivers/4.0.0/build/clevo_keyboard.h:918:27: error: initialization of 'int (*)(struct power_supply *)' from incompatible pointer type 'int (*)(struct power_supply *, struct acpi_battery_hook *)' [-Werror=incompatible-pointer-types]
  918 |         .remove_battery = clevo_battery_remove,
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/clevo_keyboard.h:918:27: note: (near initialization for 'battery_hook.remove_battery')
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'platform_profile_show':
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:32:33: error: implicit declaration of function 'container_of_const'; did you mean 'container_of_safe'? [-Werror=implicit-function-declaration]
   32 | #define dev_to_wdev(__dev)      container_of_const(__dev, struct wmi_device, dev)
      |                                 ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:156:35: note: in expansion of macro 'dev_to_wdev'
  156 |         struct wmi_device *wdev = dev_to_wdev(pdev->dev.parent);
      |                                   ^~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:32:59: error: expected expression before 'struct'
   32 | #define dev_to_wdev(__dev)      container_of_const(__dev, struct wmi_device, dev)
      |                                                           ^~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:156:35: note: in expansion of macro 'dev_to_wdev'
  156 |         struct wmi_device *wdev = dev_to_wdev(pdev->dev.parent);
      |                                   ^~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'platform_profile_store':
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:32:59: error: expected expression before 'struct'
   32 | #define dev_to_wdev(__dev)      container_of_const(__dev, struct wmi_device, dev)
      |                                                           ^~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:194:35: note: in expansion of macro 'dev_to_wdev'
  194 |         struct wmi_device *wdev = dev_to_wdev(pdev->dev.parent);
      |                                   ^~~~~~~~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'tuxedo_nb05_power_profiles_probe':
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:258:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  258 |         const struct platform_device_info pinfo = {
      |         ^~~~~
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'tuxedo_nb05_power_profiles_remove':
/var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.c:287:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  287 |         struct driver_data_t *driver_data = dev_get_drvdata(&wdev->dev);
      |         ^~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05/tuxedo_nb05_power_profiles.o] Error 1
make[1]: *** [scripts/Makefile.build:500: /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_nb05] Error 2
make[1]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/tuxedo-drivers/4.0.0/build/tuxedo_keyboard.o] Error 1
make: *** [Makefile:2014: /var/lib/dkms/tuxedo-drivers/4.0.0/build] Error 2

FuzzyAtish commented on 2023-12-12 18:33 (UTC)

I can confirm that following the instructions provided by Steven -3 is working fine.

I don't think there's a need to apologize, we're all thankful that there's someone maintaining this package