Merge branch 'fp/add-razer-leviathan-v2-conf' into 'master'

alsa-profiles: Add Razer Leviathan V2 profile

See merge request pipewire/pipewire!2871
This commit is contained in:
Fernando Perez 2026-06-24 23:24:56 +00:00
commit b24a58c4df
3 changed files with 60 additions and 0 deletions

View file

@ -139,6 +139,10 @@ ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0038", ENV{ACP_PROFILE_SET}="usb-gam
# ID 9886:0045 is for the Astro A20 Gen2
ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0045", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
# ID 1532:0532 is for the Razer Leviathan V2
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0532", ENV{ACP_PROFILE_SET}="razer-leviathan-v2.conf"
# ID 1532:054a is for the Razer Leviathan V2 X
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="054a", ENV{ACP_PROFILE_SET}="razer-leviathan-v2.conf"
# ID 1532:0520 is for the Razer Kraken Tournament Edition
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0520", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
# ID 1532:0579 is Razer BlackShark v3 (usb direct to headset)

View file

@ -0,0 +1,29 @@
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
; Steelseries Arctis 5 USB headset stereo chat path. The headset has two
; output devices. The first one is meant for voice audio, and the second
; one meant for everything else. The purpose of this unusual design is to
; provide separate volume controls for voice and other audio, which can be
; useful in gaming.
[General]
description = Razer Leviathan Output
[Element PCM,1]
volume = merge
switch = mute
override-map.1 = all
override-map.2 = all-left,all-right

View file

@ -0,0 +1,27 @@
# This file is part of PipeWire/PulseAudio.
#
# Razer Leviathan V2 / V2 X soundbar audio profile.
# These soundbars have two ALSA PCM controls:
# - PCM,0: Fake mute control (only 0% / 1-100%, no real volume change)
# - PCM,1: Real hardware volume amplifier control
# This profile maps volume to the real PCM,1 control.
#
# Works with:
# Razer Leviathan V2 (USB ID 1532:0532)
# Razer Leviathan V2 X (USB ID 1532:054a)
#
; See default.conf for an explanation on the directives used here.
[General]
auto-profiles = yes
[Mapping stereo]
description-key = soundbar-stereo
device-strings = hw:%f,0,0
channel-map = left,right
paths-output = razer-leviathan-output
intended-roles = audio
[Profile output:stereo]
output-mappings = stereo
priority = 5100