Netrunner Home

can't connect bluetooth device


#1

Hello,

I’m trying to connect my bluetooth-earphones with my lenovo thinkpad (netrunner 17.10)

When I open the bluetooth-applet in the systray I can see the device (jbl everest 100). And I get the Information: address /paired yes / trusted yes / adapter name of notebook (hci0).

But always when i click the Connect-Button there is a message that the Connection is not possible.

Bluetooth seems to be deactivated. A click on the button to activate is without success.

On that notebook I have a win7 os and with that os the connection is no problem.

Thanks in advance!

Dieter


#2

Might be you haven’t got bluetooth support for pulseaudio installed.

if not open a terminal

install it via:
sudo apt-get install pulseaudio-module-bluetooth

Restart pulseaudio
sudo pulseaudio -k

If it doesn’t work restart bluetooth as well.


#3

Hi,

I already have the newest pulseaudio-module-bluetooth installed. And restart of pulseaudio and bluetooth doesn’t help.

Btw.
bluetooth isn’t blocked

sudo rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 3: hci0: Bluetooth Soft blocked: no Hard blocked: no

Any help?

Ciao!

Dieter


#4

on the same thinkpad I tested the bluetooth with manjaro kde 17.0.6 - live. No problems at all, everything is working fine.

Ciao!

Dieter


#5

No idea, then - It fixed my problem with my bt-speaker a while ago.

Ok, have you checked against https://wiki.debian.org/BluetoothUser/a2dp

What does dmesg say?


#6

Thanks for your reply. But the problem is not to connect to a device. The problem is, there is even no bluetooth adapter in netrunner. I checked it with other os. The hardware is perfect, but blueman says, after activating, there is nor adapter?

That’s, so fare, the big problem for me.

Ciao!

Dieter


#7

Make sure the bluetooth service is running.
systemctl start bluetooth might help here.


#8

Hello,
after systemctl start bluetooth I have the message “no adapter available” …

The bt-service is running

and now?

Ciao!

Dieter


#9

Then the driver or the firmware necessary to run the bluetooth chip is missing.
Do you happen to know which chip that is?
You can check so with kinfocenter or lspci

Also make sure that the bluez-firmware is installed.


#10

Thank you for your answer.

bluez-firmware is installed.

lspci 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04) 02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07) 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
I don’t understand this. Which one is the bt? Can I get better informationn from the kinfocenter? When yes, where?

And what can i do now

Ciao!

Dieter


#11

So this wireless device

does not include bluetooth support. So it must be some other bluetooth device you have.

Would be nice if you could run lsmod on manjaro to check which driver it is using there.
Usually we ship all drivers. Maybe the drivers are out of date and you need a newer firmware and/or kernel package.
Also can you tell us the specific Thinkpad model you have. Might be also good to take a look at that as the documentation for this is pretty good.

edit: I fear it might be a broadcom chip that you have. Can you run dmesg to be sure (grep for bluetooth).
If I am correct you need to manually download this firmware as debian does not provide it.
You can get the newest broadcom bt firmware files from here: https://github.com/winterheart/broadcom-bt-firmware (the ones in brcm folder with the *.hcd extension)
Depending on the dmesg output firmware: failed to load message you need to download the right .hcd file for your bt device and put it in /lib/firmware/brcm.
I hope that this might help you getting it to work.


#12

Thank you for your answer. With manjaro I found the firmware-file BCM20702A1-0a5c-21e6.hcd. In netrunner I downloaded it to /lib/firmware/brcm. Restart of the os. But the situation doesn’t changed. -> no adapter found. There are a lot of other files in /lib/firmware/brcm . Must I delete this files first? Or have I to do something else with the .hcd-file?

Ciao!
Dieter


#13

No you don’t need to remove the other hcd files.
Can you take a look at the dmesg output and see if it maybe throws an error message


#14

dmesg says:

Bluetooth: Core ver 2.22 [ 13.120419] NET: Registered protocol family 31 [ 13.120420] Bluetooth: HCI device and connection manager initialized [ 13.120423] Bluetooth: HCI socket layer initialized [ 13.120425] Bluetooth: L2CAP socket layer initialized [ 13.120431] Bluetooth: SCO socket layer initialized [ 13.504392] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0 [ 13.515590] iTCO_vendor_support: vendor-support=0 [ 13.683453] usbcore: registered new interface driver btusb [ 13.763403] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11 [ 13.763449] iTCO_wdt: Found a Panther Point TCO device (Version=2, TCOBASE=0x0460) [ 13.763533] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 13.794205] Bluetooth: hci0: BCM: chip id 63 [ 13.810144] Bluetooth: hci0: debian-notebook [ 13.811212] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000 [ 13.841468] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd [ 14.858250] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 14.875179] Bluetooth: hci0: Broadcom Bluetooth Device [ 14.989881] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null) [ 15.013110] Adding 4231164k swap on /dev/sda8. Priority:-1 extents:1 across:4231164k FS [ 18.509180] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 18.509181] Bluetooth: BNEP filters: protocol multicast [ 18.509185] Bluetooth: BNEP socket layer initialized


#15

[code]systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-01-03 10:46:07 CET; 1h 3min ago
Docs: man:bluetoothd(8)
Main PID: 566 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─566 /usr/lib/bluetooth/bluetoothd

Jan 03 10:46:06 debian-notebook systemd[1]: Starting Bluetooth service…
Jan 03 10:46:07 debian-notebook bluetoothd[566]: Bluetooth daemon 5.45
Jan 03 10:46:07 debian-notebook systemd[1]: Started Bluetooth service.
Jan 03 10:46:07 debian-notebook bluetoothd[566]: Starting SDP server
Jan 03 10:46:09 debian-notebook bluetoothd[566]: Bluetooth management interface 1.14 initialized
[/code]

Everythings seems to be fine. Nevertheless, there is no adapter in the blueman-applet or in the bluetooth-applet coming with kde …

Ciao!

Dieter


#16

Can you install bluez-tools and try

bt-device -l to get a list of devices.


#17

bt-device -l ** ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self)) Abgebrochen

that means? A new notebook? :slight_smile:

Ciao!

Dieter


#18

Is hciconfig -a printing anything useful maybe.
It seems like firmware is loaded but no bluetooth adapter device is created which is very strange.

edit: Also try removing the btusb module with

sudo modprobe -r btusb
and loading it again with

sudo modprobe btusb

I wonder if the output of above might give as any hint.


#19

Thanks again.

hciconfig -a hci0: Type: Primary Bus: USB BD Address: F8:2F:A8:E5:7B:D0 ACL MTU: 1021:8 SCO MTU: 64:1 DOWN RX bytes:3374 acl:0 sco:0 events:409 errors:0 TX bytes:36217 acl:0 sco:0 commands:408 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT

and I have been doing the two modprobe things, and restartet the machine. Nothing changed. Still no adapter.

Ciao!

Dieter


#20

I wanted the output for the modprobe commands. :slight_smile:
modprobe -r removes the currently loaded driver and modprobe loads it again.