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...
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.
This should tell you if you have a Bluetooth adapter. I don't so mine said "No Bluetooth adapters found". I'm not sure what it would say if you have one but it should be obvious.
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:
If you get output simliar to the below then your laptop has bluetooth capability.
Using
lsusb
:Should give an output similar to:
If there is no bluetooth device, you'll get no output for this command.
Courtesy: https://help.ubuntu.com/community/BluetoothSetup#Manual_Discovery
on my Asus laptop i have a Bluetooth icon on the top right and
Gets:
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
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:
Then:
The above to make sure that you have installed all that is needed, and that all was properly initialized. Now:
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
anddmesg | 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...You laptop may likey have a bluetooth mac address printed on a sticker near the battery on the underneath of your laptop.
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
andlspci
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 as13d3: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
And in addition to information collected by apport add output of
sudo cat /sys/kernel/debug/usb/devices
terminal command.Why not using
lshw
(list hardware) and catch for the wordblue
in case insensitive mode-i
In addition to commands posted, each of which might fail reporting the Bluetooth adapter on occasion, you could try
There is an easier solution.
If you are not seeing output in dmesg, etc. You may need to install the kernel module
Then you can check dmesg, etc.
(if you wish to ensure that kernel module loads at boot time, add it to /etc/modules.
echo "btusb" >> /etc/modules