Comment 0 for bug 2133753

Revision history for this message
John Cabaj (john-cabaj) wrote :

[ Impact ]

DKMS make.log for digimend-12 for kernel 6.17.0-7-generic (x86_64)
Tue Dec 2 22:08:55 UTC 2025
make -C /lib/modules/6.17.0-7-generic/build M=/var/lib/dkms/digimend/12/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[2]: Entering directory '/var/lib/dkms/digimend/12/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M] hid-kye.o
  CC [M] hid-uclogic-core.o
  CC [M] hid-uclogic-rdesc.o
  CC [M] hid-uclogic-params.o
  CC [M] hid-polostar.o
hid-uclogic-core.c: In function ‘uclogic_remove’:
hid-uclogic-core.c:495:9: error: implicit declaration of function ‘del_timer_sync’ [-Werror=implicit-function-declaration]
  495 | del_timer_sync(&drvdata->inrange_timer);
      | ^~~~~~~~~~~~~~
hid-uclogic-params.c: In function ‘uclogic_params_init’:
hid-uclogic-params.c:1685:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1685 | if (bNumInterfaces != 3) {
      | ^
hid-uclogic-params.c:1703:9: note: here
 1703 | case VID_PID(USB_VENDOR_ID_HUION,
      | ^~~~
  CC [M] hid-viewsonic.o
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: hid-uclogic-core.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/digimend/12/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:26: modules] Error 2

[ Test case ]

Install the latest linux-6.17 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
$ sudo apt install linux-generic-hwe-24.04-edge

Install digimend-dkms:

$ sudo apt install digimend-dkms

Load the modules:

$ sudo modprobe hid-kye
$ sudo modprobe hid-uclogic
$ sudo modprobe hid-polostar
$ sudo modprobe hid-viewsonic

The same procedure can be repeated on linux-6.8 to test for possible regressions.

[ Fix ]

Apply patches from digimend-dkms Questing release enabling 6.17

* debian/patches/support-linux-6.15.patch

[ Regression potential ]

We may experience regressions in systems that are using the digimend drivers, especially with kernels >= 6.8 kernel.