diff options
author | Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> | 2022-08-19 02:46:06 +0000 |
---|---|---|
committer | Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> | 2022-08-19 02:46:06 +0000 |
commit | 19f18b5dcee49c6f9c17550611930dffe1aaadf0 (patch) | |
tree | 3907ce3f4178c0d684bb1b2319b7846ed43c0584 | |
parent | 8e8b2788e5681cd4c4bc6ea09f2368b48b642d5f (diff) |
man: wm8960(8) and imx8pm(8)
-rw-r--r-- | sys/man/8/acpi | 2 | ||||
-rw-r--r-- | sys/man/8/imx8pm | 44 | ||||
-rw-r--r-- | sys/man/8/wm8960 | 74 |
3 files changed, 120 insertions, 0 deletions
diff --git a/sys/man/8/acpi b/sys/man/8/acpi index 56a0201d5..cb42a0c9e 100644 --- a/sys/man/8/acpi +++ b/sys/man/8/acpi @@ -54,6 +54,8 @@ The file currently does not provide any functionality. .SH SOURCE .B /sys/src/cmd/aux/acpi.c +.SH SEE ALSO +.IR imx8pm (8) .SH BUGS ACPI itself. .SH HISTORY diff --git a/sys/man/8/imx8pm b/sys/man/8/imx8pm new file mode 100644 index 000000000..2b97cc14d --- /dev/null +++ b/sys/man/8/imx8pm @@ -0,0 +1,44 @@ +.TH IMX8PM 8 +.SH NAME +imx8pm \- power management for MNT Reform 2 +.SH SYNOPSIS +.B aux/imx8pm +[ +.B -D +] +[ +.B -m +.I mountpoint +] +[ +.B -s +.I service +] +.SH DESCRIPTION +.I Aux/imx8pm +presents at +.I mountpoint +(default +.BR /mnt/pm ) +an interface to miscellaneous functions of IMX8MQ. If a +.I service +is specified, the interface will be posted at +.BI /srv/ service +as well. +.PP +The directory contains the following files. +.TP +.B cputemp +Exposes the current temperature reading of the CPU. +.TP +.B ctl +Provides a way to control the brightness of the built-in LCD. +.SH SOURCE +.B /sys/src/cmd/aux/imx8pm.c +.SH SEE ALSO +.IR wm8960 (8) +.SH BUGS +Absolutely yes. +.SH HISTORY +.I Acpi +first appeared in 9front (August, 2022). diff --git a/sys/man/8/wm8960 b/sys/man/8/wm8960 new file mode 100644 index 000000000..f21d1e09d --- /dev/null +++ b/sys/man/8/wm8960 @@ -0,0 +1,74 @@ +.TH WM8960 8 +.SH NAME +wm8960 \- audio controls for MNT Reform 2 +.SH SYNOPSIS +.B aux/wm8960 +[ +.B -D +] +[ +.B -1 +] +[ +.B -m +.I mountpoint +] +[ +.B -s +.I service +] +.SH DESCRIPTION +.I Aux/imx8pm +presents at +.I mountpoint +(default +.BR /mnt/wm8960 ) +an interface to control the DAC (Digital-to-Analog Converter) found on +MNT Reform 2. If a +.I service +is specified, the interface will be posted at +.BI /srv/ service +as well. In order to only initialize the DAC and immediately exit without +running a file system, option +.I -1 +can be used. +.PP +The directory contains the following files. +.TP +.B audioctl +Shows the current status +.I (on +or +.I off ) +of the three "outputs" - +.BR master , +.BR hp +and +.BR spk . +Each can be enabled, disabled or toggled, by writing a single line +to the same file, consisting of the output name and the desired action - +.I on , +.I off +or +.I toggle , +accordingly. +.IP +DAC can be reinitialized by writing a single +.BR reset . +.TP +.B volume +Provides an interface for volume control (see \fIaudio\fR(3)). Only +44100Hz (default) and 48000Hz sample rates are supported. +.IP +Enhanced stereo separation can be enabled by writing +.BR 3d , +followed by desired percentage of the effect. +.SH SOURCE +.B /sys/src/cmd/aux/imx8pm.c +.SH SEE ALSO +.IR wm8960 (8) +.SH BUGS +Absolutely yes. +.SH HISTORY +.I Wm8960 +first appeared in 9front (August, 2022). |