Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Troubleshooting Bluetooth

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
d3viant
Posts: 24
Joined: 2017-05-17 23:36

Troubleshooting Bluetooth

#1 Post by d3viant »

Debian/Gnome came with a Bluetooth GUI. On first attempt to connect my device, Debian found it but I could not switch the connection for the deivce 'on'

So I followed this:
https://wiki.debian.org/BluetoothUser/a2dp

(I did not install Blueman)
Reboot, no luck.

I did not follow the modification to /var/lib/gdm3/.config/pulse/client.conf -- because I am now wondering if this is a kernal bug? I had an identical issue in Ubuntu, but only after the latest update (Bluetooth worked fine on it before)

Is anyone else experiencing issues with Bluetooth?

Is it safe to apt-remove these packages, or should I leave them?
lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Troubleshooting Bluetooth

#2 Post by pylkko »

Maybe gdm is at fault. Did you try editing /var/lib/gdm3/.config/pulse/client.conf as stated in the wiki that you linked?

d3viant
Posts: 24
Joined: 2017-05-17 23:36

Re: Troubleshooting Bluetooth

#3 Post by d3viant »

I ended up upgrading to 9 as I was having issues with wifi and whatnot.

Now, Bluetooth pairs / works without issue.. but once my PC reboots, the sound profile reverts to major garbage; its flat sounding!

in /var/log/syslog (not sure if this is related?):

Code: Select all

May 20 02:02:03 debian kernel: [ 7118.046160] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046163] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046164] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046166] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046167] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046169] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046170] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046172] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046173] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046174] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046176] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046177] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046178] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046180] Bluetooth: hci0 SCO packet for unknown connection handle 3
May 20 02:02:03 debian kernel: [ 7118.046181] Bluetooth: hci0 SCO packet for unknown connection handle 3
Last night, I added this to /etc/pulse/daemon.conf and the sound was perfect:

Code: Select all

resample-method = src-sinc-best-quality
default-sample-format = float32ne
alternate-sample-rate = 96000
then:

Code: Select all

pulseaudio --kill
service bluetooth force-reload
Went into sound manager, set the profile for the Bluetooth speaker as Hi-Fidelity Playback (A2DP Sink) -- which worked last night, but today, it refuses to take that profile and when it *does* accept it, the music automatically stops on the Bluetooth speaker and starts on my internal laptop speakers (which are even worse sounding because of how tiny they are).

Assuming I fudged the config somewhere, can anyone spot my mistake?


Some info:

Code: Select all

dmesg | egrep -i 'blue|firm'
[    0.389462] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    1.490982] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x6e0f01)
[    2.374500] usb 1-7: Product: Bluetooth Radio 
[    9.012349] [drm] GuC firmware load skipped
[    9.027732] i915 0000:00:02.0: firmware: failed to load i915/skl_dmc_ver1_26.bin (-2)
[    9.027733] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1_26.bin failed with error -2
[    9.027736] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
[   10.244990] Bluetooth: Core ver 2.22
[   10.245013] Bluetooth: HCI device and connection manager initialized
[   10.245017] Bluetooth: HCI socket layer initialized
[   10.245021] Bluetooth: L2CAP socket layer initialized
[   10.245034] Bluetooth: SCO socket layer initialized
[   10.844515] rtl8821ae: Using firmware rtlwifi/rtl8821aefw.bin
[   10.844532] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[   10.848891] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000a lmp_ver=06 lmp_subver=8821
[   10.848897] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_config.bin
[   10.883454] bluetooth hci0: firmware: failed to load rtl_bt/rtl8821a_config.bin (-2)
[   10.883459] bluetooth hci0: Direct firmware load for rtl_bt/rtl8821a_config.bin failed with error -2
[   10.883466] Bluetooth: hci0: Failed to load rtl_bt/rtl8821a_config.bin
[   10.883468] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_fw.bin
[   10.913670] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8821a_fw.bin
[   10.914891] Bluetooth: hci0: rom_version status=0 version=1
[   10.914907] Bluetooth: cfg_sz 0, total size 17428
[   11.079476] rtl8821ae 0000:02:00.0: firmware: direct-loading firmware rtlwifi/rtl8821aefw.bin
[   11.079629] rtl8821ae 0000:02:00.0: firmware: direct-loading firmware rtlwifi/rtl8821aefw_wowlan.bin
[   17.345424] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.345429] Bluetooth: BNEP filters: protocol multicast
[   17.345438] Bluetooth: BNEP socket layer initialized
[   19.959236] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8106e-1.fw
[   34.391792] Bluetooth: RFCOMM TTY layer initialized
[   34.391807] Bluetooth: RFCOMM socket layer initialized
[   34.391824] Bluetooth: RFCOMM ver 1.11
[ 1211.500326] Bluetooth: hci0 SCO packet for unknown connection handle 2
[ 1211.500339] Bluetooth: hci0 SCO packet for unknown connection handle 2
[ 1211.500345] Bluetooth: hci0 SCO packet for unknown connection handle 2
[ 1688.249294] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249299] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249301] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249309] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249310] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249312] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249314] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249316] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249317] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1688.249319] Bluetooth: hci0 SCO packet for unknown connection handle 3
[ 1705.836154] Bluetooth: hci0 SCO packet for unknown connection handle 4
[ 1705.836170] Bluetooth: hci0 SCO packet for unknown connection handle 4
[ 1705.836179] Bluetooth: hci0 SCO packet for unknown connection handle 4
[ 1705.836186] Bluetooth: hci0 SCO packet for unknown connection handle 4
[ 1762.044268] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1762.044272] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1762.044274] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1762.044282] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1762.044284] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1762.044286] Bluetooth: hci0 SCO packet for unknown connection handle 5
[ 1822.948734] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948742] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948746] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948749] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948752] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948755] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1822.948758] Bluetooth: hci0 SCO packet for unknown connection handle 6
[ 1882.517838] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517851] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517857] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517862] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517870] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517876] Bluetooth: hci0 SCO packet for unknown connection handle 7
[ 1882.517882] Bluetooth: hci0 SCO packet for unknown connection handle 7

Code: Select all

uname -a
Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux

Post Reply