WCHSoftGroup / ch343ser_linux

USB driver for USB to serial chip ch342, ch343, ch344, ch9101, ch9102, ch9103, etc
125 stars 46 forks source link

insmod: ERROR: could not insert module ch343.ko: Operation not permitted #9

Open SHUNLU-1 opened 2 years ago

SHUNLU-1 commented 2 years ago

我的linux内核版本是5.13.0-40-generic,请问为什么insmod失败呢

SoldierJazz commented 2 years ago

insmod 驱动模块需要sudo权限。

XiaoxiZZZZ commented 2 years ago

我加了sudo 也没有解决,请问是为什么呢

Ary-ovo commented 2 years ago

我加了sudo 也没有解决,请问是为什么呢

我把那个bios的安全启动去掉就好了,可以参考这几个文章https://www.csdn.net/tags/OtDaQg4sOTY4MTQtYmxvZwO0O0OO0O0O.html https://community.silabs.com/s/question/0D51M00007xePiwSAE/cp210x-insmod-operation-not-permitted-in-ubuntu-18042-lts?language=en_US

ihincks commented 1 year ago

Try disabling secure boot in your bios settings.

Skgland commented 7 months ago

Signing the kernel module following https://ubuntu.com/blog/how-to-sign-things-for-secure-boot worked for me.