From e83a9c48b870f948084f049f5837da29fbd653b0 Mon Sep 17 00:00:00 2001 From: RhiobeT Date: Tue, 30 Aug 2022 13:35:15 +0200 Subject: [PATCH] [PipeWire] Add noboost mic rules --- etc/udev/rules.d/91-mic-no-boost.rules | 1 + .../mixer/paths/analog-input-internal-mic-noboost.conf | 4 ++++ usr/share/alsa-card-profile/mixer/profile-sets/noboost.conf | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 etc/udev/rules.d/91-mic-no-boost.rules create mode 100644 usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-noboost.conf create mode 100644 usr/share/alsa-card-profile/mixer/profile-sets/noboost.conf diff --git a/etc/udev/rules.d/91-mic-no-boost.rules b/etc/udev/rules.d/91-mic-no-boost.rules new file mode 100644 index 0000000..240cadb --- /dev/null +++ b/etc/udev/rules.d/91-mic-no-boost.rules @@ -0,0 +1 @@ +SUBSYSTEM=="sound", ACTION=="change", KERNEL=="card*", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x9d71", ENV{ACP_PROFILE_SET}="noboost.conf" diff --git a/usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-noboost.conf b/usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-noboost.conf new file mode 100644 index 0000000..a1e040a --- /dev/null +++ b/usr/share/alsa-card-profile/mixer/paths/analog-input-internal-mic-noboost.conf @@ -0,0 +1,4 @@ +.include analog-input-internal-mic.conf + +[Element Internal Mic Boost] +volume = off diff --git a/usr/share/alsa-card-profile/mixer/profile-sets/noboost.conf b/usr/share/alsa-card-profile/mixer/profile-sets/noboost.conf new file mode 100644 index 0000000..eb5232c --- /dev/null +++ b/usr/share/alsa-card-profile/mixer/profile-sets/noboost.conf @@ -0,0 +1,4 @@ +.include default.conf + +[Mapping analog-stereo] +paths-input = analog-input-internal-mic-noboost