Page MenuHomeFreeBSD

Chase mixer(8) command-line interface changes
ClosedPublic

Authored by 0mp on Mar 13 2022, 1:20 PM.

Details

Summary

FreeBSD 14.0 is going to ship with a new implementation of the mixer(8)
command. Unfortunately, in order to support new features like mute, the
command-line interface of the new implementation is not backwards
compatible.

Update all the remaining documentation and scripts in the src tree
to use the new syntax.

While here, document in usbhidaction.1 that the mute functionality is
now supported.

Fixes: 903873ce1560 Implement and use new mixer(3) library for FreeBSD.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

0mp requested review of this revision.Mar 13 2022, 1:20 PM
This revision is now accepted and ready to land.Mar 13 2022, 1:45 PM
debdrup added a subscriber: debdrup.

The mdoc syntax looks good to me.

Thank you for doing this, as it was on my TODO list but kept getting pushed down.

This revision was automatically updated to reflect the committed changes.
pauamma added inline comments.
usr.bin/usbhidaction/usbhidaction.1
144

Is the command on that line correct? "^" (and maybe "mute.volume") doesn't look consistent with devd configuration files or acpi_ibm(4) above.

sbin/devd/apple.conf
47

mixer vol.mute=^1

usr.bin/usbhidaction/usbhidaction.1
144

You are right, should be vol.mute=^

@0mp : Will you fix?

sbin/devd/apple.conf
47

mixer vol.mute=^