Bluetooth connection issues

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
merman
Level 1
Level 1
Posts: 2
Joined: Wed Dec 20, 2017 2:11 pm

Bluetooth connection issues

Post by merman » Wed Dec 20, 2017 3:34 pm

Hello,
I have been playing around with different tools to get a bluetooth speaker connected, and none of them worked so far. I came at a point that i deleted all bluetooth software I would find on my system and I am now wondering what to install to have the best possible setup for my system.
I work on a MSI CR62 2M - linux mint 18.3

in another post I found that it is interesting for anyone who could help me to run the command
lsusb; dmesg | egrep -i 'blue|firm'

which gave this outcome:
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 005: ID 5986:0683 Acer, Inc
Bus 001 Device 004: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 3.447092] iwlwifi 0000:01:00.0: loaded firmware version 17.608620.0 op_mode iwlmvm
[ 3.503403] Bluetooth: Core ver 2.22
[ 3.503418] Bluetooth: HCI device and connection manager initialized
[ 3.503420] Bluetooth: HCI socket layer initialized
[ 3.503422] Bluetooth: L2CAP socket layer initialized
[ 3.503427] Bluetooth: SCO socket layer initialized
[ 3.526866] Bluetooth: hci0: read Intel version: 3707100100012d0d25
[ 3.526867] Bluetooth: hci0: Intel device is already patched. patch num: 25
[ 3.822822] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.822824] Bluetooth: BNEP filters: protocol multicast
[ 3.822830] Bluetooth: BNEP socket layer initialized
[ 13.197284] Bluetooth: RFCOMM TTY layer initialized
[ 13.197295] Bluetooth: RFCOMM socket layer initialized
[ 13.197301] Bluetooth: RFCOMM ver 1.11
[ 37.357905] Bluetooth: SMP security requested but not available
[ 515.970024] Bluetooth: SMP security requested but not available
[ 3035.052983] [Firmware Bug]: battery: (dis)charge rate invalid.

Any help would be very welcome,

Thank you

Bart

JeremyB
Level 19
Level 19
Posts: 9439
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth connection issues

Post by JeremyB » Wed Dec 20, 2017 5:55 pm

The package that Mint includes work well however a bug from Ubuntu makes using bluetooth speakers difficult. Most times you just need to check pactl list short | grep blue to see if module-bluetooth-discover is loaded, if it isn't pactl load-module module-bluetooth-discover and then pair with the device, then it should show in sound settings. If you have issues trying to switch to A2DP audio from HSP/HFP, try

Code: Select all

wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/raw/bbba417cae1419ed35b79c1ac400c7197a12e2fc/a2dp.py

Code: Select all

chmod +x ./a2dp.py

Code: Select all

./a2dp.py
Then just select the bluetooth audio device and see if it works

User avatar
AndyMH
Level 5
Level 5
Posts: 845
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Bluetooth connection issues

Post by AndyMH » Thu Dec 21, 2017 8:57 am

I had problems with a pair of bluetooth headphones, they were working and then not (can't remember whether they worked under 17.3, certainly didn't under 18.x). Solution was install blueman (it's in software manager) and use that to connect to bluetooth devices instead of the bluetooth app installed by default in mint.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

merman
Level 1
Level 1
Posts: 2
Joined: Wed Dec 20, 2017 2:11 pm

Re: Bluetooth connection issues

Post by merman » Fri Dec 22, 2017 7:25 am

Hello,
thank you both for your replies,
I will test this in the near future and come back to you with the results.

By deleting all the bluetooth files from my system, I corrupted everything apparantly :-(

Do I had to do a completely new install and was unable to recover my old system. Luckily I had good backups of all my files.

Lesson learned: if you play around in the system files it can be dangerous 8)

Bart

Post Reply

Return to “Other networking topics”