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

11 risposte [Ultimo contenuto]
anatom

I am a member!

Offline
Iscritto: 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
Offline
Iscritto: 02/17/2016

Try this (Bluetooth uses the uSB bus).

dmesg | grep -i blue

lutes
Offline
Iscritto: 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!

Offline
Iscritto: 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
Offline
Iscritto: 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!

Offline
Iscritto: 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!

Offline
Iscritto: 07/24/2010

The Bluetooth may require proprietary firmware.

anatom

I am a member!

Offline
Iscritto: 09/20/2012

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

lutes
Offline
Iscritto: 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!

Offline
Iscritto: 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
Offline
Iscritto: 09/04/2020

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

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

Some devices have dual capability and some do not. It appears that your single-chip controller has no bluetooth capability, so given the current information we have we might rather say that bluetooth won't work because there is no adapter while wifi won't work because it requires a proprietary driver.

gaseousness
Offline
Iscritto: 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