summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua')
-rw-r--r--accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua b/accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua
new file mode 100644
index 00000000..eafa6184
--- /dev/null
+++ b/accounts/gkleen@sif/wireplumber/main.lua.d/51-alsa-disable.lua
@@ -0,0 +1,12 @@
1rule = {
2 matches = {
3 {
4 { "device.name", "equals", "alsa_card.pci-0000_01_00.1" },
5 },
6 },
7 apply_properties = {
8 ["device.disabled"] = true,
9 },
10}
11
12table.insert(alsa_monitor.rules,rule)