aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2022-03-14 08:36:58 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2022-03-14 08:38:04 +0000
commitd5ad1713cc38b680920efc0596e3904532c07dc7 (patch)
treede71a209110e7adbda8e1597448313c120ed159c
parent25bcd81b8d12468e28e438f58dd58e7c5ea8f8db (diff)
downloadsrc-d5ad1713cc38b680920efc0596e3904532c07dc7.tar.gz
src-d5ad1713cc38b680920efc0596e3904532c07dc7.zip
Chase mixer(8) command-line interface changes
Some more nits regarding mute feature. Differential revision: https://reviews.freebsd.org/D34545 Sponsored by: NVIDIA Networking
-rw-r--r--sbin/devd/apple.conf2
-rw-r--r--usr.bin/usbhidaction/usbhidaction.14
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/devd/apple.conf b/sbin/devd/apple.conf
index 9c132ec9f183..0729a9c86e7a 100644
--- a/sbin/devd/apple.conf
+++ b/sbin/devd/apple.conf
@@ -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 {
diff --git a/usr.bin/usbhidaction/usbhidaction.1 b/usr.bin/usbhidaction/usbhidaction.1
index 423b21adae9f..f50af8fff1ad 100644
--- a/usr.bin/usbhidaction/usbhidaction.1
+++ b/usr.bin/usbhidaction/usbhidaction.1
@@ -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