LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 09-19-2021, 01:54 AM   #1
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
WF-1000XM3 not connecting to new computer / install via bluetooth


So I recently purchased a new rig and have a fresh install of arch. I have decided to try pipewire as my default sound interface and on testing with plugged in headset it is working fine.

My next hurdle was to try and connect my bluetooth earbuds - Sony WF-1000XM3 (which are working fine on current install but via a separate dongle)

One of the requirements for my new box was to have bluetooth as part of the motherboard (ASUS ROG Crosshair VIII Hero)

It appears from a detection point of view that arch can see my bluetooth with no issue, but on connecting my earbuds I have had no joy.

So here is my most recent attempt to connect:
Code:
$ bluetoothctl
Agent registered
[CHG] Controller DC:41:A9:D8:A5:CB Pairable: yes
[bluetooth]# connect 94:DB:56:19:2B:3A
Attempting to connect to 94:DB:56:19:2B:3A
[CHG] Device 94:DB:56:19:2B:3A Connected: yes
[CHG] Device 94:DB:56:19:2B:3A Connected: no
[CHG] Device 94:DB:56:19:2B:3A Connected: yes
[CHG] Device 94:DB:56:19:2B:3A Connected: no
[CHG] Device 94:DB:56:19:2B:3A Paired: yes
Failed to connect: org.bluez.Error.Failed
From journalctl I see:
Code:
bluetoothd[1070]: src/device.c:search_cb() 94:DB:56:19:2B:3A: error updating services: Connection reset by peer (104)
Please advise if I should supply any other details to assist with solving my problem?
 
Old 09-19-2021, 09:50 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
I don't know. I see threads on bluetooth every now and then.

https://www.google.com/search?q=site..._rd=ssl&num=50

https://github.com/bluez/bluez/issues/157

https://bbs.archlinux.org/viewtopic.php?id=264749

https://bbs.archlinux.org/viewtopic.php?id=265071
 
Old 09-20-2021, 01:12 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Thanks, will see if any are the ones I haven't looked at
 
Old 09-20-2021, 10:00 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Ok, so some messing around a couple of hundred retries and I now have a bluetooth connection which disconnects relatively frequently

The other issue is that even once the connection is made, I cannot hear anything, which I am not sure is a pipewire or a bluetooth issue??

Any suggestions greatly appreciated.
 
Old 09-24-2021, 10:19 AM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
So here seems to be my latest outputs:

bluetoothctl
Code:
bluetooth]# connect 94:DB:56:19:2B:3A
Attempting to connect to 94:DB:56:19:2B:3A
[CHG] Device 94:DB:56:19:2B:3A Connected: yes
[CHG] Device 94:DB:56:19:2B:3A Paired: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device 94:DB:56:19:2B:3A Connected: no
journalctl:
Code:
Sep 24 18:33:28 killrazor bluetoothd[5307]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection refused
Sep 24 18:33:33 killrazor bluetoothd[5307]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 94:DB:56:19:2B:3A: Connection reset by peer (104)
Sep 24 18:33:40 killrazor bluetoothd[5307]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 94:DB:56:19:2B:3A: Host is down (112)
pactl:
Code:
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 125
Tile Size: 65472
User Name: grail
Host Name: killrazor
Server Name: PulseAudio (on PipeWire 0.3.35)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_0e_00.4.pro-output-0
Default Source: alsa_input.pci-0000_0e_00.4.pro-input-0
Cookie: 74c8:a8f9
Setup:
Code:
$ pacman -Qsq pipewire
pipewire
pipewire-alsa
pipewire-jack
pipewire-media-session
pipewire-pulse
 pacman -Qsq blue
bluez
bluez-libs
bluez-utils
hidapi
libldac
pipewire-pulse
sbc
Any suggestion greatly appreciated
 
Old 09-29-2021, 10:21 AM   #6
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Can someone advise if I am missing something obvious, hence no replies?
 
Old 09-29-2021, 02:44 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
I don't know about this. If I had to do this I would have to start from scratch.

https://aur.archlinux.org/packages/b...h-autoconnect/
https://www.jeremymorgan.com/tutoria...th-arch-linux/
https://aur.archlinux.org/packages/?...0&do_Search=Go
https://www.youtube.com/watch?v=rOL-T31l0lQ
https://www.reddit.com/r/ASUS/commen...h_disappeared/
https://wiki.archlinux.org/title/Bluetooth
https://linuxhint.com/configure_bluetooth_arch_linux/

Why don't you post on the arch forum. Some of them seem to know everything about arch. If you are using manjaro, say so, don't pretend that you are using arch. Ask if you've seen this happen on arch. You might get a shove in the right direction.
 
Old 09-29-2021, 08:18 PM   #8
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Thanks teckk, I am running the question in tandem on the Arch site and the new box is pure Arch

Thanks also for some more links, will see if I can start from scratch in the bluetooth side
 
Old 10-03-2021, 11:20 AM   #9
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi grail,

