-
Notifications
You must be signed in to change notification settings - Fork 605
get no sound with plantronics speaker box #212
Comments
Hi @comdata, how did you tell Alexa was hearing you properly? Would you be able to attach more logs (with DEBUG9)? Also, what version of gstreamer are you using? While It is normal to get messages like that from ALSA on raspberry pi, here's a great reference to asoundrc that may help you if the problem is due to audio being routed to a wrong device: |
This is the log from DEBUG9: Connecting...############################# Alexa is currently idle!######################################## Client not connected!#####################################
+----------------------------------------------------------------------------+ ######################################## Alexa is currently idle!######################################## I could see Alexa listening and speaking by seeing the Listening, Thinking and Speaking debug outputs and performing the smart home actions I asked. I will see later if the asoundrc is having to do anything with it. |
Hi @comdata, I can see that you specified DEBUG9, but it looks like you are running a RELEASE build, where DEBUG level logging is compiled out. Would you please rebuild the SDK, passing -DCMAKE_BUILD_TYPE=DEBUG on the cmake command line and update the logs? Thank you, |
Ok, I've compiled it with the DEBUG build statement. 2017-10-06 08:32:39.209 [ 3] 1 AlertsCapabilityAgent:executeOnConnectionStatusChanged:status=DISCONNECTED,reason=SERVER_ENDPOINT_CHANGED It seems somehow that the ALSA is not finding the card. |
It seems like it is trying just to use card 0 and not the default card. |
Hi @comdata, Please take a look at the URL below on how to modify the $HOME/.asoundrc file to change the card or device: If that doesn't help, please attach more DEBUG9 logs. Maybe attach the logs when you ask Alexa something, and when Alexa responses (or should have response). We would like see if there's maybe something else that's causing the issue. Thanks! |
Hi @kclchan, I tried various configurations in the .asoundrc file and can control where aplay will output my test.wav file. So far no change. Please find attached the log: Running app with log level: DEBUG9 Connecting...############################# Alexa is currently idle!######################################## Client not connected!#####################################
+----------------------------------------------------------------------------+ 2017-10-19 15:36:48.596 [ f] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 0255fffffef673c4-000077eb-0001851e-4e5006df1289b00c-de853329-1 Alexa is currently idle!######################################## Listening...############################ Thinking...########################### Speaking...########################### Alexa is currently idle!######################################## What more can I provide? |
Hi @comdata, Can you try connect a 3.5mm headphones and configure to use it What OS and version do you use? Thanks, |
Hi @BennyAvramson, I have a 3.5mm headphone connected. This way I could figure out that both output channels are working. I could direct the output of play through the headphones and the usb audio device. I am using raspbian stretch updated just yesterday. I did not use the |
Hi, I have run it with strace maybe this helps to see what is wrong. Kind Regards, |
Can you confirm that the headphones work in other applications? |
Yes. Both the headphones and also the speaker box work with other
applications e.g. aplay
Kind Regards,
Christoph
Am 28.10.2017 23:03 schrieb "bandkenamazoncom" <notifications@github.com>:
… Can you confirm that the headphones work in other applications?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or mute the thread
</~https://github.com/notifications/unsubscribe-auth/AEe6z5fjYUNc0kZt2iGWobm-yO6IgkyBks5sw5aQgaJpZM4PuIg8>
.
|
I tried this with version 1.2.0 today but it seems not to change anything. Kind Regards, |
Hi, I have a similar issue. Alexa hears me, but I do not hear her responses. I am bringing up the C++ SampleApp on a BeagleBone, using a USB audio card for sound input/ output. The Sensory voice triggering is working (Alexa goes into Listening mode), and my requests are handled properly (e.g. asking weather brings up the proper city card), but playback is always silent. Things I've tried that work:
ALSA says there are the cards installed on my system: debian@beaglebone:~$ arecord -l My ~/.asoundrc looks like this: Here are my logs asking Alexa for the weather: Running app with log level: DEBUG9 Connecting...############################# 2017-11-04 21:38:10.901 [ 5] 9 PostConnectSynchronize:Entering postConnectLoop thread Alexa is currently idle!######################################## 2017-11-04 21:38:12.621 [ b] 0 HTTP2Transport:cleanupFinishedStream:streamId=3,result=204
+----------------------------------------------------------------------------+ 2017-11-04 21:38:18.413 [ a] 0 AudioInputProcessor:setState:from=IDLE,to=RECOGNIZING Listening...############################ 2017-11-04 21:38:18.416 [ a] 0 ContextManager:updateStateLocked:action=updatedState,state={"wakeword" : "alexa"},namespace=SpeechRecognizer,name=RecognizerState Thinking...########################### 2017-11-04 21:38:21.613 [ b] I InProcessAttachmentReader:readFailed:reason=SDS is closed Alexa is currently idle!######################################## 2017-11-04 21:38:21.998 [ f] I DirectiveRouter:preHandleDirective:messageId=4168cb09-4ef2-4f8f-b97e-96789ae25c82,action=calling RenderTemplateCard#----------------------------------------------------------------------------- Template Type : WeatherTemplateMain Title : Dallas, TX############################################################################## 2017-11-04 21:38:22.004 [ c] 0 DirectiveProcessor:onHandlingCompeted:messageId=4168cb09-4ef2-4f8f-b97e-96789ae25c82,directiveBeingPreHandled=4168cb09-4ef2-4f8f-b97e-96789ae25c82 Speaking...########################### 2017-11-04 21:38:22.631 [ b] 0 HTTP2Transport:processNextOutgoingMessage Alexa is currently idle!######################################## 2017-11-04 21:38:32.317 [ b] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid: 060111fffed571dc-00004a1e-00030bb7-f47f0873a91f662b-e6a934ba-11 |
Hi, I was able to fix the issue by installing the gstreamer1.0-alsa package. I'm guessing RPI must already have this installed. For others that have audio issues, it is best to back up and test things in stages:
Once I had these things working, I had audio working in the AVS SDK Demo. |
Ok, I did the following two things:
Issue is solved for me, but seems like something needs to be added to the documentation about the package and maybe something internally fails without being visible to the outside. |
Thank you for the valuable information @comdata. We will review what you did and see if we can update the docs as needed. |
Hello,
I have a plantronics P420-M connected to a raspberry pi.
I could record and playback a file with sox and aplay.
Alexa seems to hear me but when speaking back nothing comes back.
The same setup was running ok with 1.0.0.
I found the following errors during initialization of version 1.1.0 .
What can be done?
What information do you need?
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
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 confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
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:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM dmix
The text was updated successfully, but these errors were encountered: