git: d5ad1713cc38 - main - Chase mixer(8) command-line interface changes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Mar 2022 08:38:59 UTC
The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=d5ad1713cc38b680920efc0596e3904532c07dc7 commit d5ad1713cc38b680920efc0596e3904532c07dc7 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-03-14 08:36:58 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-03-14 08:38:04 +0000 Chase mixer(8) command-line interface changes Some more nits regarding mute feature. Differential revision: https://reviews.freebsd.org/D34545 Sponsored by: NVIDIA Networking --- sbin/devd/apple.conf | 2 +- usr.bin/usbhidaction/usbhidaction.1 | 4 ++-- 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