How can I tell if my laptop has Bluetooth?

135,122

Solution 1

Your kernel would have picked it up and loaded a module for it when you started Ubuntu. From the command line, gnome-terminal type this command:

dmesg | grep -i blue

If you get output simliar to the below then your laptop has bluetooth capability.

[    2.933062] usb 1-1.4: Product: Broadcom Bluetooth Device

Solution 2

Using lsusb:

sudo lsusb |grep Bluetooth

Should give an output similar to:

Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

If there is no bluetooth device, you'll get no output for this command.

Courtesy: https://help.ubuntu.com/community/BluetoothSetup#Manual_Discovery

Solution 3

on my Asus laptop i have a Bluetooth icon on the top right and

dmesg | grep Blue

Gets:

[    3.757769] Bluetooth: Core ver 2.16
[    3.757798] Bluetooth: HCI device and connection manager initialized
[    3.757802] Bluetooth: HCI socket layer initialized
[    3.757805] Bluetooth: L2CAP socket layer initialized
[    3.757814] Bluetooth: SCO socket layer initialized
[    3.767297] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    4.332846] Bluetooth: RFCOMM TTY layer initialized
[    4.332853] Bluetooth: RFCOMM socket layer initialized
[    4.332856] Bluetooth: RFCOMM ver 1.11
[    4.340772] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.340776] Bluetooth: BNEP filters: protocol multicast

but: sudo lsusb |grep Bluetooth Doesn't return anything.

also check if you have a Hardware network (airplane mode) switch. This can disable bluetooth and make it not visible to Ubuntu

Solution 4

All of the proposed answers failed to produce a correct result in my case. To detect whether my laptop indeed has a Bluetooth adapter I had to follow these instructions:

sudo apt-get install bluez-utils

Then:

sudo /etc/init.d/bluetooth restart

The above to make sure that you have installed all that is needed, and that all was properly initialized. Now:

geek@liv-inspiron:~$ hcitool dev
Devices:
    hci0    00:11:95:00:1A:CF

Note that your Bluetooth device will have a different ID. I also had to make sure that in Blueman Bluetooth was Turned On.

Before or after both lsusb |grep -i bluetooth and dmesg | grep -i blue do NOT output anything of interest (i.e. empty). Yet, the Bluetooth adapter is physically present and I can send files to another device...

Solution 5

There is no way to find it out precisely. Some bluetooth modules are not supported by linux kernel and may not be detected.

Generally, you would look for bluetooth modules in lsusb and lspci outputs. But even if a module is supported, there may be output, which does not contain "bluetooth".

For instance, I have a working Atheros AR3012 bluetooth module.

lsusb shows it as 13d3:3408 IMC Networks.

It was not supported initially, I made a kernel patch to get it work. Now this patch is applied to all Ubuntu supported kernels.

If you are sure that you have bluetooth, and it does not work in Ubuntu, report this to launchpad by running in terminal

ubuntu-bug linux

And in addition to information collected by apport add output of sudo cat /sys/kernel/debug/usb/devices terminal command.

Share:
135,122

Related videos on Youtube

James
Author by

James

Updated on September 18, 2022

Comments

  • James
    James over 1 year

    How can I tell if my laptop has a Bluetooth adapter?

    • Admin
      Admin almost 11 years
      Does it have the hardware, or you need to enable in Ubuntu?
  • saji89
    saji89 almost 11 years
    The above dmesg output is not indicative of bluetooth devices. It even shows up in my desktop with no bluettoth facility. So the above output bears no use in this particular case. But if it gives something liek [ 2.933062] usb 1-1.4: Product: Broadcom Bluetooth Device at the top as @kingmilo pointed out then it shows that you have device.
  • saji89
    saji89 almost 11 years
    But I'm puzzled regarding the output in your system. Was your bluetooth device disabled(by hardware switch) when you executed: dmesg | grep Blue and sudo lsusb |grep Bluetooth ?
  • TiloBunt
    TiloBunt almost 10 years
    BT was enabled and working when the above output was giving. no HW switch on my laptop (Asus G73)
  • landroni
    landroni about 9 years
    Do you really need sudo? Here it works without...
  • landroni
    landroni about 9 years
    This solution didn't produce correct results in my case. See my answer.
  • Sergiy Kolodyazhnyy
    Sergiy Kolodyazhnyy about 9 years
    No blue teeth on my laptop and still dmesg | grep -i bluetooth shows Bluetooth messages, which I think are more related to /etc/init/bluetooth.conf than actual hardware
  • Azarius Jenkins
    Azarius Jenkins almost 8 years
    see mine shows up with a bluetooth icon in the upper right hand corner and when i search it pops up as well but i cant seem to connect it to anything
  • pd12
    pd12 over 7 years
    in 16.04 the package to install is sudo apt-get install bluez-tools
  • RhodanV5500
    RhodanV5500 about 7 years
    Please be aware that this will not work if your bluetooth device is using UART, not USB (if it is part of a SOC). In this case only dmesg will work.
  • user496637
    user496637 over 6 years
    when you put you bluetooth visible "ON", and type hcitool dev the bluetooth is showed.
  • mirh
    mirh over 5 years
    Since BlueZ 5.44 hcitool is deprecated. You can either use bt-adapter -l or bluetoothctl devices.
  • nealmcb
    nealmcb over 4 years
    What are you searching with, i.e. what is your Super key mapped to? In 18.04 (Gnome shell) I get a view of all the windows, and I think that is the default now.
  • x-yuri
    x-yuri over 3 years
    That won't work if it's been a while since you booted the laptop. The kernel ring buffer has a limited size and keeps only the latest messages. Alternatively you can try journalctl -b.
  • David Jonsson
    David Jonsson over 2 years
    Mine did not show up, but it works. Could it be connected with PCIe? It is a Qualcomm Atheros QCA9377.