Module not signed for Ubuntu 16.04 (Clevo P950HR)

Issue #31 new
Timo Stoffregen created an issue

Hi,

I have been trying unsuccessfully to install this driver on my Clevo P950HR. However, when calling

 cd module && make && make install

I get the following:

make -C /lib/modules/4.10.0-37-generic/build M=/home/timo/clevo-xsm-wmi/module modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-37-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-37-generic'
make -C /lib/modules/4.10.0-37-generic/build M=/home/timo/clevo-xsm-wmi/module modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-37-generic'
  INSTALL /home/timo/clevo-xsm-wmi/module/clevo-xsm-wmi.ko
cp: cannot create regular file '/lib/modules/4.10.0-37-generic/extra/clevo-xsm-wmi.ko': Permission denied
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.10.0-37-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-37-generic'

I guess this has to do with the stricter signing that Ubuntu has implemented since 16.04, similar to the problem discussed here: https://github.com/free5lot/hid-apple-patched/issues/23

I tried to follow the instructions to build the kernel module using dkms as described here https://wiki.centos.org/HowTos/BuildingKernelModules, but to no avail. Can anyone help me with this? This particular model of laptop is supported, correct? If its any help, here is some more system info:

timo@fiend:~/clevo-xsm-wmi/module$ uname -a
Linux fiend 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
timo@fiend: dmesg | grep clevo
[    3.780033] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input14
[    3.780106] clevo_xsm_wmi: Polling thread started (PID: 320), polling at 5 Hz
[    3.783567] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().

Many thanks! Timo

Comments (1)

  1. Endmor

    i just had this issue resolved recently. my main problem was i didn't fully read the readme past the install steps, specifically under the common issues section.

  2. Log in to comment