input-wacom icon indicating copy to clipboard operation
input-wacom copied to clipboard

Module not compatble with kernel 6.15.2-arch1-1

Open leo1mml opened this issue 5 months ago • 2 comments

That's the log I get when running dkms autoinstall for double checking the error.

Please run 'make && make install'.
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build'
Making all in 4.18
make[2]: Entering directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build/4.18'
    Building input-wacom drivers for 4.18 kernel.
make -C /lib/modules/6.15.2-arch1-1/build M=/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build/4.18 
make[3]: Entering directory '/usr/lib/modules/6.15.2-arch1-1/build'
make[4]: Entering directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build/4.18'
  CC [M]  wacom_wac.o
  CC [M]  wacom_sys.o
wacom_sys.c: In function ‘wacom_remove’:
wacom_sys.c:2916:9: error: implicit declaration of function ‘del_timer_sync’ [-Wimplicit-function-declaration]
 2916 |         del_timer_sync(&wacom->idleprox_timer);
      |         ^~~~~~~~~~~~~~
make[6]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: wacom_sys.o] Error 1
make[5]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:2003: .] Error 2
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:248: __sub-make] Error 2
make[4]: Leaving directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build/4.18'
make[3]: *** [Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/usr/lib/modules/6.15.2-arch1-1/build'
make[2]: *** [Makefile:43: all] Error 2
make[2]: Leaving directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build/4.18'
make[1]: *** [Makefile:371: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/input-wacom/1.4.0.4.g5c2ebb1/build'
make: *** [Makefile:310: all] Error 2

# exit code: 2
# elapsed time: 00:00:17

leo1mml avatar Jun 16 '25 21:06 leo1mml

bump

crowplexus avatar Jun 17 '25 19:06 crowplexus

bump

Frakits avatar Jun 17 '25 19:06 Frakits

Well, del_timer_sync was changed to timer_delete_sync in kernel 6.15. Please replace del_tmer_sync with timer_delete_sync in 4.18/wacom_sys.c and try it again. Let us know if that works or not. We will update input-wacom accordingly.

Pinglinux avatar Jun 20 '25 17:06 Pinglinux

Confirmed changes mentioned by @Pinglinux works just fine.

savisitor15 avatar Jun 26 '25 18:06 savisitor15