So a friend helped me get Pulseaudio configured and running yesterday. Everything was working fine. Now I tried to get AlexaPi working and I thought that'd be a walk in the park since I hade Alexa-acv-sample-app installed and working before. I followed the guide in "Audio-setup-&-debugging" and now I have no sound at all on my system, no input or output is working anywhere. VLC seems to be completely broken as well and I don't know if that's a separate issue or not. Here's what I get from the log:
sudo systemctl status AlexaPi.service
● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-12-12 14:16:52 CET; 2s ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 914 ExecStart=/usr/bin/python /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
Main PID: 914 (code=exited, status=1/FAILURE)
Dec 12 14:16:52 Jesus13 python[914]: connect(2) call to /tmp/jack-1001/default/jack_0 failed (err=No such file or directory)
Dec 12 14:16:52 Jesus13 python[914]: attempt to connect to server failed
Dec 12 14:16:52 Jesus13 python[914]: CRITICAL: Your input_device 'pulse' is invalid. Use one of the following:
Dec 12 14:16:52 Jesus13 python[914]: Turtle Beach Z60 Game Audio: USB Audio (plughw:1,0)
Dec 12 14:16:52 Jesus13 python[914]: sysdefault
Dec 12 14:16:52 Jesus13 python[914]: spdif
Dec 12 14:16:52 Jesus13 python[914]: default
Dec 12 14:16:52 Jesus13 systemd[1]: AlexaPi.service: Main process exited, code=exited, status=1/FAILURE
Dec 12 14:16:52 Jesus13 systemd[1]: AlexaPi.service: Unit entered failed state.
Dec 12 14:16:52 Jesus13 systemd[1]: AlexaPi.service: Failed with result 'exit-code'.
pi@Jesus13:~ $ /opt/AlexaPi/src/main.py -d
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
2017-12-12 14:18:07 CRITICAL: Your input_device 'pulse' is invalid. Use one of the following:
Turtle Beach Z60 Game Audio: USB Audio (plughw:1,0)
sysdefault
spdif
default
Do anyone have any ideas why it refuses to start AlexaPi or recognize my voice input or output?
So a friend helped me get Pulseaudio configured and running yesterday. Everything was working fine. Now I tried to get AlexaPi working and I thought that'd be a walk in the park since I hade Alexa-acv-sample-app installed and working before. I followed the guide in "Audio-setup-&-debugging" and now I have no sound at all on my system, no input or output is working anywhere. VLC seems to be completely broken as well and I don't know if that's a separate issue or not. Here's what I get from the log:
Do anyone have any ideas why it refuses to start AlexaPi or recognize my voice input or output?