No devices found

Moderator: flatmax

Post Reply
customcables067
Posts: 5
Joined: Thu Jan 11, 2018 3:37 pm

No devices found

Post by customcables067 » Thu Jan 11, 2018 3:39 pm

Hi,

I have installed a Zero soundcard on a RPI3 ... whenever I run arecord -l I get "no soundcards found..."

dmesg | grep "audio"

[ 4.204782] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 4.204793] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 4.876860] audioinjector-stereo soc:sound: wm8731-hifi <-> 3f203000.i2s mapping ok

any help?

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

Re: No devices found

Post by flatmax » Mon Jan 15, 2018 8:43 pm

OK - your card is initialised correctly.

Can you please output the results of the following :

Code: Select all

aplay -l
and

Code: Select all

arecord -l
and does alsamixer show anything ?
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

customcables067
Posts: 5
Joined: Thu Jan 11, 2018 3:37 pm

Re: No devices found

Post by customcables067 » Tue Jan 16, 2018 9:40 am

Results:


aplay: device_list:268: no soundcards found...
arecord: device_list:268: no soundcards found...

What is alsamixer? (I only access via SSH, I don't have a monitor attached).

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

Re: No devices found

Post by flatmax » Tue Jan 16, 2018 7:05 pm

when you run dmesg grep "audio" are you sure you see this line :

Code: Select all

wm8731-hifi <-> 3f203000.i2s mapping ok
That line indicates sound card registration, however aplay suggests you don't have any sound cards registered !

Here are my results :
pi@raspberrypi:~ $ dmesg | grep audio
[ 22.347589] audioinjector-stereo soc:sound: ASoC: CPU DAI (null) not registered - will retry
[ 22.347607] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 22.349692] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 22.349721] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 22.445143] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 22.445161] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 22.461280] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not registered - will retry
[ 22.461295] audioinjector-stereo soc:sound: snd_soc_register_card failed (-517)
[ 22.755857] audioinjector-stereo soc:sound: wm8731-hifi <-> 3f203000.i2s mapping ok

pi@raspberrypi:~ $ lsmod | grep snd
snd_soc_wm8731 14257 1
snd_soc_bcm2835_i2s 7480 2
snd_soc_audioinjector_pi_soundcard 4782 0
snd_soc_core 180471 3 snd_soc_wm8731,snd_soc_bcm2835_i2s,snd_soc_audioinjector_pi_soundcard
snd_compress 10384 1 snd_soc_core
snd_pcm_dmaengine 5894 1 snd_soc_core
snd_pcm 98501 5 snd_soc_wm8731,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_core,snd_soc_audioinjector_pi_soundcard
snd_timer 23968 1 snd_pcm
snd 70032 5 snd_soc_wm8731,snd_compress,snd_timer,snd_soc_core,snd_pcm

pi@raspberrypi:~ $ cat /proc/asound/cards
0 [audioinjectorpi]: audioinjector-p - audioinjector-pi-soundcard
audioinjector-pi-soundcard

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector audio wm8731-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector audio wm8731-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

selected output from cat /boot/config.txt :

Code: Select all

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
dtoverlay=audioinjector-wm8731-audio
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

customcables067
Posts: 5
Joined: Thu Jan 11, 2018 3:37 pm

Re: No devices found

Post by customcables067 » Wed Jan 17, 2018 2:40 pm

Again, here is the dmesg | grep "audio" output:

[ 3.662217] audioinjector-stereo soc:sound: ASoC: CPU DAI (null) not register ed - will retry
[ 3.662232] audioinjector-stereo soc:sound: snd_soc_register_card failed (-51 7)
[ 3.671883] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 3.671895] audioinjector-stereo soc:sound: snd_soc_register_card failed (-51 7)
[ 4.040499] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 4.040508] audioinjector-stereo soc:sound: snd_soc_register_card failed (-51 7)
[ 4.045739] audioinjector-stereo soc:sound: ASoC: CODEC DAI wm8731-hifi not r egistered - will retry
[ 4.045747] audioinjector-stereo soc:sound: snd_soc_register_card failed (-51 7)
[ 4.871507] audioinjector-stereo soc:sound: wm8731-hifi <-> 3f203000.i2s mapp ing ok


Here is the lsmod output:

snd_soc_wm8731 14257 1
snd_soc_bcm2835_i2s 7480 2
snd_soc_audioinjector_pi_soundcard 4782 0
snd_soc_core 180471 3 snd_soc_wm8731,snd_soc_bcm2835_i2s,snd_soc_audioinjector_pi_soundcard
snd_compress 10384 1 snd_soc_core
snd_pcm_dmaengine 5894 1 snd_soc_core
snd_bcm2835 24427 0
snd_pcm_oss 39795 0
snd_mixer_oss 15218 1 snd_pcm_oss
snd_pcm 98565 7 snd_soc_wm8731,snd_pcm_oss,snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_soc_audioinjector_pi_soundcard
snd_seq_dummy 1883 0
snd_seq_oss 35154 0
snd_seq_midi 5353 0
snd_rawmidi 23790 1 snd_seq_midi
snd_seq_midi_event 7462 2 snd_seq_midi,snd_seq_oss
snd_seq 62122 6 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi,snd_seq_oss
snd_seq_device 5542 4 snd_seq,snd_rawmidi,snd_seq_midi,snd_seq_oss
snd_timer 23968 2 snd_seq,snd_pcm
snd 70032 12 snd_soc_wm8731,snd_compress,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device,snd_bcm2835,snd_soc_core,snd_seq_oss,snd_pcm


Everything is identical in config except my arecord -l and aplay -l outputs show "no soundcards found"

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

Re: No devices found

Post by flatmax » Tue Jan 23, 2018 5:33 am

Very strange, your card is set up by the system.
I assume alsamixer says no card as well ?
do you have anything in ~/.asoundrc or /etc/asound.conf ?

thanks
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

customcables067
Posts: 5
Joined: Thu Jan 11, 2018 3:37 pm

Re: No devices found

Post by customcables067 » Tue Jan 23, 2018 5:36 am

I'm in SSH via Putty so I don't have access to alsamixer.

asound.conf is empty.

Not sure what ~/.asoundrc is.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests