You are not logged in.

#1 2024-07-13 15:20:26

gcb
Member
Registered: 2014-02-12
Posts: 213

bluetooth hardware/fixed volume

I have one device that start to annoy me with volume. I recall being able to change the volume just fine on the UI. now the volume slider does nothing for that device, unless i'm muting it.

I really wish bluetooth implementations just bit the bullet and showed two volume sliders always instead of adding magic that never does what the user wants... sigh. anyway, here's what i've found so far

https://wiki.archlinux.org/title/Blueto … d_PipeWire - outdated. mentions `/usr/share/pipewire/media-session.d/bluez-monitor.conf` which is not on the packages anymore

https://pipewire.pages.freedesktop.org/ … tooth.html - cryptic as hell for anyone who is not already a contributor. I am too dumb to figure out the context of the multilevel JSON configs. I know i have to set bluez5.enable-hw-volume = false, but i have absolutely no idea on what larger json object context.... trying to read the entire manual leads me to something that doesn't work:

$ wpctl settings  monitor.bluez.properties.bluez5.enable-hw-volume true
Failed to set setting 'monitor.bluez.properties.bluez5.enable-hw-volume' to: true
 # pacman -Ss pipe | g installed
27:extra/kpipewire 6.1.2-2 (plasma) [installed]
31:extra/libpipewire 1:1.2.1-1 [installed]
33:extra/libwireplumber 0.5.5-1 [installed]
47:extra/pipewire 1:1.2.1-1 [installed]
51:extra/pipewire-audio 1:1.2.1-1 [installed]
63:extra/pipewire-pulse 1:1.2.1-1 [installed]
109:extra/wireplumber 0.5.5-1 [installed]

If there's a wpctl for the device volume instead of screwing up everything else, it would be awesome...

Offline

#2 2024-07-14 20:54:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: bluetooth hardware/fixed volume

true is the default, if you want the volume on pipewire to be disjoint from the HW you want to set it to false.

Generally speaking regarding the confusing config format, you need to ensure your eventual adjustment comes lexographically "after" the default configs are parsed, easiest by prefixing with a high number e.g. /etc/wireplumber/wireplumber.conf.d/99-disableHWBT.conf

monitor.bluez.properties = {
   bluez5.enable-hw-volume = false
}

Offline

Board footer

Powered by FluxBB