Official NuTyX forums

Help => General => Topic started by: Dj on Thu Dec 29 15:25:39 2022

Title: How to remove unneeded modules
Post by: Dj on Thu Dec 29 15:25:39 2022
Hello!
 I did not install any bluetooth application. But I can see that some bt modules are active.
Any ideas, thank you.
Title: Re: How to remove unneeded modules
Post by: Thierry on Thu Dec 29 15:53:52 2022
https://www.linuxfromscratch.org/lfs/view/development/chapter09/udev.html
Title: Re: How to remove unneeded modules
Post by: Dj on Thu Dec 29 18:01:24 2022
There is no  /etc/modprobe.d/
Title: Re: How to remove unneeded modules
Post by: Thierry on Thu Dec 29 18:33:06 2022
Damm you right it's in

/etc/sysconfig/modules.d/ directory now

Thanks for pointing  out

Documentation is also fixed (http://nutyx.org/en/configuration-files) :)
BR,
Thierry
Title: Re: How to remove unneeded modules
Post by: Dj on Fri Jan 06 11:26:01 2023
I am not quite sure how to blacklist bluetooth.
There is no /etc/sysconfig/modules.d/ folder in my installation of Nutyx.
Title: Re: How to remove unneeded modules
Post by: Thierry on Fri Jan 06 12:33:31 2023
Hi Dj

Blacklist it in a /etc/sysconfig/modprobe.d/blacklist.conf file as done with the forte module in the example below:

In root:

Code: [Select]
mkdir -p /etc/sysconfig/modules.d
echo "blacklist forte" >/etc/sysconfig/modprobe.d/blacklist.conf

Blacklisted modules can still be loaded manually with the explicit modprobe command.

BR,
Thierry
Title: Re: How to remove unneeded modules
Post by: Dj on Sat Jun 24 16:47:51 2023
Sorry for bumping this thread. I have been trying to blacklist acpi-cpufreq.
 But that module is still active.
 Can anyone help ?
Title: Re: How to remove unneeded modules
Post by: Thierry on Sun Jun 25 20:42:41 2023
What is the file you're using for blacklisting ?