I am trying to install Jasper (Jasper is an open source platform for developing always-on, voice-controlled applications) on Raspberry Pi 2 (Jessie). I have a mic to give the commands, but it does not seem to be working. As per the documentation
Plug in your USB microphone. Let’s open up an ALSA configuration file in vim:
sudo vim /etc/modprobe.d/alsa-base.confChange the following line:
options snd-usb-audio index=-2, to this:options snd-usb-audio index=0Back in the shell, run:
sudo alsa force-reload(Does not work, says "could not find alsa")Next, test that recording works (you may need to restart your Pi) by recording some audio with the following command:
arecord temp.wav(throws error "arecord: main:722: audio open error: No such file or directory")
I have looked at one of the solutions on this site, but it did not work for me.
The Jasper instructions are: Manual Installation
mic: Kinobo USB Microphone
speaker: Logitech S150 USB Speakers with Digital Sound
indexworks only if used with all drivers); please use theslotsmethod instead, and file a bug with Jasper. – CL. Jan 14 '16 at 07:36Does the reordering.
options snd slots=snd-usb-audio,snd-bcm2835 Should I comment options snd_usb_audio index=0 options snd_bcm2835 index=1
– sarvs Jan 14 '16 at 14:40indexoptions are no longer needed. – CL. Jan 14 '16 at 18:51/dev/snd/? Is your user in the audio group? – CL. Jan 14 '16 at 20:51snddirectory itself do not matter; look at the files inside. – CL. Jan 15 '16 at 12:17