From 66f7fbdcc8a6fd3871128f189b03e68f1e35d3f6 Mon Sep 17 00:00:00 2001 From: Rodrigo Queiro Date: Mon, 27 Nov 2017 17:53:32 +0100 Subject: [PATCH] Reboot before installing ALSA config This allows the correct ALSA state to be configured, and prevents the volume widget writing an invalid config. Fixes #183. --- HACKING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/HACKING.md b/HACKING.md index bee001fb..c0767a7c 100644 --- a/HACKING.md +++ b/HACKING.md @@ -31,10 +31,21 @@ on Raspbian 2017-07-05 and later. You'll also need to configure ALSA: ``` shell sudo scripts/configure-driver.sh +sudo reboot +``` + +After your Pi has rebooted with the driver enabled, run: + +``` +cd ~/voice-recognizer-raspi sudo scripts/install-alsa-config.sh +python3 checkpoints/check_audio.py sudo reboot ``` +Don't skip running `check_audio.py` before rebooting, as it has an important +effect on the state of ALSA, the sound architecture. + ## Get cloud credentials To access the cloud services you need to register a project and generate