LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-01-2021, 02:29 PM   #1
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 211Reputation: 211Reputation: 211
Bluetooth dies when i connect a device (slackware64 current)


Every time when i start my bluetooth headset/headphones and it connects bluetooth dies right after i hear the confirmation of connection in my headset.
I then need to run 'sudo /etc/rc.d/rc.bluetooth start' and then choose to connect headphones by clicking the bluetooth icon in systray and chose to connect.
I think it stopped working correctly after the bluez upgrade in June for current (i don't upgrade current all the time).
I'm don't have any knowledge with bluetooth or if i need to clean any config for it to work without crashing.
 
Old 07-01-2021, 02:38 PM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by Nille_kungen View Post
Every time when i start my bluetooth headset/headphones and it connects bluetooth dies right after i hear the confirmation of connection in my headset.
I then need to run 'sudo /etc/rc.d/rc.bluetooth start' and then choose to connect headphones by clicking the bluetooth icon in systray and chose to connect.
I think it stopped working correctly after the bluez upgrade in June for current (i don't upgrade current all the time).
I'm don't have any knowledge with bluetooth or if i need to clean any config for it to work without crashing.
Do you use pipewire or pulseaudio ?

FYI, Bluetooth + pipewire works perfectly with all my BT devices.

Last edited by marav; 07-01-2021 at 02:40 PM.
 
Old 07-01-2021, 03:08 PM   #3
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by marav View Post
Do you use pipewire or pulseaudio ?

FYI, Bluetooth + pipewire works perfectly with all my BT devices.
I haven't set up any pipewire so i guess PA, i don't know what needs to be done to setup pipewire.
It used to work perfectly for me as well but not any more.

Last edited by Nille_kungen; 07-01-2021 at 03:42 PM.
 
Old 07-01-2021, 05:55 PM   #4
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 323

Rep: Reputation: Disabled
Is there anything relevant in logs when bluetoothd dies?
 
Old 07-02-2021, 10:03 AM   #5
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by alex14641 View Post
Is there anything relevant in logs when bluetoothd dies?
Not that means anything to me.
Code:
syslog
Jul  2 16:48:21 darkstar bluetoothd[1164]: profiles/audio/avdtp.c:caps_to_list() Invalid capability data in getcap resp
Jul  2 16:48:22 darkstar acpid: input device has been disconnected, fd 17
Code:
messages
Jul  2 16:48:20 darkstar kernel: input: SBKP 4 A1 (AVRCP) as /devices/virtual/input/input14
Jul  2 16:48:21 darkstar elogind-daemon[1161]: Watching system buttons on /dev/input/event13 (SBKP 4 A1 (AVRCP))
Code:
dmesg
[ 2763.050461] input: SBKP 4 A1 (AVRCP) as /devices/virtual/input/input14
 
Old 07-02-2021, 10:30 AM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
There seems to be problems with A2DP in bluez 5.59, i just tried git and it works again.
 
Old 07-02-2021, 01:06 PM   #7
marco70
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 103

Rep: Reputation: 40
Fix problem patch for gentoo:

https://gitweb.gentoo.org/repo/gento...ss/bluez/files

https://gitweb.gentoo.org/repo/gento...-parsing.patch

bluez 5.59

Last edited by marco70; 07-02-2021 at 01:08 PM.
 
Old 07-03-2021, 04:33 AM   #8
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The gentoo repo is down at the moment. For anyone who wants the patch, an alternative repo is on github, which seems to be working OK: https://github.com/gentoo/gentoo/blo...-parsing.patch and in the bluez git repo at https://git.kernel.org/pub/scm/bluet...8de0a12b4364d4

Last edited by chrisVV; 07-03-2021 at 04:37 AM.
 
Old 07-03-2021, 01:34 PM   #9
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
I also had to remove and re-pair the device for it to work as expected.
Instead of patching one can also compile bluez current or revert to 5.58
I compiled both bluez current and 5.58 and both works.

The patch was first posted in this bug report.
https://github.com/bluez/bluez/issues/157
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
data push from box to removable usb drive dies, then dies, then dies again. bodyofabanshee Linux - Server 11 03-15-2012 11:34 AM
Login window dies when user authentication dies. Hom Linux - Newbie 2 03-09-2011 05:52 AM
if qemu dies, my mouse dies with it eantoranz Linux - Software 3 11-02-2007 10:30 PM
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration