alsa-mixer: Document "state.plugged" and "state.unplugged"
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 2 Jul 2012 10:17:30 +0000 (12:17 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Mon, 2 Jul 2012 10:22:49 +0000 (12:22 +0200)
Put explanation of state.plugged and state.unplugged in
analog-output.conf.common.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-output.conf.common

index d591686..e69615d 100644 (file)
 ;                                        # channel mask. A channel mask may either be the name of a single channel, or the words "all-left",
 ;                                        # "all-right", "all-center", "all-front", "all-rear", and "all" to encode a specific subset of
 ;                                        # channels in a mask
-; [Jack ...]                        # For each jack that we will use for jack detection
-;                                   # The name 'Jack Foo' must match ALSA's 'Foo Jack' control.
-; required = ignore | any           # If not set to ignore, make the path invalid if this jack control is not present.
-; required-absent = ignore | any    # If not set to ignore, make the path invalid if this jack control is present.
-; required-any = ignore | any       # If not set to ignore, make the path invalid if no jack controls and no elements with
-;                                   # the required-any are present.
+; [Jack ...]                           # For each jack that we will use for jack detection
+;                                      # The name 'Jack Foo' must match ALSA's 'Foo Jack' control.
+; required = ignore | any              # If not set to ignore, make the path invalid if this jack control is not present.
+; required-absent = ignore | any       # If not set to ignore, make the path invalid if this jack control is present.
+; required-any = ignore | any          # If not set to ignore, make the path invalid if no jack controls and no elements with
+;                                      # the required-any are present.
+; state.plugged = yes | no | unknown   # Normally a plugged jack would mean the port becomes available, and an unplugged means it's
+; state.unplugged = yes | no | unknown # unavailable, but the port status can be overridden by specifying state.plugged and/or state.unplugged.
 
 [Element PCM]
 switch = mute