How to setup and test

Moderator: flatmax

philbigdog
Posts: 1
Joined: Mon Apr 23, 2018 7:22 am

Re: How to setup and test

Post by philbigdog » Mon Apr 23, 2018 7:35 am

Hi,firstly very happy to say I got the board working, and it provides great sound :D
However there were a couple of issues getting going:
I was seeing this initially:

Code: Select all

audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
..with no success message.

To get it working I had to do:
1. I am using an RPi 3 - I was seeing low voltage warnings on boot-up - clearly not ideal. There are apparently newer 2.5A power supplies for the Pi 3, but I cheated and plugged it into a PC USB power slot, which sorted out this issue.
2. I had to re-seat the board on the Pi 3 - I can't explain why this was necessary as it looks exactly the same, however please give it a try if you have issues such as the above.

Certainly worth persisting!

PS the supplied scripted setup it excellent, thanks @flatmax

Chestnut4862
Posts: 3
Joined: Tue Apr 24, 2018 9:54 pm

Re: How to setup and test

Post by Chestnut4862 » Tue May 01, 2018 6:11 pm

I'm having issues with pure data, every time I try to use the breakout I/O (stereo jacks) it always writes random errors and no audio is outputted.
Attempt 1:

Code: Select all

output snd_pcm_delay failed: Unknown error 1044
astate 3
output snd_pcm_delay failed: Unknown error 470
astate 3
Attempt 2:

Code: Select all

output snd_pcm_delay failed: Unknown error 1550
astate 3
output snd_pcm_delay failed: Unknown error 1018
astate 3
output snd_pcm_delay failed: Unknown error 482
astate 3
Attempt 3:

Code: Select all

output snd_pcm_delay failed: Unknown error 400
astate 3
Every time the error code changes and I have searched everywhere to try and find a solution.
Please help as this is for a university dissertation that is due in a couple of weeks

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: How to setup and test

Post by flatmax » Tue May 08, 2018 7:54 pm

philbigdog wrote:
Mon Apr 23, 2018 7:35 am
Hi,firstly very happy to say I got the board working, and it provides great sound :D
However there were a couple of issues getting going:
I was seeing this initially:

Code: Select all

audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
..with no success message.

To get it working I had to do:
1. I am using an RPi 3 - I was seeing low voltage warnings on boot-up - clearly not ideal. There are apparently newer 2.5A power supplies for the Pi 3, but I cheated and plugged it into a PC USB power slot, which sorted out this issue.
2. I had to re-seat the board on the Pi 3 - I can't explain why this was necessary as it looks exactly the same, however please give it a try if you have issues such as the above.

Certainly worth persisting!

PS the supplied scripted setup it excellent, thanks @flatmax
Glad you got it working !
Thanks for the feedback.

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: How to setup and test

Post by flatmax » Tue May 08, 2018 7:55 pm

Chestnut4862 wrote:
Tue May 01, 2018 6:11 pm
I'm having issues with pure data, every time I try to use the breakout I/O (stereo jacks) it always writes random errors and no audio is outputted.
Attempt 1:

Code: Select all

output snd_pcm_delay failed: Unknown error 1044
astate 3
output snd_pcm_delay failed: Unknown error 470
astate 3
Attempt 2:

Code: Select all

output snd_pcm_delay failed: Unknown error 1550
astate 3
output snd_pcm_delay failed: Unknown error 1018
astate 3
output snd_pcm_delay failed: Unknown error 482
astate 3
Attempt 3:

Code: Select all

output snd_pcm_delay failed: Unknown error 400
astate 3
Every time the error code changes and I have searched everywhere to try and find a solution.
Please help as this is for a university dissertation that is due in a couple of weeks
What happens when you don't use the breakout ?
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

sbailey
Posts: 2
Joined: Sun Jun 24, 2018 5:11 pm

Re: How to setup and test

Post by sbailey » Sat Jun 30, 2018 12:44 pm

