mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-05 00:06:16 -04:00
alsa-profiles: Add Razer Leviathan V2 profile
This commit is contained in:
parent
559a30b0b4
commit
b001735faa
2 changed files with 31 additions and 11 deletions
|
|
@ -118,7 +118,6 @@ ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="402e", ENV{ACP_PROFILE_SET}="dell-do
|
||||||
ATTRS{idVendor}=="08bb", ATTRS{idProduct}=="2902", ENV{ACP_PROFILE_SET}="texas-instruments-pcm2902.conf"
|
ATTRS{idVendor}=="08bb", ATTRS{idProduct}=="2902", ENV{ACP_PROFILE_SET}="texas-instruments-pcm2902.conf"
|
||||||
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0269", ENV{ACP_PROFILE_SET}="hp-tbt-dock-120w-g2.conf"
|
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0269", ENV{ACP_PROFILE_SET}="hp-tbt-dock-120w-g2.conf"
|
||||||
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0567", ENV{ACP_PROFILE_SET}="hp-tbt-dock-audio-module.conf"
|
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0567", ENV{ACP_PROFILE_SET}="hp-tbt-dock-audio-module.conf"
|
||||||
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="0a4c", ENV{ACP_PROFILE_SET}="logi407.conf"
|
|
||||||
|
|
||||||
# ID 1038:12ad is for the 2018 refresh of the Arctis 7.
|
# ID 1038:12ad is for the 2018 refresh of the Arctis 7.
|
||||||
# ID 1038:1294 is for Arctis Pro Wireless (which works with the Arctis 7 configuration).
|
# ID 1038:1294 is for Arctis Pro Wireless (which works with the Arctis 7 configuration).
|
||||||
|
|
@ -138,13 +137,12 @@ ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{ACP_PROFILE_SET}="usb-gam
|
||||||
ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0038", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0038", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
||||||
# ID 9886:0045 is for the Astro A20 Gen2
|
# ID 9886:0045 is for the Astro A20 Gen2
|
||||||
ATTRS{idVendor}=="9886", ATTRS{idProduct}=="0045", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
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
|
# ID 1532:0520 is for the Razer Kraken Tournament Edition
|
||||||
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0520", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
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)
|
|
||||||
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0579", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
|
||||||
# ID 1532:057a is Razer BlackShark v3 (2.4GHz dongle)
|
|
||||||
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="057a", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
|
||||||
|
|
||||||
|
|
||||||
# ID 1038:1250 is for the Arctis 5
|
# ID 1038:1250 is for the Arctis 5
|
||||||
|
|
@ -187,11 +185,6 @@ ATTRS{idVendor}=="1395", ATTRS{idProduct}=="0300", ENV{ACP_PROFILE_SET}="usb-gam
|
||||||
# Sennheiser GSP 670 USB headset
|
# Sennheiser GSP 670 USB headset
|
||||||
ATTRS{idVendor}=="1395", ATTRS{idProduct}=="008a", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
ATTRS{idVendor}=="1395", ATTRS{idProduct}=="008a", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
|
||||||
|
|
||||||
# JBL Quantum One
|
|
||||||
ATTRS{idVendor}=="0ecb", ATTRS{idProduct}=="203a", ENV{ACP_PROFILE_SET}="usb-gaming-headset-gamefirst.conf"
|
|
||||||
# JBL Quantum 810 Wireless
|
|
||||||
ATTRS{idVendor}=="0ecb", ATTRS{idProduct}=="2069", ENV{ACP_PROFILE_SET}="usb-gaming-headset-gamefirst.conf"
|
|
||||||
|
|
||||||
# Audioengine HD3 powered speakers support IEC958 but don't actually
|
# Audioengine HD3 powered speakers support IEC958 but don't actually
|
||||||
# have any digital outputs.
|
# have any digital outputs.
|
||||||
ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="4007", ENV{ACP_PROFILE_SET}="analog-only.conf"
|
ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="4007", ENV{ACP_PROFILE_SET}="analog-only.conf"
|
||||||
|
|
|
||||||
27
spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf
Normal file
27
spa/plugins/alsa/mixer/profile-sets/razer-leviathan-v2.conf
Normal 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 = PCM:1
|
||||||
|
intended-roles = audio
|
||||||
|
|
||||||
|
[Profile output:stereo]
|
||||||
|
output-mappings = stereo
|
||||||
|
priority = 5100
|
||||||
Loading…
Add table
Add a link
Reference in a new issue