Author Topic: How to disable Bluetoothd  (Read 669 times)

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 92
How to disable Bluetoothd
« on: December 25, 2012, 07:36:24 AM »
My laptop has bluetooth hardware which I am not using. According to
Quote
ps -elf |grep bluetoothd
the daemon is running. I cannot find a service which starts it at boot time. How can I disable it from starting at all?

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: How to disable Bluetoothd
« Reply #1 on: December 25, 2012, 08:01:27 AM »
Does it get listed if you go to PCC > Network & Internet > Remove a connection?

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 92
Re: How to disable Bluetoothd
« Reply #2 on: December 25, 2012, 08:28:02 AM »
Does it get listed if you go to PCC > Network & Internet > Remove a connection?

No, it does not. The only listed interfaces are eth0 and wlan0 which are my hard wired and wireless ethernet interfaces respectively.

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2116
Re: How to disable Bluetoothd
« Reply #3 on: December 25, 2012, 10:39:18 AM »
Guess you need blacklist the driver/module in /etc/modprobe.conf (If I'm correct?)

Code: blacklist driver/module name (must be done as su).

From a another site:

Quote

    Note: blacklisting will not work for modules which are built into the kernel image (i.e. not loaded via a separate .ko file. The only way to disable such modules is via a kernel parameter (if available) or by recompiling the kernel.

Just open your /etc/modprobe.d/blacklist file and add drivername using following syntax:

blacklist driver-name

Reboot your box and use lsmod command to show the status of modules in the Linux Kernel

Note: here driver-name is the name of your desired blacklist driver. For example, If you wanted to disable the NIC card driver, you can find the name of kernel driver for your LAN card by using the command lspci -v command in a terminal.

JohnW
« Last Edit: December 25, 2012, 10:54:03 AM by JohnW_57 »
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 92
Re: How to disable Bluetoothd
« Reply #4 on: December 25, 2012, 10:54:39 AM »
Guess you need blacklist the driver/module in /etc/modprobe.conf (If I'm correct?)

Code: blacklist driver/module name (must be done as su).

JohnW

which driver needs to be blacklisted? If I run
Code: [Select]
smod |grep blue
bluetooth             134084  23 rfcomm,bnep,btusb
rfkill                 12586  4 bluetooth,cfg80211,dell_laptop
crc16                   1069  2 bluetooth,ext4
This would seem to imply that I need to blacklist bluetooth, rfkill, crc16, btusb, etc ... It seems like a long list

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2116
Re: How to disable Bluetoothd
« Reply #5 on: December 25, 2012, 11:12:23 AM »
If the Bluetoothd is listed in PCC hardware section you can find the driver/module in the list.
As example: Module: ‎ata_piix (ata_piix is the module/driver)

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 92
Re: How to disable Bluetoothd
« Reply #6 on: December 25, 2012, 02:45:52 PM »
I wound up blacklisting btusb in /etc/modprobe/blacklist. Now, bluetooth does not appear in PCC --> Hardware. Thanks!

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1518
    • PCLinuxOS.nl
Re: How to disable Bluetoothd
« Reply #7 on: December 26, 2012, 06:26:10 AM »

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15296
  • ┌∩┐(◕_◕)┌∩┐
Re: How to disable Bluetoothd
« Reply #8 on: December 26, 2012, 06:59:59 AM »
Could mebbe try looking in

Config Your Desktop > Network and Connectivity > Bluetooth > Devices - Enable KDE Bluetooth integration
Config Your Desktop > Network and Connectivity > Bluetooth > File transfers
Config Your Desktop > Network and Connectivity > Bluetooth > Adapters
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 92
Re: How to disable Bluetoothd
« Reply #9 on: December 26, 2012, 08:13:10 AM »
rfkill-qt-gui a handy tool for swiching
http://www.pclinuxos.com/forum/index.php/topic,110950.msg947181.html#msg947181



rfkill-qt-gui sounds great, but it's in testing right now. I don't want to pollute my main install with "unstable" content. I'll wait for it to migrate to the regular sections.

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: How to disable Bluetoothd
« Reply #10 on: December 28, 2012, 11:45:30 AM »
I'm just setting up my daughters new laptop and I had a job to turn ON wifi/bluetooth   :( ,I found there is a setting in the 'Bios' settings.
Once that box was 'ticked' I can use a 'keyboard function switch' to turn it on  and off.
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.