summaryrefslogtreecommitdiff
path: root/doc/arecord_opi_lite.md
blob: 153f9a1feb0c9fcf9d1472fcca210bac0788eeec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
  ```