I have been trying to use Alexa on my Raspberry Pi 3 B+ (running Stretch). I ran Alexa successfully, with a USB microphone and a speaker connected through the 3.5mm jack, about a week ago and went on to make a python program that does not in any way tamper with the 3.5mm jack or the audio driver. Today I started Alexa again and there was no audio output. I connected to the Pi through VNC and found that the sound icon on the top right of the screen is muted. I clicked the icon and the drop down menu says "No volume control on this device." I would like to know the cause and solution of this issue. I have searched for solutions through Bing but had no luck.
Asked
Active
Viewed 1.7k times
3 Answers
7
Also check the /boot/config.txt file. It should look like this:
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
tbitson
- 161
- 4
5
I suggest you run raspi-config, look at Advanced Options>Audio and make sure the "1 Force 3.5mm ('headphone') jack" option is selected.
Then reboot...
Jonathan
- 354
- 1
- 5
-
1It throws out the error
There was an error running option A4 audio, and tbitson's answer solved my problem. Thank you for your suggestion! – Yuxi L Jul 17 '19 at 12:51
1
Equivalently to going to raspi-config and forcing an output (hdmi or jack), if you are in GUI mode, you can more simply do a right-click on the audio icon that is still grey, to select the correct audio output. For me it was stuck in "no audio device" until i clicked on the icon.
agenis
- 111
- 3
config.txt. I am afraid that I messed mine up – Yuxi L Jul 17 '19 at 12:47dpkg -S /boot/config.txt;apt reinstall <the result of dpkg -S>– Yet Another User Jul 18 '19 at 06:56