setup ok?
Moderator: flatmax
setup ok?
Hi. I've gone through the setup - i think properly - but I'm not getting any sound. The output below is what I'm getting from dmesg:
pi@raspberrypi:~/Desktop/Sounds $ dmesg | grep audio
[ 9.111460] audioinjector-octo soc ASoC: CODEC DAI cs42448 not registered - will retry
[ 9.111485] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 10.673273] audioinjector-octo soc cs42448 <-> 20203000.i2s mapping ok
This is the output I get from aplay:
pi@raspberrypi:~/Desktop/Sounds $ aplay --channels=2 CaptainVhdVhd2.wav
Playing WAVE 'CaptainVhdVhd2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1239: Channels count non available
Can you tell me if it looks like things are working properly, or if there is something I should try again?
Thank you!
pi@raspberrypi:~/Desktop/Sounds $ dmesg | grep audio
[ 9.111460] audioinjector-octo soc ASoC: CODEC DAI cs42448 not registered - will retry
[ 9.111485] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 10.673273] audioinjector-octo soc cs42448 <-> 20203000.i2s mapping ok
This is the output I get from aplay:
pi@raspberrypi:~/Desktop/Sounds $ aplay --channels=2 CaptainVhdVhd2.wav
Playing WAVE 'CaptainVhdVhd2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1239: Channels count non available
Can you tell me if it looks like things are working properly, or if there is something I should try again?
Thank you!
Re: setup ok?
On this same topic, I'm trying to test the pins from the RPi on my scope to see if I'm getting any clocks or data (which I don't seem to be). I'm assuming that the pins used are just the regular I2S pins...? In other words,
3 = SDA
5 = SCL
12 = BCLK
35 = LRCLK
38 = DATA IN
40 = DATA OUT
Can you confirm that this is correct, so I know which pins I should be checking?
Thanks!
3 = SDA
5 = SCL
12 = BCLK
35 = LRCLK
38 = DATA IN
40 = DATA OUT
Can you confirm that this is correct, so I know which pins I should be checking?
Thanks!
Re: setup ok?
Hi there,
OK - I think you need to setup asoundrc again. I have just updated the setup instructions to version 0.3. So lets try to fix what may be your problem.
Firstly, disable lxpanel's volume plugin so it doesn't mess with your alsa setup - cut and paste this into your command line (or reinstall using the deb file on the setup page) :
Next uninstall pulseaudio :
Finally assuming your /etc/asound.conf is setup correctly, then remove ~/.asoundrc :
Now place the following in your .asoundrc :
OK - at this point you should be able to play the 2 channel wav file. If you still have problems, test using the anyChannelCount :
Finally this should work as well :
This last one automatically uses the anyChannelCount ALSA plugin because that is how the .asoundrc is setup.
OK - I think you need to setup asoundrc again. I have just updated the setup instructions to version 0.3. So lets try to fix what may be your problem.
Firstly, disable lxpanel's volume plugin so it doesn't mess with your alsa setup - cut and paste this into your command line (or reinstall using the deb file on the setup page) :
Code: Select all
sed -i 's/\=volumealsa/\=REMOVEvolumealsa/' ~pi/.config/lxpanel/LXDE-pi/panels/panel
Code: Select all
sudo apt remove pulseaudio
Code: Select all
rm ~/.asoundrc
Code: Select all
pcm.!default {
# type hw
# card 0
type plug
slave.pcm "anyChannelCount"
}
ctl.!default {
type hw
card 0
}
Code: Select all
speaker-test -DanyChannelCount
Code: Select all
speaker-test
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
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
Re: setup ok?
Yes, these pins look correct.czyskows wrote: ↑Tue Aug 01, 2017 6:12 amOn this same topic, I'm trying to test the pins from the RPi on my scope to see if I'm getting any clocks or data (which I don't seem to be). I'm assuming that the pins used are just the regular I2S pins...? In other words,
3 = SDA
5 = SCL
12 = BCLK
35 = LRCLK
38 = DATA IN
40 = DATA OUT
Can you confirm that this is correct, so I know which pins I should be checking?
Thanks!
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
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
Re: setup ok?
Thanks very much for your reply. For some reason, it's still not working. I checked /boot/config.txt and see these:
dtparam=i2c_arm=on
.
.
.
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
# enable the AudioInjector.net sound card
dtoverlay=audioinjector-addons
# enable the AudioInjector.net sound card
dtoverlay=audioinjector-addons
I don't know if it matters, but the fact that audioinjector-addons shows up twice suggests that I did something wrong.
When I hook up my scope, I'm still not getting any signals from the clocks. I think I'll start over with a fresh image and go through the setup. I'll let you know if I'm still having problems or if everything is working. Thanks again for the help!
dtparam=i2c_arm=on
.
.
.
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
# enable the AudioInjector.net sound card
dtoverlay=audioinjector-addons
# enable the AudioInjector.net sound card
dtoverlay=audioinjector-addons
I don't know if it matters, but the fact that audioinjector-addons shows up twice suggests that I did something wrong.
When I hook up my scope, I'm still not getting any signals from the clocks. I think I'll start over with a fresh image and go through the setup. I'll let you know if I'm still having problems or if everything is working. Thanks again for the help!
Re: setup ok?
OK - if you still don't have any luck, then we should talk privately about this.
Matt
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
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
Re: setup ok?
Hi Matt,
For some reason, I'm still having the same issues. I tried installing on a fresh image, but got the same errors:
pi@raspberrypi:~ $ dmesg | grep audio
[ 8.470535] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 8.470561] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 10.030491] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 10.030518] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 11.590471] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 11.590496] audioinjector-octo soc snd_soc_register_card failed (-517)
pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
anyChannelCount
default
I've tried the install now several times. Any ideas?
I can be reached at colin.zyskowski@gmail.com if you would like to continue this offline.
Thanks,
Colin
For some reason, I'm still having the same issues. I tried installing on a fresh image, but got the same errors:
pi@raspberrypi:~ $ dmesg | grep audio
[ 8.470535] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 8.470561] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 10.030491] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 10.030518] audioinjector-octo soc snd_soc_register_card failed (-517)
[ 11.590471] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[ 11.590496] audioinjector-octo soc snd_soc_register_card failed (-517)
pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
anyChannelCount
default
I've tried the install now several times. Any ideas?
I can be reached at colin.zyskowski@gmail.com if you would like to continue this offline.
Thanks,
Colin
Re: setup ok?
OK - I will contact you off list.
Matt
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
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
Re: setup ok?
Greetings,
I appear to be having the same problem as Colin, or at the very least I believe our issues may be related to the same problem. I am able to playback audio as it streaming from the internet, but I am not able to feed a signal into the Audioinjector and monitor it through the output. I have already worked through Tutorial 0, but I am not able to successfully execute all the steps of Tutorial 2 - Audio programming with gtkIOStream.
I also ran the dmesg command and received a similar output:
In case it helps, I've included the printout from: dmesg | grep bcm2835
Trevor
I appear to be having the same problem as Colin, or at the very least I believe our issues may be related to the same problem. I am able to playback audio as it streaming from the internet, but I am not able to feed a signal into the Audioinjector and monitor it through the output. I have already worked through Tutorial 0, but I am not able to successfully execute all the steps of Tutorial 2 - Audio programming with gtkIOStream.
I also ran the dmesg command and received a similar output:
- [6.229426] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[6.229447] audioinjector-octo soc snd_soc_register_card failed (-517)
[7.792780] audioinjector-octo soc cs42448 <-> 3f203000.i2s mapping ok
[7.865506] uart-pl011 3f201000.serial: no DMA platform data
- [6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
In case it helps, I've included the printout from: dmesg | grep bcm2835
- [0.078602] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[0.148900] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[0.330715] bcm2835-rng 3f104000.rng: hwrng registered
[0.788503] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[0.788790] bcm2835-cpufreq: min=600000 max=1200000
[0.789524] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[0.791711] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[0.889393] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[0.891619] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[0.891626] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[4.558955] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
Trevor
Re: setup ok?
Greetings,
I appear to be having the same problem as Colin, or at the very least I believe our issues may be related to the same problem. I am able to playback audio as it streaming from the internet, but I am not able to feed a signal into the Audioinjector and monitor it through the output. I have already worked through Tutorial 0, but I am not able to successfully execute all the steps of Tutorial 2 - Audio programming with gtkIOStream.
I also ran the dmesg command and received a similar output:
In case it helps, I've included the printout from: dmesg | grep bcm2835
Regards,
Trevor
I appear to be having the same problem as Colin, or at the very least I believe our issues may be related to the same problem. I am able to playback audio as it streaming from the internet, but I am not able to feed a signal into the Audioinjector and monitor it through the output. I have already worked through Tutorial 0, but I am not able to successfully execute all the steps of Tutorial 2 - Audio programming with gtkIOStream.
I also ran the dmesg command and received a similar output:
- [6.229426] audioinjector-octo soc ASoC: CPU DAI (null) not registered - will retry
[6.229447] audioinjector-octo soc snd_soc_register_card failed (-517)
[7.792780] audioinjector-octo soc cs42448 <-> 3f203000.i2s mapping ok
[7.865506] uart-pl011 3f201000.serial: no DMA platform data
- [6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
In case it helps, I've included the printout from: dmesg | grep bcm2835
- [0.078602] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[0.148900] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[0.330715] bcm2835-rng 3f104000.rng: hwrng registered
[0.788503] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[0.788790] bcm2835-cpufreq: min=600000 max=1200000
[0.789524] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[0.791711] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[0.889393] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[0.891619] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[0.891626] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[4.558955] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
Regards,
Trevor
Who is online
Users browsing this forum: No registered users and 2 guests