How do I find out if I've got a built-in bluetooth-adapter?

17 réponses [Dernière contribution]
anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

I've installed the blueman package but it keeps saying that there is no adapter. How do I find out whether I don't have one built-in or whether it lacks drivers or the like?

Thanks in advance!

loldier
Hors ligne
A rejoint: 02/17/2016

Try this (Bluetooth uses the uSB bus).

dmesg | grep -i blue

lutes
Hors ligne
A rejoint: 09/04/2020

I seem to remember you disabled it some time ago because of a 100% CPU load.

If you are still using the same system, then you might try:

sudo systemctl enable bluetooth.service

and restart your system.

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

Thanks for your swift replies.

dmesg | grep -i blue

yields

[ 1.887309] usb 3-11: Product: Bluetooth Radio
[ 8.003177] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 8.157490] Bluetooth: Core ver 2.21
[ 8.157508] Bluetooth: HCI device and connection manager initialized
[ 8.157511] Bluetooth: HCI socket layer initialized
[ 8.157514] Bluetooth: L2CAP socket layer initialized
[ 8.157518] Bluetooth: SCO socket layer initialized
[ 8.261498] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8761
[ 8.261500] Bluetooth: hci0: rtl: loading /*(DEBLOBBED)*/
[ 8.282296] bluetooth hci0: Direct firmware load failed with error -2
[ 8.282300] Bluetooth: hci0: Failed to load /*(DEBLOBBED)*/
[ 8.659468] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8761
[ 8.659472] Bluetooth: hci0: rtl: loading /*(DEBLOBBED)*/
[ 8.659488] bluetooth hci0: Direct firmware load failed with error -2
[ 8.659490] Bluetooth: hci0: Failed to load /*(DEBLOBBED)*/
[ 14.354424] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.354429] Bluetooth: BNEP filters: protocol multicast
[ 14.354434] Bluetooth: BNEP socket layer initialized

sudo systemctl enable bluetooth.service and restart don't help. Using blueman, "add new device" results in the error message "no adapter found".

lutes
Hors ligne
A rejoint: 09/04/2020

You might want to try the following command, that will check the status of your bluetooth device and tell you whether it is soft or hard blocked:

rfkill

You might need to install rfkill first:

sudo apt install rfkill

EDIT: the correct command to re-enable bluetooth might in fact be:

sudo systemctl enable bluetooth

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

"rfkill list" produces:

0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

"sudo systemctl enable bluetooth" and
"sudo systemctl enable bluetooth.service" both produce:

Synchronizing state of bluetooth.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable bluetooth

After restart, blueman still produces the error message "no bluetooth adapter found".

PS: How do I edit my comments so that code or paste from the terminal appear nicely like in your message?

Magic Banana

I am a member!

Hors ligne
A rejoint: 07/24/2010

The Bluetooth may require proprietary firmware.

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

How do I find out if that bluetooth needs proprietary firmware?

lutes
Hors ligne
A rejoint: 09/04/2020

By doing:

lspci

and looking at the "Network controller" line.

PS: what I actually typed is: <"code">lspci<"/code"> without the quotation marks. For other tags, see: https://trisquel.info/en/filter/tips

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

Thanks.

~$ lspci
[...]
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter

h-node.org list the Realtex RTL8192SE wifi card as not working and also I never got my interal wifi working with free software. Do you agree that also bluetooth won't work for the same reason? In general, does the Network controller control both wifi and bluetooth?

lutes
Hors ligne
A rejoint: 09/04/2020

It seems that you should now trust what blueman is telling you:

"...it keeps saying that there is no adapter."

EDIT: what blueman is actually telling you is that there is no adapter not requiring non-free firmware.

gaseousness
Hors ligne
A rejoint: 08/25/2020

"Do you agree that also bluetooth won't work for the same reason?"

Is a fair assumption, I'd imagine.

"In general, does the Network controller control both wifi and bluetooth?"

Appears that your RTL8192EE doesn't, I don't see anything about bluetooth on https://www.realtek.com/en/products/communications-network-ics/item/rtl8192ee

sometimes the proceeding command can be useful to find hardware related information

sudo lshw -sanitize

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

Hey guys (and girls?) ;-)

Thanks very much for your help. I'm about to accept there is no built-in adapter and consider getting a 'free' one, but:
~$ sudo lshw -sanitize
[...]
*-usb:1
Beschreibung: Bluetooth-Schnittstelle
Produkt: Bluetooth Radio
Hersteller: Realtek
Physische ID: b
Bus-Informationen: usb@3:b
Version: 2.00
Seriennummer: [REMOVED]
Fähigkeiten: bluetooth usb-2.10
Konfiguration: driver=btusb maxpower=500mA speed=12Mbit/s

So there seems to be a built-in adapter, right? How do I proceed from here?

Best regards, stay safe!

lutes
Hors ligne
A rejoint: 09/04/2020

> So there seems to be a built-in adapter, right?

Right. But it requires the /*(DEBLOBBED)*/ proprietary firmware:

> [ 8.261498] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8761
> [ 8.261500] Bluetooth: hci0: rtl: loading /*(DEBLOBBED)*/

An easy thing to miss...

> How do I proceed from here?

https://ryf.fsf.org/products/TET-BT4

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

Please help me to understand:
/*(DEBLOBBED)*/ = free as in freedom
proprietary firmware = unfree

Did you mean the BLOBBED firmware? I don't quite get it. Is there firmware that has been freed of anything unfree? And if so, where do I get it?

I probably haven't understood what you meant by sending me the link.

lutes
Hors ligne
A rejoint: 09/04/2020

The placeholder /*(DEBLOBBED)*/ means that the firmware (proprietary blob) has been removed (deblobbed) in the linux-libre kernel.

The link references ryf certified hardware for bluetooth, which means that you do not need any proprietray blob to use it.

I assumed that you do not wish to use proprietary firmware.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> Did you mean the BLOBBED firmware? I don't quite get it. Is there firmware that has been freed of anything unfree?

The non-free firmware itself is the blob. Linux-libre doesn't deblob firmware. It deblobs the kernel by removing non-free firmware from the source tree. The non-free firmware doesn't get replaced by free firmware; the corresponding hardware just stops working.

anatom

I am a member!

Hors ligne
A rejoint: 09/20/2012

Hey guys

Thanks a lot for the clarification. I hadn't been aware that

/*(DEBLOBBED)*/

was a placeholder.

I'm going to get new hardware I think.

Thanks again & stay safe

anatom