Kernel Modules – How to Disable a Kernel Module Persistently

kernel-modulesmodprobe

So I had this problem with my new Lenovo ThinkPad 13 where it did not resume from suspension and hibernation. After 2 days of troubleshooting I found out that apparently a module called intel_lpss_pci is causing the problem. When I disable it, everything works fine. I'm not exactly sure what it is used for too, as everything seems to be working just fine without it.

Now to my question. How can I disable this module for good?

I tried the kernel parameter modprobe.blacklist=intel_lpss_pci which didn't seem to do the trick and also adding it to /etc/modprobe.d/blacklist did not seem to work.

Any ideas on how to proceed?

Best Answer

The proper file is:

/etc/modprobe.d/blacklist.conf

(notice the extension .conf). And at the end of this file put a line:

blacklist intel_lpss_pci
Related Question