Skip to content

Commit

Permalink
Reboot before installing ALSA config (google#187)
Browse files Browse the repository at this point in the history
This allows the correct ALSA state to be configured, and prevents the
volume widget writing an invalid config. Fixes google#183.
  • Loading branch information
drigz authored Nov 28, 2017
1 parent 475e505 commit 79b8b0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79b8b0e

Please sign in to comment.