config: add {device|node}.disable

This commit is contained in:
Ashok Sidipotu
2024-03-08 12:17:04 +05:30
committed by George Kiagiadakis
parent dee7403f69
commit 08ae195cdb
4 changed files with 21 additions and 2 deletions

View File

@@ -198,6 +198,13 @@ Some of the other properties that can be configured on devices:
A longer, user-friendly name of the device. This will show up in most
user interfaces as the device's name.
.. describe:: device.disable
Disables the device. PipeWire will remove it from the list of cards or
devices.
:Type: boolean
Node properties
^^^^^^^^^^^^^^^
@@ -320,6 +327,12 @@ The following properties can be configured on nodes created by the monitor:
:Type: boolean
.. describe:: node.disable
Disables the node. Pipewire will remove it from the list of the nodes.
:Type: boolean
ALSA buffer properties
......................

View File

@@ -34,8 +34,9 @@ monitor.alsa.rules = [
# ]
# actions = {
# update-props = {
# api.alsa.use-acp = true
# api.alsa.use-acp = true
# api.acp.auto-port = false
# device.disabled = false
# }
# }
# }
@@ -149,6 +150,7 @@ monitor.alsa.rules = [
#
# ## 0 disables suspend
# session.suspend-timeout-seconds = 5
# node.disabled = false
# }
# }
# }

View File

@@ -17,7 +17,8 @@ monitor.libcamera.rules = [
# ]
# actions = {
# update-props = {
# device.nick = "My Device"
# device.nick = "My Device"
# device.disabled = false
# }
# }
# }
@@ -40,6 +41,7 @@ monitor.libcamera.rules = [
# priority.driver = 100
# priority.session = 100
# node.pause-on-idle = false
# node.disabled = false
# }
# }
# }

View File

@@ -18,6 +18,7 @@ monitor.v4l2.rules = [
# actions = {
# update-props = {
# device.nick = "My Device"
# device.disabled = false
# }
# }
# }
@@ -40,6 +41,7 @@ monitor.v4l2.rules = [
# priority.driver = 100
# priority.session = 100
# node.pause-on-idle = false
# node.disabled = false
# }
# }
# }