[AudioI] Nothing works on RPi3b+

Ian McKellar ian at mckellar.org
Sun Oct 18 23:17:57 UTC 2020


Hmm, still no luck. I tried matching the mixer settings from that linked
forum post but had the same issue:
pi at raspberrypi:~ $ aplay loop.wav
Playing WAVE 'loop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2053: write error: Input/output error

Here's the amixer output:
Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 121 [95%] [0.00dB]
  Front Right: Playback 121 [95%] [0.00dB]
Simple mixer control 'Master Playback ZC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Sidetone',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-15.00dB]
Simple mixer control 'Line',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1
  Mono: 1 [100%] [20.00dB]
Simple mixer control 'Playback Deemphasis',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB]
  Front Right: Capture 23 [74%] [0.00dB]
Simple mixer control 'ADC High Pass Filter',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Input Mux',0
  Capabilities: enum
  Items: 'Line In' 'Mic'
  Item0: 'Mic'
Simple mixer control 'Output Mixer HiFi',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Output Mixer Line Bypass',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Output Mixer Mic Sidetone',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Store DC Offset',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

On Sun, Oct 18, 2020 at 1:32 PM Matt <matt at audioinjector.net> wrote:

> Hi Ian,
> On 18/10/20 10:00 am, Ian McKellar via People wrote:
>
> I bought an AudioInjector Zero and I can't get it to work on the hardware
> I have.
>
> I believe I have it configured correctly. I'm running Linux 5.4.70-v7+ and
> have
>
> dtparam=i2c_arm=on
> dtparam=i2s=on
> dtoverlay=audioinjector-wm8731-audio
>
> in /boot/config.txt
>
> During boot dmesg gets:
> [    8.939739] audioinjector-stereo soc:sound: ASoC: failed to init link
> AudioInjector audio: -517
> [    8.939762] audioinjector-stereo soc:sound: snd_soc_register_card
> failed (-517)
> [    9.295473] audioinjector-stereo soc:sound: ASoC: failed to init link
> AudioInjector audio: -517
> [    9.295496] audioinjector-stereo soc:sound: snd_soc_register_card
> failed (-517)
> [    9.330667] audioinjector-stereo soc:sound: ASoC: failed to init link
> AudioInjector audio: -517
> [    9.330692] audioinjector-stereo soc:sound: snd_soc_register_card
> failed (-517)
> [   10.051168] wm8731 1-001a: Assuming static MCLK
> [   10.051223] wm8731 1-001a: 1-001a supply AVDD not found, using dummy
> regulator
> [   10.051357] wm8731 1-001a: 1-001a supply HPVDD not found, using dummy
> regulator
> [   10.051452] wm8731 1-001a: 1-001a supply DCVDD not found, using dummy
> regulator
> [   10.051574] wm8731 1-001a: 1-001a supply DBVDD not found, using dummy
> regulator
> [   10.067882] audioinjector-stereo soc:sound: wm8731-hifi <->
> 3f203000.i2s mapping ok
>
>
> Good news, this last line indicates that the sound card is setup in
> software and ready to go.
>
>
> But when I try to play something, eg: aplay
> /usr/share/sounds/alsa/Noise.wav
> it hangs and doesn't appear to be actually playing anything. Also dmesg
> gets:
> [  224.002383] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
>
>
> This dmesg error isn't related to the soundcard, it is related to the Pi's
> I2S driver.
>
>
> Any ideas? Might I have done a terrible job soldering the pin socket?
>
>
>
> Have you toggled the setting in alsamixer which enables the output mixer
> hifi ? You can read about it on our old forum :
>
> http://forum.audioinjector.net/viewtopic.php@t=5.html#p7
>
> thanks
>
> Matt
>
>
> --
> Checkout the community email list :https://lists.audioinjector.net/mailman/listinfo/people
>
>

-- 
Ian McKellar <http://ian.mckellar.org/>
ian at mckellar.org - http://twitter.com/ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.audioinjector.net/pipermail/people/attachments/20201018/8ceaf364/attachment.htm>


More information about the People mailing list