Testing Octo

Moderator: flatmax

mccauleyf1
Posts: 5
Joined: Wed Jan 24, 2018 4:49 pm

Testing Octo

Post by mccauleyf1 » Thu Jan 25, 2018 2:07 am

I've installed Octo, is there an easy command to test it to make sure everything installed correctly?

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

Re: Testing Octo

Post by flatmax » Thu Jan 25, 2018 7:49 pm

sure - can you post results of

Code: Select all

dmesg | grep audio
Then also

Code: Select all

aplay -l
arecord -l
aplay -L
arecord -L
Does alsamixer open a mixer console ?
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
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

mccauleyf1
Posts: 5
Joined: Wed Jan 24, 2018 4:49 pm

Re: Testing Octo

Post by mccauleyf1 » Fri Jan 26, 2018 5:20 am

~ $ dmesg | grep audio
[ 5.710797] audioinjector-octo soc:sound: ASoC: CPU DAI (null) not registered - will retry
[ 5.710818] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 7.273458] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok

~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
anyChannelCount
default
sysdefault:CARD=audioinjectoroc
audioinjector-octo-soundcard,
Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Hardware device with all software conversions

Hmmm

mccauleyf1
Posts: 5
Joined: Wed Jan 24, 2018 4:49 pm

Re: Testing Octo

Post by mccauleyf1 » Fri Jan 26, 2018 6:14 am

All I got trying alsamixer was:

cannot open mixer: No such file or directory

mccauleyf1
Posts: 5
Joined: Wed Jan 24, 2018 4:49 pm

Re: Testing Octo

Post by mccauleyf1 » Fri Jan 26, 2018 8:00 am

Okay, update, I re-installed everything, and now alsamixer opens the mixer console :D

mccauleyf1
Posts: 5
Joined: Wed Jan 24, 2018 4:49 pm

Re: Testing Octo

Post by mccauleyf1 » Fri Feb 02, 2018 7:43 am

I've installed the sound card, and I've installed Pure Data.

But I can't get ANY SOUND to come out, either with Pure Data's Test Module or just trying to play an audio file.

Here are the results from testing:

pi@raspberrypi:~ $ dmesg | grep audio
[ 7.376841] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
anyChannelCount
default
sysdefault:CARD=audioinjectoroc
audioinjector-octo-soundcard,
Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Hardware device with all software conversions

alsamixer also successfully opened.

Any ideas?? Thanks a bunch!

Ivan
Posts: 11
Joined: Thu Jan 11, 2018 10:33 pm

Re: Testing Octo

Post by Ivan » Sun Feb 04, 2018 2:44 am

I have a similar problem... no sound comming out the rca jacks
here is what I have tried up to date.
AlsaMixer gui shows the audio injector I/O correctly, so I wonder where to go from here.

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

root@PI-33_Jessie_200:/usr/share/sounds/alsa# dmesg | grep audio
[ 6.004066] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
[ 1184.703776] Modules linked in: xt_tcpudp iptable_mangle xt_DSCP ip_tables x_tables bnep hci_uart btbcm bluetooth panel_raspberrypi_touchscreen brcmfmac evdev brcmutil cfg80211 vc4 rfkill snd_soc_cs42xx8_i2c drm_kms_helper snd_soc_cs42xx8 drm syscopyarea sysfillrect snd_soc_bcm2835_i2s snd_soc_audioinjector_octo_soundcard sysimgblt fb_sys_fops snd_soc_core snd_compress i2c_gpio snd_pcm_dmaengine i2c_algo_bit snd_pcm snd_timer i2c_bcm2835 snd bcm2835_gpiomem fixed uio_pdrv_genirq uio fuse ipv6
[31250.943228] Modules linked in: xt_tcpudp iptable_mangle xt_DSCP ip_tables x_tables bnep hci_uart btbcm bluetooth panel_raspberrypi_touchscreen brcmfmac evdev brcmutil cfg80211 vc4 rfkill snd_soc_cs42xx8_i2c drm_kms_helper snd_soc_cs42xx8 drm syscopyarea sysfillrect snd_soc_bcm2835_i2s snd_soc_audioinjector_octo_soundcard sysimgblt fb_sys_fops snd_soc_core snd_compress i2c_gpio snd_pcm_dmaengine i2c_algo_bit snd_pcm snd_timer i2c_bcm2835 snd bcm2835_gpiomem fixed uio_pdrv_genirq uio fuse ipv6

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

root@PI-33_Jessie_200:/usr/share/sounds/alsa# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
anyChannelCount
sysdefault:CARD=audioinjectoroc audioinjector-octo-soundcard, Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Hardware device with all software conversions
sysdefault:CARD=vc4hdmi vc4-hdmi, Default Audio Device
front:CARD=vc4hdmi,DEV=0 vc4-hdmi, Front speakers
iec958:CARD=vc4hdmi,DEV=0 vc4-hdmi, IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct sample mixing device
dsnoop:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct sample snooping device
hw:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct hardware device without any conversions
plughw:CARD=vc4hdmi,DEV=0 vc4-hdmi, Hardware device with all software conversions

root@PI-33_Jessie_200:/usr/share/sounds/alsa# arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
anyChannelCount
sysdefault:CARD=audioinjectoroc audioinjector-octo-soundcard, Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Hardware device with all software conversions