In my experience, using bluetooth audio peripherals on Arch requires several software packages. From memory :
  • bluetooth drivers (seems you have this already);
  • bluetoothctl or gui for interface (I see you have bluetoothctl ... this is what I use as well);
  • pulseaudio (I see pactl, so you seem to have pulseaudio there ...);
  • a pulseaudio / bluetooth layer (forgot the actual package name) ...
I like doing everything manually, so when I want to use bluetooth, I :
  • start pulseaudio;
  • start the bluetooth systemd service;
  • start the bluetoothctl interface (as root or with sudo);
  • power on the bluetooth adapter,
  • turn on the agent,
  • turn on scan,
  • pair the device using it's MAC address,
  • connect to the device.

In your outputs, I see references to pipewire (not familiar at all with that - from reading, it looks like a replacement for PulseAudio in certain cases ...) and jack (I use jack on one of my Arch systems that I use for audio recording). You may want to make sure these different components are properly configured.

Here are links to useful articles in the Arch Wiki :

https://wiki.archlinux.org/title/Bluetooth

https://wiki.archlinux.org/title/Bluetooth_headset


Cheers - let us know how things go.

Rick
 
Old 10-03-2021, 11:41 AM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hey again grail,

... afterthought here ... One of the times I experienced random bluetooth disconnections similar to what you're describing, it was a case of my phone grabbing the device (it was also paired with the phone) ... Solution was to turn off bluetooth on the phone while I was using the device with my computer ... ;-)

Rick
 
Old 10-05-2021, 09:37 AM   #11
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Thanks for the suggestions Rickkkk

I can guarantee nothing else is via'ing for the attention of my ear buds. The only other thing they have connected to in earnest has been my old
PC via a dongle which seems to work without issue.

On your and teckk's links I have managed to get some connection happening with the aid of blueman (just no consistency as yet), but even once connected I
have zero sound. Not even the obligatory "bluetooth connected"
 
Old 10-05-2021, 09:45 AM   #12
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by grail View Post
Thanks for the suggestions Rickkkk

I can guarantee nothing else is via'ing for the attention of my ear buds. The only other thing they have connected to in earnest has been my old
PC via a dongle which seems to work without issue.

On your and teckk's links I have managed to get some connection happening with the aid of blueman (just no consistency as yet), but even once connected I
have zero sound. Not even the obligatory "bluetooth connected"
Hey grail,

Similar problems (bluetooth speakers / headphones connect but no sound) in my past experience were usually due to incorrect PulseAudio settings (choosing and properly configuring device, output source and volume ...). I usually solved using pavucontrol. Since you're on Pipewire, you could perhaps double check everything there ... And ... really basic here, make sure your Alsa output channels aren't muted (I usually check with alsamixer).

Rick
 
Old 10-08-2021, 04:58 AM   #13
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Ok so I had forgotten all about alsa Now it didn't fix anything, as I saw nothing muted, however, what I have noted between the old and new machine
is that in the old, alsamixer lists one of my available cards (the default) as PulseAudio. Now this is not the case on the new machine.
So I am not sure if this is what I am supposed to be looking to get to appear or that is just a coincidence?

When using pavucontrol on old box my bluetooth headset is an optional item. It does not appear on the new machine. So I don't know if this is the
bluetooth side not connecting properly or the pipewire side not seeing it correctly
 
Old 10-08-2021, 06:56 AM   #14
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by grail View Post
Ok so I had forgotten all about alsa Now it didn't fix anything, as I saw nothing muted, however, what I have noted between the old and new machine
is that in the old, alsamixer lists one of my available cards (the default) as PulseAudio. Now this is not the case on the new machine.
So I am not sure if this is what I am supposed to be looking to get to appear or that is just a coincidence?

When using pavucontrol on old box my bluetooth headset is an optional item. It does not appear on the new machine. So I don't know if this is the
bluetooth side not connecting properly or the pipewire side not seeing it correctly
Hello grail,

I'm at a disadvantage here since I don't use or know Pipewire. However, I notice you still seem to be dependent on PulseAudio, so my initial assumption that it "replaces" PulseAudio is perhaps incorrect. Since your device doesn't seem to have been picked up by Pipewire/Pavucontrol, I would go over the list of requirements from the 2 links I posted earlier from the Arch Wiki and make sure you're not missing a package.

Let us know - Cheers !

Rick
 
Old 10-09-2021, 10:58 AM   #15
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Original Poster
Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
So this will come as a very unpleasant solution, but after multiple installs and file re-creations, I have both connection and sound and have little to no understanding as to why
 
  


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 Stopped Working "Unknown Bluetooth Controller in /etc/bluetooth/main.conf" PasBern Linux - Hardware 5 06-15-2021 10:39 AM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
Connecting Android device Bluetooth with external Bluetooth module . TheChronicScribbler Linux - Mobile 1 04-21-2014 04:01 AM
Connecting phones to computer via bluetooth Toadman Linux - Hardware 2 10-03-2009 10:12 PM
is their any software for connecting internet via bluetooth with linux sunny sharma Linux - Newbie 1 07-07-2008 03:35 AM

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

All times are GMT -5. The time now is 10:15 AM.

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