[SOLVED] Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones 09 March 2021, 18:25:41 > This question was originally posted on the [UNIX and Linux StackExchange][se_post][se_post]: https://unix.stackexchange.com/posts/638019/editI have a Bluetooth USB adapter that I plug into my desktop PC to help me connect to Bluetooth stuff. It works perfectly under Windows 10. Except that I really can't get it to work with Artix OpenRC dual-boot, despite having installed all of the relevant packages and having watched and read many tutorials. (My headphones are Sony's `LE_WH-1000XM3`)The closest I could get to something working was following [this Gentoo OpenRC tutorial][tutorial], but, at the very end, when trying `connect device_mac_address` all I get is a vague error message — yes, I have done `rfkill unblock bluetooth` —:```errorAttempting to connect to XX:XX:XX:XX:XX:XXFailed to connect: org.bluez.Error.Failed```And, if I try to pair it again, I get `Failed to pair: org.bluez.Error.AlreadyExists`. Quite frankly, I find `bluetoothctl`'s error messages quite terse and cryptic.---I have many packages installed, including:```nonealsa-utilsblueberrybluemanbluezbluez-toolsbluez-utilsbluetoothbluetooth-openrcpavucontrolpulseaudio-alsapulseaudio-bluetoothpulseaudio-ctl```So far, I have been using my headphones through cable, but even then I can't say the behavior has been very consistent. Sometimes I have to open `pavucontrol` and hack around to see if a specific configuration manages to enable to headphones.[tutorial]: https://wiki.gentoo.org/wiki/Bluetooth Last Edit: 21 March 2021, 14:27:36 by nous
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #1 – 09 March 2021, 20:34:02 we are archlinux, not gentoo, so you should read this: https://wiki.archlinux.org/index.php/Bluetoothbluetooth service bluetooth-openrc is installed, i see, but it's started at boot? 1 Likes
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #2 – 09 March 2021, 21:02:57 I was reading the Gentoo tutorial because it seemed to be more readable than what I had found on the Arch Wiki. But, that said, the Bluetooth USB Dongle section (https://wiki.archlinux.org/index.php/Bluetooth#Bluetooth_USB_Dongle), fits in more nicely into my context.With respect to the services starting on boot, I think I had enabled them with this: https://wiki.archlinux.org/index.php/Bluetooth#Auto_power-on_after_bootI quite frankly find the `rc-whatever` stuff kind of confusing, but, when I run `rc-service --list`, here is what's under the letter "b":```nonebinfmtbluetoothdbootmisc```Is `rc-service --list` what you meant by checking what's starting at boot?
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #3 – 11 March 2021, 10:06:44 What DE are you using I did a new Cinnamon runit install and Bluetooth works fine out the box, both my earbuds and Bluetooth amp. Please remember that if you inst packages not matched for the DE, WM, you can get problems.Also with everything the headset is always only compatible as is the Bluetooth transducer, with Windows.
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #4 – 11 March 2021, 13:14:51 Quotebluetooth service bluetooth-openrc is installed, i see, but it's started at boot? Code: [Select]rc-status
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #5 – 11 March 2021, 13:43:44 Here is my Code: [Select]rc-status output (https://imgur.com/gallery/bqgnKeS):My desktop environment is pure Xorg + XMonad, I wouldn't have guessed it would influence Bluetooth though. You can take a look at my full dotfiles setup here.
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #6 – 11 March 2021, 14:49:35 have you read thisyou will typically need to take an additional step to integrate the audio server with bluetooth. This is detailed in the below sections.See the Bluetooth headset page for more information about bluetooth audio and bluetooth headsets.PulseAudioIn order to be able to use audio equipment like bluetooth headphones or speakers, you need to install the additional pulseaudio-bluetooth package. With a default PulseAudio installation you should immediately be able to stream audio from a bluetooth device to your speakers.If you have a system-wide PulseAudio setup make sure the user running the daemon (usually pulse) is in the lp group and you load the bluetooth modules in your PulseAudio config:/etc/pulse/system.pa...load-module module-bluetooth-policyload-module module-bluetooth-discover...
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #7 – 11 March 2021, 21:15:33 Quote from: mandog – on 11 March 2021, 14:49:35have you read thisIs that content on the Arch Wiki's Bluetooth page? If not, where is it? I can't seem to find it... Do you have a link?
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #8 – 11 March 2021, 22:35:49 https://wiki.archlinux.org/index.php/Bluetoothits just before pipewire the arch wiki can be very elusive at timesdo you use a dongle by any chance
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #9 – 12 March 2021, 13:40:43 I added the policy and discover modules to the system.pa file, but it still didn't work I use a dongle for my keyboard and webcam. My mouse is connected through its Logitech RF USB adapter. And the Bluetooth USB adapter is directly connected to the PC as well.
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #10 – 12 March 2021, 15:29:12 The usb dongle is not by any chance a Cambridge dongle as their are a lot of bad ones, I use a cambridge dongle myself mine is fine mind you , but if the other BT devises are working that should rule out the interface. My other dongle does not work with Mac and gives low quality sound on Linux.
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #11 – 12 March 2021, 17:26:40 My dongle is from a brand called exbom, it works really well, but I have no devices related to the Bluetooth issue that are connected to it. And I also have no other Bluetooth devices working actually, the Logitech USB device works with RF, which was unexpected to me some years ago. My Bluetooth USB adapter is connected to 1 of 3 of my desktop USB ports.
Re: Bluetooth with a USB Adapter and Sony's LE_WH-1000XM3 Headphones Reply #12 – 18 March 2021, 22:23:18 Unexpectedly, when I was trying to debug this one day, I opened up both Blueberry and Pavucontrol at the same time. Then and only then Bluetooth connected, with even better sound quality than I was experiencing through cable. (Closing any of the mentioned apps would terminate the Bluetooth connection itself.)