Also, when I start Audactity, the input VU meter shows a constant signal comming from channel ADC1, nothing else.
I'm starting to wonder if I received a bad board?
Anyone have an idea of what I can do to move forward?

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

Re: Testing Octo

Post by flatmax » Sat Feb 24, 2018 1:43 pm

mccauleyf1 wrote:
Fri Feb 02, 2018 7:43 am
I've installed the sound card, and I've installed Pure Data.

But I can't get ANY SOUND to come out, either with Pure Data's Test Module or just trying to play an audio file.

Here are the results from testing:

pi@raspberrypi:~ $ dmesg | grep audio
[ 7.376841] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

pi@raspberrypi:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
anyChannelCount
default
sysdefault:CARD=audioinjectoroc
audioinjector-octo-soundcard,
Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0
audioinjector-octo-soundcard,
Hardware device with all software conversions

alsamixer also successfully opened.

Any ideas?? Thanks a bunch!

Hi there, your card is setup ok - that is a good start !
You should be able to aplay and hear a sound.

When you use puredata - can you change the RCA plugs and find the audio anywhere ?

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
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: 604
Joined: Sat Jul 23, 2016 11:39 pm

Re: Testing Octo

Post by flatmax » Sat Feb 24, 2018 1:45 pm

Ivan wrote:
Sun Feb 04, 2018 2:44 am
I have a similar problem... no sound comming out the rca jacks
here is what I have tried up to date.
AlsaMixer gui shows the audio injector I/O correctly, so I wonder where to go from here.

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

root@PI-33_Jessie_200:/usr/share/sounds/alsa# dmesg | grep audio
[ 6.004066] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
[ 1184.703776] Modules linked in: xt_tcpudp iptable_mangle xt_DSCP ip_tables x_tables bnep hci_uart btbcm bluetooth panel_raspberrypi_touchscreen brcmfmac evdev brcmutil cfg80211 vc4 rfkill snd_soc_cs42xx8_i2c drm_kms_helper snd_soc_cs42xx8 drm syscopyarea sysfillrect snd_soc_bcm2835_i2s snd_soc_audioinjector_octo_soundcard sysimgblt fb_sys_fops snd_soc_core snd_compress i2c_gpio snd_pcm_dmaengine i2c_algo_bit snd_pcm snd_timer i2c_bcm2835 snd bcm2835_gpiomem fixed uio_pdrv_genirq uio fuse ipv6
[31250.943228] Modules linked in: xt_tcpudp iptable_mangle xt_DSCP ip_tables x_tables bnep hci_uart btbcm bluetooth panel_raspberrypi_touchscreen brcmfmac evdev brcmutil cfg80211 vc4 rfkill snd_soc_cs42xx8_i2c drm_kms_helper snd_soc_cs42xx8 drm syscopyarea sysfillrect snd_soc_bcm2835_i2s snd_soc_audioinjector_octo_soundcard sysimgblt fb_sys_fops snd_soc_core snd_compress i2c_gpio snd_pcm_dmaengine i2c_algo_bit snd_pcm snd_timer i2c_bcm2835 snd bcm2835_gpiomem fixed uio_pdrv_genirq uio fuse ipv6

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

root@PI-33_Jessie_200:/usr/share/sounds/alsa# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audioinjectoroc [audioinjector-octo-soundcard], device 0: AudioInject-HIFI cs42448-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0

root@PI-33_Jessie_200:/usr/share/sounds/alsa# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
anyChannelCount
sysdefault:CARD=audioinjectoroc audioinjector-octo-soundcard, Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Hardware device with all software conversions
sysdefault:CARD=vc4hdmi vc4-hdmi, Default Audio Device
front:CARD=vc4hdmi,DEV=0 vc4-hdmi, Front speakers
iec958:CARD=vc4hdmi,DEV=0 vc4-hdmi, IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct sample mixing device
dsnoop:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct sample snooping device
hw:CARD=vc4hdmi,DEV=0 vc4-hdmi, Direct hardware device without any conversions
plughw:CARD=vc4hdmi,DEV=0 vc4-hdmi, Hardware device with all software conversions

root@PI-33_Jessie_200:/usr/share/sounds/alsa# arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
anyChannelCount
sysdefault:CARD=audioinjectoroc audioinjector-octo-soundcard, Default Audio Device
dmix:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample mixing device
dsnoop:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct sample snooping device
hw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Direct hardware device without any conversions
plughw:CARD=audioinjectoroc,DEV=0 audioinjector-octo-soundcard, Hardware device with all software conversions

Also, when I start Audactity, the input VU meter shows a constant signal comming from channel ADC1, nothing else.
I'm starting to wonder if I received a bad board?
Anyone have an idea of what I can do to move forward?

Seems that you still have pulse installed, and HDMI is showing up. Have you tried the auto installer for sanity ?

I would confirm that the audio device you are using is the octo - also try playing sound and switching RCA jacks.

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
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

Ivan
Posts: 11
Joined: Thu Jan 11, 2018 10:33 pm

Re: Testing Octo

Post by Ivan » Sat Feb 24, 2018 4:04 pm

Thanks for the response.

I have indeed used the autoinstaller and everything seems to have worked well... yet I get no sound in or out.
I tried all 8 inputs and all 6 outputs.
No sound in or out anywhere, the 3.5mm jack, hdmi or your sound board.
Just some noise while the PI reboots.
What do I do next to debug this?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest