WCHSoftGroup / ch341ser_linux

USB to serial driver for USB to serial chip ch340, ch341, etc.
69 stars 28 forks source link

insmod: ERROR: could not insert module ch341.ko: Key was rejected by service #12

Open LuHaGH opened 9 months ago

LuHaGH commented 9 months ago

It is not possible to load or install insmod: ERROR: could not insert module ch341.ko: Key was rejected by service

Cadybara commented 8 months ago

I think I might be able to help here. I had this problem myself and found it was related to secure boot so it can be solved by disabling secure boot in BIOS/UEFI. I also read about another solution in this file but I did not try this one:

  1. Goto the directory of the source code
  2. Compile: make
  3. Sign the module (needed in systems with secure boot enabled) : kmodsign sha512 /var/lib/shim-signed/mok/MOK.priv /var/lib/shim-signed/mok/MOK.der ./ch34x.ko
  4. Load module: make load