← Back to team overview

lubuntu-desktop team mailing list archive

Re: [Doc/Support Request] Removal of Bluetooth

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hiya,

On Monday 26 December 2011 06:52 PM, A. Andjelkovic wrote:
> Hi list,
> 
> As I was looking around the web for a way to remove/disable
> bluetooth completely, as the BIOS of the machine can't do it for
> some reason (I rather not flash it). I noticed that there were no
> good documentation regarding this issue, neither on our own
> wiki[1], help.ubuntu[2], or arch's wiki[3].
> 
> So I shamefully ask if someone could provide their expertise to 
> document this issue?
> 
> Ideas on what to cover:
> 
> *Disabling bluetooth by configuration. *Removing bluetooth related
> packages. *Disabling the kernel module (for marginal boot time
> decrease, if any).
> 
> Regards, Alexander.
> 
> [1]: https://help.ubuntu.com/community/Lubuntu/Documentation [2]:
> https://help.ubuntu.com/community/Bluetooth [3]:
> https://wiki.archlinux.org/index.php/Bluetooth

Well, for disabling the kernel module, you can blacklist it to not
load at boot time.

lsmod | grep bluetooth - This will give you the bluetooth module and the
other modules that require it. For me the output is:
bluetooth             179900  23 rfcomm,bnep,btusb

You will have to blacklist these modules in /etc/modprobe.d/blacklist
So add the following lines to /etc/modprobe.d/blacklist file:

blacklist rfcomm
blacklist bnep
blacklist btusb
blacklist bluetooth

And reboot. After the reboot you can check lsmod | grep bluetooth to
see if it is loaded or not, if it returns empty then it's not loaded.

As for the bluetooth related packages, I'm not sure maybe someone else
can point out the relevant packages specific to Lubuntu as I have a
lot of other packages installed as well, I believe removing bluez and
bluetooth should do it.

Hope this helps, cheers :)

Regards,
Bhaskar Kandiyal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk742SEACgkQc3l9wn9I2Ofo4ACfV0vZMxrdEgfIrPBSJFjEPIef
QZgAn3HV/KN1x3Qli6pVUbv2tXxnJeoQ
=KTBN
-----END PGP SIGNATURE-----


Follow ups

References