berarma / new-lg4ff

Experimental Logitech force feedback module for Linux
GNU General Public License v2.0
315 stars 20 forks source link

Can't load module on Linux Mint 19.2 #8

Closed simon50keda closed 4 years ago

simon50keda commented 4 years ago

Make & install worked as described. However loading module complains it doesn't have module directory.

Output:

> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ make
make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-23-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-23-generic'
> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ sudo make install
make -C /lib/modules/`uname -r`/build M=$PWD modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-23-generic'
  INSTALL /home/simon/Work/GIT-private/new-lg4ff/hid-logitech-new.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  5.3.0-23-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-23-generic'
> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ sudo rmmod hid-logitech
rmmod: ERROR: Module hid_logitech is not currently loaded
> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ sudo modprobe hid-logitech-new
modprobe: FATAL: Module hid-logitech-new not found in directory /lib/modules/5.3.0-23-generic
> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ ls /lib/modules/5.3.0-23-generic
build   kernel             modules.builtin      modules.dep.bin  modules.softdep      vdso
extra   modules.alias      modules.builtin.bin  modules.devname  modules.symbols
initrd  modules.alias.bin  modules.dep          modules.order    modules.symbols.bin
> simon@simon-PC:~/Work/GIT-private/new-lg4ff$ ls /lib/modules/5.3.0-23-generic/extra
hid-logitech-new.ko
simon50keda commented 4 years ago

Nevermind, I forgot to execute: sudo depmod -A It's loaded now!

leillo1975 commented 4 years ago

@simon50keda , your opinion about this new driver is very important. Can you share your thoughts about it?

berarma commented 4 years ago

Hi @simon50keda. You can create an issue with any suggestions or ideas you want to share.