Netrunner Home

can't connect bluetooth device


#21

oh sorry,

no output with the commands at all. Then I tried verbose

[code]sudo modprobe -rv btusb
rmmod btusb
rmmod btintel
rmmod btbcm
rmmod btrtl

sudo modprobe -v btusb
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btintel.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btbcm.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btrtl.ko
insmod /lib/modules/4.12.0-1-amd64/kernel/drivers/bluetooth/btusb.ko

[/code]

hth!

Ciao!

Dieter


#22

Your posted output is not complete.
Post your output using this command:

sudo dmesg | grep -i bluetooth

Example:

sudo dmesg | grep -i bluetooth [160074.456137] usb 1-1.6: Product: Broadcom Bluetooth 2.1 Device [160074.571522] Bluetooth: Core ver 2.22 [160074.571541] Bluetooth: HCI device and connection manager initialized [160074.571544] Bluetooth: HCI socket layer initialized [160074.571547] Bluetooth: L2CAP socket layer initialized [160074.571552] Bluetooth: SCO socket layer initialized [160074.921553] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [160074.921555] Bluetooth: BNEP filters: protocol multicast [160074.921558] Bluetooth: BNEP socket layer initialized [160075.111522] Bluetooth: RFCOMM TTY layer initialized [160075.111529] Bluetooth: RFCOMM socket layer initialized [160075.111536] Bluetooth: RFCOMM ver 1.11


#23

The output is incomplete. Keep pressing the [Enter] key until (END) is seen.
Example:

[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 08:31:49 -05; 3h 6min ago
Docs: man:bluetoothd(8)
Main PID: 25770 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─25770 /usr/lib/bluetooth/bluetoothd

Jan 03 08:31:49 G570 systemd[1]: Starting Bluetooth service…
Jan 03 08:31:49 G570 bluetoothd[25770]: Bluetooth daemon 5.47
Jan 03 08:31:49 G570 systemd[1]: Started Bluetooth service.
Jan 03 08:31:49 G570 bluetoothd[25770]: Starting SDP server
Jan 03 08:31:49 G570 bluetoothd[25770]: Bluetooth management interface 1.14 initialized
Jan 03 08:31:49 G570 bluetoothd[25770]: Sap driver initialization failed.
Jan 03 08:31:49 G570 bluetoothd[25770]: sap-server: Operation not permitted (1)
Jan 03 08:31:50 G570 bluetoothd[25770]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSource
Jan 03 08:31:50 G570 bluetoothd[25770]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSink
lines 5-19/19 (END)[/code]


#24

Thanks for this hints,

sudo dmesg | grep -i bluetooth [sudo] Passwort für pfiff: [ 10.698398] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked [ 13.409198] Bluetooth: Core ver 2.22 [ 13.409213] Bluetooth: HCI device and connection manager initialized [ 13.409216] Bluetooth: HCI socket layer initialized [ 13.409218] Bluetooth: L2CAP socket layer initialized [ 13.409222] Bluetooth: SCO socket layer initialized [ 13.726572] Bluetooth: hci0: BCM: chip id 63 [ 13.742536] Bluetooth: hci0: Broadcom Bluetooth Device [ 13.743585] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 13.763372] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd [ 14.793670] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 14.810450] Bluetooth: hci0: Broadcom Bluetooth Device [ 18.497930] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 18.497932] Bluetooth: BNEP filters: protocol multicast [ 18.497936] Bluetooth: BNEP socket layer initialized [ 2058.763933] Bluetooth: hci0: BCM: chip id 63 [ 2058.781039] Bluetooth: hci0: Broadcom Bluetooth Device [ 2058.781900] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 2058.782024] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd [ 2059.822910] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 2059.838931] Bluetooth: hci0: Broadcom Bluetooth Device [ 2176.012783] Bluetooth: hci0: BCM: chip id 63 [ 2176.029790] Bluetooth: hci0: Broadcom Bluetooth Device [ 2176.030685] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 2176.030810] bluetooth hci0: firmware: direct-loading firmware brcm/BCM20702A1-0a5c-21e6.hcd [ 2177.071629] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1757 [ 2177.087703] Bluetooth: hci0: Broadcom Bluetooth Device

and

