-
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Ally X): prefer HDMI audio when docked (#1467)
Create rule for HDMI and new folder structure for wireplumber for Ally X.
- Loading branch information
1 parent
8c6379d
commit 398ba21
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...iles/asustek computer inc.-rog ally x rc72la_rc72la/wireplumber.conf.d/51-preferHDMI.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
monitor.alsa.rules = [ | ||
{ | ||
matches = [ | ||
{ | ||
node.name = "alsa_output.pci-0000_64_00.1.hdmi-stereo" | ||
} | ||
] | ||
actions = { | ||
update-props = { | ||
priority.driver = 1100 | ||
priority.session = 1100 | ||
} | ||
} | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
...rofiles/asustek computer inc.-rog ally x rc72la_rc72la/wireplumber.conf.d/alsa-card0.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
monitor.alsa.rules = [ | ||
{ | ||
matches = [ | ||
{ | ||
node.name = "alsa_output.pci-0000_64_00.6.analog-stereo" | ||
} | ||
] | ||
actions = { | ||
update-props = { | ||
priority.driver = 900 | ||
priority.session = 900 | ||
api.alsa.period-size = 256 | ||
api.alsa.headroom = 1024 | ||
session.suspend-timeout-seconds = 0 | ||
} | ||
} | ||
} | ||
] |
37 changes: 37 additions & 0 deletions
37
...rofiles/asustek computer inc.-rog ally x rc72la_rc72la/wireplumber.conf.d/alsa-card1.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
monitor.alsa.rules = [ | ||
{ | ||
matches = [ | ||
{ | ||
node.name = "~alsa_input.*" | ||
alsa.card_name = "acp5x" | ||
} | ||
{ | ||
node.name = "~alsa_input.*" | ||
alsa.card_name = "acp6x" | ||
} | ||
{ | ||
node.name = "~alsa_input.*" | ||
alsa.card_name = "sof-nau8821-max" | ||
} | ||
{ | ||
node.name = "~alsa_output.*" | ||
alsa.card_name = "acp5x" | ||
} | ||
{ | ||
node.name = "~alsa_output.*" | ||
alsa.card_name = "acp6x" | ||
} | ||
{ | ||
node.name = "~alsa_output.*" | ||
alsa.card_name = "sof-nau8821-max" | ||
} | ||
] | ||
actions = { | ||
update-props = { | ||
session.suspend-timeout-seconds = 0 | ||
api.alsa.headroom = 1024 | ||
} | ||
} | ||
} | ||
] | ||
|