Chase mixer(8) command-line interface changes

Some more nits regarding mute feature.

Differential revision:	https://reviews.freebsd.org/D34545
Sponsored by:		NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2022-03-14 09:36:58 +01:00
parent 25bcd81b8d
commit d5ad1713cc
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ notify 0 {
match "system" "PMU";
match "subsystem" "keys";
match "type" "mute";
action "mixer vol.volume=0";
action "mixer vol.mute=^";
};
notify 0 {

View File

@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd March 13, 2022
.Dd March 14, 2022
.Dt USBHIDACTION 1
.Os
.Sh NAME
@ -141,7 +141,7 @@ of Philips USB speakers with the HID controls on the speakers.
# Configuration for various Philips USB speakers
Consumer:Volume_Increment 1 0 mixer -f $1 vol.volume=+1
Consumer:Volume_Decrement 1 0 mixer -f $1 vol.volume=-1
Consumer:Mute 1 0 mixer -f $1 mute.volume=^
Consumer:Mute 1 0 mixer -f $1 vol.mute=^
Consumer:Channel_Top.Microsoft:Base_Up 1 0 mixer -f $1 bass.volume=+1
Consumer:Channel_Top.Microsoft:Base_Down 1 0 mixer -f $1 bass.volume=-1
.Ed