On 18/2/20 10:48 pm, Colin Ngu wrote:
Hi Matt,
with the aplay -l command, I get the following response:card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector au dio wm8731-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
with the amixer command, I get these response. The difference is Mono playback=Off instead on "On".
Simple mixer control 'Output Mixer HiFi',0Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Yep, the first thing you have to do is toggle that to on. Either using the alsamixer command and using the UI or using the amixer command line interface.
On Tue, Feb 18, 2020 at 10:37 AM Matt <matt@audioinjector.net> wrote:
Hi
On 18/2/20 12:16 pm, Colin Ngu via People wrote:
Hi,
I'm am running Retropie on my pi zero, and I would like to route the sound output using the Audioinjector HAT. But no success so far.
Sounds like fun, I have a MAME arcade hardware breakout from the '90s !
Typically the config.txt file only needs the following (dtparam=audio=off is probably ok) :I have modified config.txt with following command;
dtparam=i2c_arm=ondtparam=i2s=on
dtparam=spi=on
dtparam=audio=off
dtoverlay=audioinjector-wm8731-audio#dtparam=audio=on
dtoverlay=audioinjector-wm8731-audio
To be sure, you can enable i2c and i2s but may not be necessary :
dtparam=i2c_arm=on
dtparam=i2s=on
In the retropie settings menu, I have set the following;
Audio Card: SYSDEFAULT
Audio Device: MASTER
This is setting that has does not show any error.. But still no sound.
I have also tried the hat on raspberry pi4 running on rabian buster. The config.txt file is modified, and Raspbian seems to be able to detect the soundcard. But still not getting any sound.
Ok this is good, indicates it isn't a hardware issue. But we need to dig deeper.
For starters, can you run raspbian and do the following ...
Do you see the sound card when you type in :
aplay -l
Have you enabled the mixer appropriately ? Did you set the "Output Mixer HiFi" switch to on ? This will allow audio output on the sound card. You can use the alsamixer command to toggle it with a user interface.
To check, when I type :
amixer
I get the following :
Simple mixer control 'Output Mixer HiFi',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Would this be hardware issue? How do I confirm it?
Thanks in advance
Colin
-- Checkout the community email list : https://lists.audioinjector.net/mailman/listinfo/people
--
People mailing list
People@lists.audioinjector.net
https://lists.audioinjector.net/mailman/listinfo/people
-- Join the community discussion forum : https://lists.audioinjector.net/mailman/listinfo/people