You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
Ok I'm trying to resolve this almost a week and I don't have any more ideas.
So, I'm installing Alexa on Raspberry Pi 3B with SD card 16GB, usb microphone and HDMI monitor with speakers.
I installed Raspbian scretch and I followed instruction from Amazon Developers site. Everything went well but I can not start it.
Here you can see the log: https://pastebin.com/fBGKUhLb
Obviouselly there is problem with PortAudio but I can't solve it.
##I tried:
create .asoundrc and setup correctly speaker and microphone:
pcm.dsnooper {
type dsnoop
ipc_key 816357492
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:1,0"
channels 1
rate 16000
}
}
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,1"
}
capture.pcm {
type plug
slave.pcm "dsnooper"
}
}
Commands like rec, aplay, arecord works correctly. I'm able to record sound and to play same wav to the speaker. Still doesn't work
pi@aleksa:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
This sounds very much like the problem reported here: #1359. Some people at the end of that thread are reporting success by installing an older version of Raspbian.
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
Ok I'm trying to resolve this almost a week and I don't have any more ideas.
So, I'm installing Alexa on Raspberry Pi 3B with SD card 16GB, usb microphone and HDMI monitor with speakers.
I installed Raspbian scretch and I followed instruction from Amazon Developers site. Everything went well but I can not start it.
Here you can see the log: https://pastebin.com/fBGKUhLb
Obviouselly there is problem with PortAudio but I can't solve it.
##I tried:
pcm.dsnooper {
type dsnoop
ipc_key 816357492
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:1,0"
channels 1
rate 16000
}
}
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,1"
}
capture.pcm {
type plug
slave.pcm "dsnooper"
}
}
Commands like rec, aplay, arecord works correctly. I'm able to record sound and to play same wav to the speaker. Still doesn't work
pi@aleksa:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@aleksa:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
I changed another USB microphone, one is standard PnP another is AK171 or something. No luck
I changed RPi with same HW setup. No luck.
I connected headphones to 3.5mm jack and routed sound to them. No luck!
I used this command: env PA_ALSA_PLUGHW=2 sudo /home/pi/Assistants-Pi/Alexa/startsample.sh. Still no luck.
I tried to use Assistents-PI installation but result is the same.
Something is wrong with PortAudio, even their examples have the same / similar error.
I'm clueless and I don't have any more ideas what can I do. Feeling pretty desperate.. Please help
What is the expected behavior?
SampleApp should start normally
What behavior are you observing?
SampleApp won't start
Provide the steps to reproduce the issue, if applicable:
sudo /home/pi/Assistants-Pi/Alexa/startsample.sh
Tell us about your environment:
What version of the AVS Device SDK are you using?
I sdkVersion: 1.9.0
Tell us what hardware you're using:
Tell us about your OS (Type & version):
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
The text was updated successfully, but these errors were encountered: