36 lines
637 B
Plaintext
36 lines
637 B
Plaintext
# Fenrir console audio support
|
|
# Prevents audio device suspension when switching to TTY console
|
|
|
|
monitor.alsa.rules = [
|
|
{
|
|
matches = [
|
|
{
|
|
device.name = "~alsa_card.*"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
api.alsa.use-acp = true
|
|
api.acp.auto-profile = false
|
|
api.acp.auto-port = false
|
|
session.suspend-timeout-seconds = 0
|
|
}
|
|
}
|
|
}
|
|
{
|
|
matches = [
|
|
{
|
|
node.name = "~alsa_input.*"
|
|
}
|
|
{
|
|
node.name = "~alsa_output.*"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
session.suspend-timeout-seconds = 0
|
|
}
|
|
}
|
|
}
|
|
]
|