summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDevendra Tewari <devendra.tewari@gmail.com>2021-06-08 17:39:52 -0300
committerAndrei Gherzan <andrei@gherzan.com>2021-06-10 21:22:24 +0100
commit246555aea70660d053f536e6f9dfb5a068ecdaa1 (patch)
tree2de846d026c3f6494643f553ddcacab42a2172cf /docs
parent7057d5dcbfa5802a370aa1730e14e940b9bf7b24 (diff)
downloadmeta-raspberrypi-246555aea70660d053f536e6f9dfb5a068ecdaa1.tar.gz
Add WM8960 soundcard support
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/extra-build-config.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md
index 1caf904..ec3bd6a 100644
--- a/docs/extra-build-config.md
+++ b/docs/extra-build-config.md
@@ -349,3 +349,24 @@ Also, this will enable adding Contiguous Memory Allocation value in the cmdline.
349Ref.: 349Ref.:
350* <https://github.com/raspberrypi/documentation/blob/master/linux/software/libcamera/README.md> 350* <https://github.com/raspberrypi/documentation/blob/master/linux/software/libcamera/README.md>
351* <https://www.raspberrypi.org/blog/an-open-source-camera-stack-for-raspberry-pi-using-libcamera/> 351* <https://www.raspberrypi.org/blog/an-open-source-camera-stack-for-raspberry-pi-using-libcamera/>
352
353## WM8960 soundcard support
354
355Support for WM8960 based sound cards such as the WM8960 Hi-Fi Sound Card HAT for Raspberry Pi from Waveshare, and ReSpeaker 2 / 4 / 6 Mics Pi HAT from Seeed Studio, can be enabled in `local.conf`
356
357 ```conf
358 MACHINE_FEATURES += "wm8960"
359 ```
360
361You may need to adjust volume and toggle switches that are off by default
362
363 ```bash
364 amixer -c1 sset 'Headphone',0 80%,80%
365 amixer -c1 sset 'Speaker',0 80%,80%
366 amixer -c1 sset 'Left Input Mixer Boost' toggle
367 amixer -c1 sset 'Left Output Mixer PCM' toggle
368 amixer -c1 sset 'Right Input Mixer Boost' toggle
369 amixer -c1 sset 'Right Output Mixer PCM' toggle
370 ```
371
372Audio capture on ReSpeaker 2 / 4 / 6 Mics Pi HAT from Seeed Studio is very noisy.