summaryrefslogtreecommitdiff
path: root/doc/arecord_opi_lite.md
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-11-27 16:17:05 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-04-24 01:33:04 +0300
commitc412bf2ee0a3fbf9032fc32a26837d4fbc7585c5 (patch)
tree5cca6bcab79331ad82cab4219c7692b9dd4eea21 /doc/arecord_opi_lite.md
initial public
Diffstat (limited to 'doc/arecord_opi_lite.md')
-rw-r--r--doc/arecord_opi_lite.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/arecord_opi_lite.md b/doc/arecord_opi_lite.md
new file mode 100644
index 0000000..153f9a1
--- /dev/null
+++ b/doc/arecord_opi_lite.md
@@ -0,0 +1,13 @@
+In order to use microphone on **Orange Pi Lite**:
+- enable audio codec in `armbian-config`
+- put this to `/etc/rc.local` (and make it executable):
+ ```
+ for v in unmute cap; do
+ /usr/bin/amixer set "Line In" $v
+ /usr/bin/amixer set "Mic1" $v
+ done
+
+ for k in "Mic1 Boost" "Line In" "Mic1"; do
+ /usr/bin/amixer set "$k" "86%"
+ done
+ ``` \ No newline at end of file