2026-11-22 22:31:41 +02:00
|
|
|
# Suspend idle ALSA and BlueZ audio nodes after 3 seconds and prioritize MT6351 HiFi audio.
|
2026-11-22 10:49:59 +02:00
|
|
|
monitor.alsa.rules = [
|
2026-11-22 22:31:41 +02:00
|
|
|
{
|
|
|
|
|
matches = [ { device.name = "alsa_card.platform-sound" } ]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
|
|
|
|
device.description = "Gemini Built-in Audio"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
matches = [ { device.name = "alsa_card.platform-bluetooth-voice-sound" } ]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
|
|
|
|
device.description = "MT6797 BT-CVSD Voice Bridge"
|
|
|
|
|
device.profile = "off"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-11-22 10:49:59 +02:00
|
|
|
{
|
|
|
|
|
matches = [ { node.name = "~alsa_.*" } ]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
|
|
|
|
session.suspend-timeout-seconds = 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
monitor.bluez.rules = [
|
|
|
|
|
{
|
|
|
|
|
matches = [ { node.name = "~bluez_.*" } ]
|
|
|
|
|
actions = {
|
|
|
|
|
update-props = {
|
|
|
|
|
session.suspend-timeout-seconds = 3
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|