I am having trouble getting this to work. I tried to download the .tar.gz file, but it downloaded file.php instead. I downloaded the file on my windows machine and then emailed it to my raspberry pi, but then I couldn't extract the file. please help

sbailey
Posts: 2
Joined: Sun Jun 24, 2018 5:11 pm

Re: How to setup and test

Post by sbailey » Sat Jun 30, 2018 11:57 pm

Hello,
I just got my audio card and I am having trouble setting it up. I tried to down load the .deb file from this post but it only down loads something called file.php. I downloaded the file on my window computer and extracted it. I sent the .deb file to my gmail and downloaded it to my raspberry pi. When I try run it, I get an error saying its not in the right format. I am stuck and don't know what to do. Any help would be appreciated.

memphisbrd
Posts: 1
Joined: Fri Aug 03, 2018 10:43 am

Re: How to setup and test

Post by memphisbrd » Fri Aug 03, 2018 10:45 am

I've installed the sound card and the .deb files. I cannot seem to get the microphone or speakers to work properly.

chuckb
Posts: 2
Joined: Mon Aug 20, 2018 3:44 am

Re: How to setup and test

Post by chuckb » Mon Aug 20, 2018 3:52 am

I've done both the automatic and manual setup procedures. I've removed and reseated the module several times. However, my board still isn't listed when I issue:
aplay -l
aplay: device_list:270: no soundcards found...

This is from dmesg:
[ 4.254711] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 4.254731] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 4.479077] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 4.479096] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 4.480112] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.486464] wm8731 1-001a: Assuming static MCLK
[ 4.486491] wm8731 1-001a: 1-001a supply AVDD not found, using dummy regulator
[ 4.486560] wm8731 1-001a: 1-001a supply HPVDD not found, using dummy regulator
[ 4.486611] wm8731 1-001a: 1-001a supply DCVDD not found, using dummy regulator
[ 4.486663] wm8731 1-001a: 1-001a supply DBVDD not found, using dummy regulator
[ 4.487042] wm8731 1-001a: Failed to issue reset: -121
[ 4.487101] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 4.487544] wm8731: probe of 1-001a failed with error -121
[ 4.487731] usbcore: registered new interface driver brcmfmac
[ 4.488007] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 4.488019] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)

I'm running the Raspberry Pi 3B+, Linux version 4.14.62-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1134 SMP Tue Aug 14 17:10:10 BST 2018. Did I receive a defective module?

Thanks

chuckb
Posts: 2
Joined: Mon Aug 20, 2018 3:44 am

Re: How to setup and test

Post by chuckb » Mon Aug 20, 2018 4:08 am

Please include in the instructions that I2S interface must be enabled in raspi-config. That was my problem. Once it was enabled, the card was able to be seen by the kernel.

[ 4.428835] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 4.428854] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 4.461715] wm8731 1-001a: Assuming static MCLK
[ 4.461744] wm8731 1-001a: 1-001a supply AVDD not found, using dummy regulator
[ 4.461816] wm8731 1-001a: 1-001a supply HPVDD not found, using dummy regulator
[ 4.461865] wm8731 1-001a: 1-001a supply DCVDD not found, using dummy regulator
[ 4.461939] wm8731 1-001a: 1-001a supply DBVDD not found, using dummy regulator
[ 4.469744] audioinjector-stereo soc:sound: wm8731-hifi <-> 3f203000.i2s mapping ok

Kman91
Posts: 1
Joined: Sat Feb 09, 2019 7:17 am

Re: How to setup and test

Post by Kman91 » Wed Feb 13, 2019 1:46 am

Can you dumb this down a little for a newbie like me?

How do I install the .deb file? I downloaded it, unzipped it, put in the SD card, but I don't know what to do now.

I have downloaded the latest Rpi update, but after I type in the Audioinjector-setup.sh, it doesn't recognize what to do.

Thanks for any help!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests