Wacom tablet not connecting with Ubuntu Linux

1.0 Error

Wacom One CTL-672/KO-CX tablet was not connecting with a laptop running Ubuntu Linux 18.04 LTS. It was working fine earlier, with the wacom driver obtained from the Linux Wacom Project. The Linux kernel on the laptop had been updated recently. The following error messages were observed.

$ lsusb | grep -i wacom
Bus 001 Device 013: ID 056a:037b Wacom Co., Ltd
$

$ dmesg | grep -i wacom
[16996.708319] usb 1-1.4: Manufacturer: Wacom Co.,Ltd.
[17002.249676] wacom: version magic '4.15.0-50-generic SMP mod_unload ' should be '4.15.0-51-generic SMP mod_unload '
[17002.249703] wacom: version magic '4.15.0-50-generic SMP mod_unload ' should be '4.15.0-51-generic SMP mod_unload '
[17002.250098] wacom: version magic '4.15.0-50-generic SMP mod_unload ' should be '4.15.0-51-generic SMP mod_unload '
[17002.250105] wacom: version magic '4.15.0-50-generic SMP mod_unload ' should be '4.15.0-51-generic SMP mod_unload '

$ lsmod | grep wacom
$ sudo modprobe wacom
modprobe: ERROR: could not insert 'wacom': Exec format error
$ sudo modprobe -f wacom
modprobe: ERROR: could not insert 'wacom': Exec format error

2.0 Solution

It appears that whenever Linux kernel is updated, the wacom driver has to be built and installed. So the following commands were given.

$ cd ~/input-wacom-0.42.0
$ sudo make uninstall
$ sudo make clean

After that, we wacom driver was built and installed as per the instructions given at Installing input wacom from source.