linuxwacom / input-wacom

Linux kernel driver for Wacom devices
GNU General Public License v2.0
616 stars 58 forks source link

Modules are not being loaded post-install and reboot #364

Closed qudrxt closed 1 year ago

qudrxt commented 1 year ago

I am using Ubuntu release: Ubuntu 22.04.2 LTS and a One by Wacom unit.

The installation process for me all succeeds up and until after I rebooted the system and check the module's loaded state with the tablet plugged into my machine.

Executing: 'grep "" /sys/module/wacom/version', prints to standard output: 'grep: /sys/module/wacom/version: No such file or directory'.

However, the modinfo command does succeed denoting that the module has been successfully installed, I see on standard output with that command:

'version: v2.00-input-wacom srcversion: EE6A1F6B957262843DA12F9 vermagic: 5.19.0-42-generic SMP preempt mod_unload modversions'

lsmod does not indicate that either of the two modules are loaded in the Kernel and executing the commands of the trouble shoot section achieves:

'rmmod: ERROR: Module wacom is not currently loaded rmmod: ERROR: Module wacom_w8001 is not currently loaded modprobe: ERROR: could not insert 'wacom': Key was rejected by service modprobe: ERROR: could not insert 'wacom_w8001': Key was rejected by service'

This may be due to my machine having a secure booting requirement, I tried appending the key and certificate flags to the invocation of the bash scripts but could not get this to be syntactically correct, I used:

'if test -x ./autogen.sh --with-signing-key= --with-signing-cert=; then ./autogen.sh --with-signing-key= --with-signing-cert=; else ./configure --with-signing-key= --with-signing-cert=; fi && make && sudo make install || echo "Build Failed"', can someone please correct me?

With the tablet plugged in, it cannot detect the stylus under the 'Wacom Tabet' section in Settings. There is no hardware issue as I can see that it is aware that the stylus is in close proximity with the LED light.

qudrxt commented 1 year ago

I think the issue relates to my machine employing Secure Boot and the modules being unsigned.

With a call to 'dmesg', I see:

'[ 0.000000] secureboot: Secure boot enabled [ 0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7'

And the very last two lines:

'[ 265.924992] Loading of unsigned module is rejected [ 265.930245] Loading of unsigned module is rejected'

I am certain that the two modules referred to here are wacom and wacom_w8001.

qudrxt commented 1 year ago

Yes this was the issue. The correct way to execute the installation command with those flags specified is to provide the path to those files, as what has been specified serve as a place holder.