PDA

View Full Version : Bluetooth Headphones (connected but don't appear in Sound outputs)



TomSmith
2016-08-02, 21:33
Bluetooth headphones, discovered, connected, paired, but nothing in Sound Output, just Laptop Build-in Speakers. Yesterday everything was working.

16951696

Can it be somehow related to the Network Manager? I switched off Net.Manager and didn't knew how to make it work again, but after reboot, Wifi is working again. But not the Headphones.

I looked around, searched for solution, tried some commands, but it didn't help. The thing is, that Headphone are connected, maybe it's a problem of Sound Devices Outputs?

What i found is : RFCOMM server failed for Headset message.


root@TomSmith:/home/tomsmith# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2016-08-02 21:37:05 CEST; 1h 33min ago
Docs: man:bluetoothd(8)
Main PID: 993 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─993 /usr/lib/bluetooth/bluetoothd

Aug 02 23:08:49 TomSmith bluetoothd[993]: Endpoint registered: sender=:1.194...e
Aug 02 23:08:49 TomSmith bluetoothd[993]: Endpoint registered: sender=:1.194...k
Aug 02 23:08:49 TomSmith bluetoothd[993]: RFCOMM server failed for Headset V...)
Aug 02 23:09:00 TomSmith bluetoothd[993]: Endpoint unregistered: sender=:1.1...e
Aug 02 23:09:00 TomSmith bluetoothd[993]: Endpoint unregistered: sender=:1.1...k
Aug 02 23:09:38 TomSmith bluetoothd[993]: Endpoint registered: sender=:1.219...e
Aug 02 23:09:38 TomSmith bluetoothd[993]: Endpoint registered: sender=:1.219...k
Aug 02 23:09:38 TomSmith bluetoothd[993]: RFCOMM server failed for Headset V...)
Aug 02 23:09:42 TomSmith bluetoothd[993]: Endpoint unregistered: sender=:1.1...e
Aug 02 23:09:42 TomSmith bluetoothd[993]: Endpoint unregistered: sender=:1.1...k
Hint: Some lines were ellipsized, use -l to show in full.



[bluetooth]# show
Controller D0:53:49:AD:C9:72
Name: TomSmith
Alias: TomSmith
Class: 0x0c010c
Powered: yes
Discoverable: no
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: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0524
Discovering: yes



[bluetooth]# list
Controller D0:53:49:AD:C9:72 TomSmith [default]
[bluetooth]# info
Missing device address argument
[bluetooth]# info D0:53:49:AD:C9:72
Device D0:53:49:AD:C9:72 not available
[bluetooth]#

vien03
2016-12-31, 11:11
I also have same problem...
My X240 already paired with bluetooth sound wireless, but i didn't see that device in output setting

I already try remove pulseaudio, and install it again
restart bluetooth service, and sound still came from x240 speaker it self

bluetooth status said "RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use"



root@vien03-kali:~# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2016-12-31 18:02:37 WIB; 1min 22s ago
Docs: man:bluetoothd(8)
Main PID: 2522 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─2522 /usr/lib/bluetooth/bluetoothd

Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Not enough free handles to register service
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Not enough free handles to register service
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Sap driver initialization failed.
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: sap-server: Operation not permitted (1)
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSource
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSink
Dec 31 18:02:37 vien03-kali bluetoothd[2522]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use
Dec 31 18:03:25 vien03-kali bluetoothd[2522]: /org/bluez/hci0/dev_00_00_00_16_3B_3B/fd0: fd(22) ready
lines 1-20/20 (END)