[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 15:24:08 CET; 2h 27min ago
Docs: man:bluetoothd(8)
Main PID: 601 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─601 /usr/lib/bluetooth/bluetoothd

Jan 03 15:24:06 debian-notebook systemd[1]: Starting Bluetooth service…
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Bluetooth daemon 5.45
Jan 03 15:24:08 debian-notebook systemd[1]: Started Bluetooth service.
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Starting SDP server
Jan 03 15:24:08 debian-notebook bluetoothd[601]: Bluetooth management interface 1.14 initialized
[/code]

sorry, but in the second one there is no [END] coming. It stops with the word “initialized” …

Any help?

Ciao!

Dieter


#25

Pressing [Enter] should advance the lines, if any.
[attachment=1104]

Have you tried removing the device from the Bluetooth paired list, reboot & pair again?


#26

Info here might be helpful; https://wiki.debian.org/BluetoothUser

Example Settings & Info.
[attachment=1105][attachment=1106][attachment=1107]

[code]sudo bluetoothctl
[NEW] Controller 38:59:F9:F5:67:D7 G570 [default]
[NEW] Device 30:21:DC:B1:9C:5B HBS 800
[NEW] Device F8:95:C7:94:BE:68 LG-D331
Agent registered

[bluetooth]# list
Controller 38:59:F9:F5:67:D7 G570 [default]

[bluetooth]# show
Controller 38:59:F9:F5:67:D7
Name: G570
Alias: G570
Class: 0x001c010c
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Message Notification Se… (00001133-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d052F
Discovering: no[/code]

info on my bt-headphones- HBS 800

[bluetooth]# info 30:21:DC:B1:9C:5B Device 30:21:DC:B1:9C:5B Name: HBS 800 Alias: HBS 800 Class: 0x00240408 Icon: audio-card Paired: yes Trusted: yes Blocked: no Connected: no LegacyPairing: no UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)

Output after I turn on the HBS 800 bt-headphones

[CHG] Device 30:21:DC:B1:9C:5B Connected: yes [HBS 800]# info 30:21:DC:B1:9C:5B Device 30:21:DC:B1:9C:5B Name: HBS 800 Alias: HBS 800 Class: 0x00240408 Icon: audio-card Paired: yes Trusted: yes Blocked: no Connected: yes LegacyPairing: no UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)

Typing help will give you a list of commands to use while in bluetoothctl

[bluetooth]# help Available commands: list List available controllers show [ctrl] Controller information select <ctrl> Select default controller devices List available devices


#27

Thanks for your help.

In the systemsettings - bluetooth I can always only see the message “no adapter available”. I can choose the “reset”, nothing else. And when I use the button “reset” nothing happens.

sudo bluetoothctl [sudo] Passwort für pfiff: Agent registered [bluetooth]# list [bluetooth]#

no device, no agent (adapter), nothing …

I’m loosing my confidence in debian.

Any help?

Ciao!

Dieter


#28

I too, see nothing when the wifi switch is turned off.

sudo bluetoothctl Agent registered [bluetooth]# list [bluetooth]# show No default controller available

When I turn the wifi power on this updates automatically.

[NEW] Controller 38:59:F9:F5:67:D7 G570 [default] [NEW] Device F8:95:C7:94:BE:68 LG-D331 [NEW] Device 30:21:DC:B1:9C:5B HBS 800 [CHG] Controller 38:59:F9:F5:67:D7 Powered: yes [CHG] Controller 38:59:F9:F5:67:D7 Alias: G570 [CHG] Controller 38:59:F9:F5:67:D7 Class: 0x0000010c [CHG] Controller 38:59:F9:F5:67:D7 UUIDs: 00001112-0000-1000-8000-00805f9b34fb

What is the model of your computer?


#29

my wifi is turned on, the switch is on, I’m connected to the Internet with wifi!!!

My machine is a lenovo thinkpad t530 and as I mentioned before, with manjaro-live the bluetooth is working out of the box.

Ciao!

Dieter


#30

yeah the wifi has nothing to do with this as the bluetooth is a separate chip not included on the wifi.

which kernel do you use?
I think you need a newer kernel for it to work properly.
So Kernel 4.14 should be working and is available via stretch-backports.


#31

I’m using 4.12.0-1-amd64.

How can I savely install the kernel 4.14 via stretch-backports?

Ciao!

Dieter


#32

If you don’t want to activate the stretch-backports sources in sources.list you can download these packages and install them.
That should work however virtualbox-guest-dkms and virtualbox-dkms will fail to build against that kernel I suppose.

https://packages.debian.org/stretch-backports/linux-image-4.14.0-0.bpo.2-amd64
https://packages.debian.org/stretch-backports/linux-headers-4.14.0-0.bpo.2-amd64
https://packages.debian.org/stretch-backports/linux-headers-4.14.0-0.bpo.2-common
https://packages.debian.org/stretch-backports/linux-kbuild-4.14


#33

you are a genius! Perfect! Thank you …

Can I now deactivate the stretch-backport sources in sources.list? Or doesn’t it matter?

Ciao!

Dieter


#34

You should deactivate the stretch-backports in sources.list if it was deactivated before.

I am not so sure about this.
Is it working with bt now ?


#35

yes, sure. That’s the reason why i’m calling you a genius …

Ciao!

Dieter


#36

Nice :slight_smile:


#37

So, the kernel has been updated to fix this issue;
https://github.com/nexus511/gpd-ubuntu-packages/issues/26#issuecomment-333575775

https://unix.stackexchange.com/questions/309219/how-to-enable-bluetooth-automatically-at-boot-for-recent-intel-and-broadcom-ch