I’ve been troubleshooting some oddities on my machine this afternoon and one thing I’ve done to try and find some conflicts is remove some often unneeded kernel modules. I thought I would outline quickly how to disable and permanently remove the bluetooth module for those that don’t use it. I realize I don’t think I’ve used the bluetooth system on my machine for months, so I may as well just disable the module permanently.
Permanently disable the Bluetooth module
To disable the bluetooth module from being loaded at boot time we’ll need to add it to the system module blacklist. Basically your system keeps a list of modules that need to be blacklisted for various reasons, often those that cause problems, and we’ll add this to that list.
sudo vim /etc/modprobe.d/blacklist
append this line to the end of the file:
You also may want to turn off the bluetooth services within the desktop as well. Granted they shouldn’t be able to do anything if the module support is not loaded underneath, but it doesn’t hurt.
Disable the bluetooth services
System > Preferences > Sessions should have a listing for the bluetooth service. You may want to uncheck this box or even remove the listing altogether.
System > Administration > Services also contains a listing for starting up the bluetooth system at boot time. You may also want to uncheck this box.
Between blacklisting the module and removing the services from starting up this should disable the bluetooth system on Ubuntu. If you don’t use it, don’t load it. It is just going to take up a bit more of your resources and, for those with laptops, will save power as will if you often go unplugged.