Did someone have any clue ? :(

_defalt
2017-01-01, 13:27
Does Bluetooth interface indicate that Bluetooth speaker has been paired with the device?

vien03
2017-01-01, 15:46
Does Bluetooth interface indicate that Bluetooth speaker has been paired with the device?

Yes, bluetooth setting already show that bluetooth interface already paired 2084

vien03
2017-01-01, 16:09
Solved for me... bluetooth headphones / speaker connected, already appear in sounds output, and the sounds already played on headphones/speaker

I follow some instructions in wiki debian for A2DP

# apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
but only pavucontrol worked, cause the others already installed


root@vien03-kali:~# apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
pulseaudio is already the newest version (9.0-5).
pulseaudio-module-bluetooth is already the newest version (9.0-5).
pulseaudio-module-bluetooth set to manually installed.
bluez-firmware is already the newest version (1.2-3).
The following packages were automatically installed and are no longer required:
gdebi-core iproute libappindicator1 libcrypto++6 libdbusmenu-glib4 libdbusmenu-gtk4 libfftw3-single3 libindicator7
python-pycryptopp
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
pavucontrol
0 upgraded, 1 newly installed, 0 to remove and 789 not upgraded.
Need to get 112 kB of archives.
After this operation, 798 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://repo.kali.org/kali kali-rolling/main amd64 pavucontrol amd64 3.0-3+b2 [112 kB]
Fetched 112 kB in 9s (11.7 kB/s)
Selecting previously unselected package pavucontrol.
(Reading database ... 305440 files and directories currently installed.)
Preparing to unpack .../pavucontrol_3.0-3+b2_amd64.deb ...
Unpacking pavucontrol (3.0-3+b2) ...
Setting up pavucontrol (3.0-3+b2) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for man-db (2.7.5-2) ...
Processing triggers for gnome-menus (3.13.3-8) ...


restart bluetooth services
# service bluetooth restart

# killall pulseaudio


root@vien03-kali:~# killall pulseaudio
root@vien03-kali:~# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2017-01-01 22:27:00 WIB; 2min 59s ago
Docs: man:bluetoothd(8)
Main PID: 4557 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─4557 /usr/lib/bluetooth/bluetoothd

Jan 01 22:28:39 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Host is down
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:49 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Source ID 287 was not found when attempting to remove it
Jan 01 22:28:53 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)


remove bluetooth devices in bluetooth setting

root@vien03-kali:~# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2017-01-01 22:27:00 WIB; 9min ago
Docs: man:bluetoothd(8)
Main PID: 4557 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─4557 /usr/lib/bluetooth/bluetoothd

Jan 01 22:28:39 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Host is down
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:47 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:49 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Unable to get Headset Voice gateway SDP record: Device or resource busy
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)
Jan 01 22:28:51 vien03-kali bluetoothd[4557]: Source ID 287 was not found when attempting to remove it
Jan 01 22:28:53 vien03-kali bluetoothd[4557]: connect error: Device or resource busy (16)


reconect bluetooth devices in bluetooth setting

root@vien03-kali:~# service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2017-01-01 22:27:00 WIB; 12min ago
Docs: man:bluetoothd(8)
Main PID: 4557 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─4557 /usr/lib/bluetooth/bluetoothd

Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Not enough free handles to register service
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Sap driver initialization failed.
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: sap-server: Operation not permitted (1)
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Endpoint registered: sender=:1.113 path=/MediaEndpoint/A2DPSource
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Endpoint registered: sender=:1.113 path=/MediaEndpoint/A2DPSink
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Endpoint registered: sender=:1.112 path=/MediaEndpoint/A2DPSource
Jan 01 22:37:07 vien03-kali bluetoothd[4557]: Endpoint registered: sender=:1.112 path=/MediaEndpoint/A2DPSink
Jan 01 22:37:42 vien03-kali bluetoothd[4557]: Unable to get connect data for Headset Voice gateway: getpeername: Transport endpoin
Jan 01 22:37:42 vien03-kali bluetoothd[4557]: /org/bluez/hci0/dev_16_02_19_22_08_68/fd0: fd(22) ready
root@vien03-kali:~#


after that my bluetooth interface (headphone/speaker) show up in output setting in bluetooth setting and work like it should be

2085

thanks