IRC channel logs

2024-11-07.log

back to list of logs

<meaty>Has anyone else had issues getting bluetooth headphones to work? I try to connect them in bluetoothctl and they either a) immediately disconnect twice with "br-connection-unknown" or, after restarting the bluetooth service, connect but don't appear in pavucontrol as a sink. ArchWiki reccomends installing pulseaudio-bluetooth or maybe pipewire-audio, neither of which exist
<meaty>my bluetooth mouse works fine, it's just the headset
<meaty>*looking at it now my headpones have changed their name in bluetoothctl from "Bose QC Ultra Headpones" to "LE-Bose[...]", despite having the same mac address[?], idk what's going on
<meaty>ik it's not a hardware issue, this same setup had almost no issues* when I was using Nix (*I did have to forget and re-pair each time I connected though)
<meaty>I just tried forgetting and re-pairing too, still no sink appearing
<meaty> https://wiki.archlinux.org/title/Bluetooth_headset#Connecting_works,_but_the_device_does_not_show_up_in_PulseAudio_sinks
<meaty>The wiki reccomends adding this line to /etc/bluetooth/main.conf, but I cannot find the equivalent in the bluetooth-configuration data type as described in the manual
<mange>Sorry, all I can offer is my sympathy. Getting Bluetooth working on any distribution has always been a struggle for me. I haven't tried with a Guix system in a long time.
<meaty>:(
<mange>It looks like you could inject that config, hackily, with something like (name "BlueZ\nEnable=Control,Gateway,Headset,Media,Sink,Socket,Source"), based on a quick read of gnu/services/desktop.scm
<mange>That could at least confirm whether it works. A proper fix would be to patch the service to allow that config to be set properly.
<meaty>could you elaborate? where would I place that phrase
<mange>In the bluetooth-configuration object.
<meaty>ohh i see
<mange>The configuration file is written with (string-append ... "\nName = " (bluetooth-configuration-name config) "\nClass = " ...), so we can inject arbitrary stuff in there if we want to. :)
<mange>It's not pretty, and I think there should almost always be a catch-all "just write this into the config", but since bluetooth-configuration doesn't have that we can hack it ourselves.
<meaty>aha it works!
<meaty>thank you
<meaty>wierdly it is now stuck in low-quality phone call mode, but w/e
<meaty>a step in the right direction
<mange>My bluetooth headphones are always in low-quality phone call mode if there's anything on the system asking for a microphone. I think the protocols for high quality microphone stuff over Bluetooth are all vendor-specific propriety things.
<meaty>aha, I actually had to disable certain capabilities, then tell it to never work in phone call mode
<meaty>hopefully this Just Works (tm) from now on
<mange>Are you leaving the name hack in your config? :/
<mange>I only intended that to be for experimentation!
<meaty>what else is there to do lol
<getstate>sent out a review for 74227 instead of 24228 :(
<getstate>74228*
<meaty>fine i'll write a patch
<jaft_r>pkill9: are you thinking of PantherX? https://www.pantherx.org
<jaft_r>Only one I know of, outside of GuixSD.
<marmar>how do I use weechat-matrix? most guides I read needs you to run the python script, but it fails. don't know if it needs a specific path or something else
<sneek>Welcome back marmar, you have 2 messages!
<sneek>marmar, nckhexen says: It depends on what you mean by add. There are no hidden defaults. (substitute-urls '("...us-east...")) will not query any other server. You must manually {ap,pre}pend %default-substitute-urls)
<sneek>marmar, nckhexen says: if you want that.