On-board audio disabled or not present
-
@mitu when i type these commands and press enter here is what i get..
pi@barreltoo:~ $ alsamixer
cannot open mixer: No such file or directory
pi@barreltoo:~ $ amixer scontrols device=sndrpihifiberry
amixer: Mixer attach default error: No such file or directory
pi@barreltoo:~ $ -
@mitu this is part of my config...do you think anything here could be causing the speaker bonnet not to play? thank you if you have any ideas..
# Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) #dtparam=audio=on dtparam=audio=off dtoverlay=hifiberry-dac dtoverlay=i2s-mmap [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d #overscan_scale=1 # Disable under-voltage warning avoid_warnings=1 dtoverlay=hifiberry-dac dtoverlay=i2s-mmap
-
@krullbeast said in On-board audio disabled or not present:
pi@barreltoo:~ $ alsamixer
cannot open mixer: No such file or directoryLooks like the card/mixer is not found. If you have a
$HOME/.asoundrc
file, remove it. Runaplay -l
and post the output (use code tags to surround the output -
```
). -
@mitu how can i check if i have that $HOME file? thank you for your input!! here is my aplay result
pi@barreltoo:~ $ aplay -L null Discard all samples (playback) or generate zero samples (capture) jack JACK Audio Connection Kit pulse PulseAudio Sound Server speakerbonnet dmixer softvol default output sysdefault:CARD=sndrpihifiberry snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0 Default Audio Device dmix:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0 Direct sample mixing device dsnoop:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0 Direct sample snooping device hw:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0 Direct hardware device without any conversions plughw:CARD=sndrpihifiberry,DEV=0 snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0 Hardware device with all software conversions usbstream:CARD=sndrpihifiberry snd_rpi_hifiberry_dac USB Stream Output
-
@mitu said in On-board audio disabled or not present:
$HOME/.asoundrc
how do I remove this file? I came up with this
pi@barreltoo:~ $ sudo nano $HOME/.asoundrc GNU nano 3.2 /home/pi/.asoundrc pcm.!default { type asym playback.pcm { type plug slave.pcm "output" } capture.pcm { type plug slave.pcm "input" } } pcm.output { type hw card 1 } ctl.!default { type hw card 1 }
-
@krullbeast said in On-board audio disabled or not present:
@mitu how can i check if i have that $HOME file? thank you for your input!! here is my aplay result
No, that's tha
aplay -L
(uppercasel
(ell)). The command I was asking isaplay -l
(lowercaseL
). Remove or rename the.asoundrc
file and try again running the commands I posted earlier (amixer ...
andalsamixer
). -
@mitu said in On-board audio disabled or not present:
.asoundrc
ok!
this time it let me in to the mixer!!
-
@mitu here is my aplay lowercase l
pi@barreltoo:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0] Subdevices: 0/1 Subdevice #0: subdevice #0
-
Based on the output, you'll need to choose Default as Audio Card and PCM as Audio device in EmulationStation.
-
@mitu YOU DID IT! I LOVE YOU!!!!
donated -
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.