From 270b1a7d74a7590b10cd190b344574896ebc6d05 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Mon, 2 Jul 2012 12:17:30 +0200 Subject: [PATCH] alsa-mixer: Document "state.plugged" and "state.unplugged" Put explanation of state.plugged and state.unplugged in analog-output.conf.common. Signed-off-by: David Henningsson --- .../alsa/mixer/paths/analog-output.conf.common | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/modules/alsa/mixer/paths/analog-output.conf.common b/src/modules/alsa/mixer/paths/analog-output.conf.common index d5916862f..e69615d47 100644 --- a/src/modules/alsa/mixer/paths/analog-output.conf.common +++ b/src/modules/alsa/mixer/paths/analog-output.conf.common @@ -104,12 +104,14 @@ ; # 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