Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Audio output selection :none
#1
Good day!

I am trying to setup my Allo Boss DAC,  I have selected the I2S Audio device as Allo Boss Dac, reset, when I go to select the Audio output in MPD, there is no selection for the DAC.  

pi@moode:~ $ aplay -l
aplay: device_list:272: no soundcards found...

pi@moode:~ $ moodeutl -l
20200921 184650 worker: -- Start
20200921 184650 worker: Successfully daemonized
20200921 184650 worker: Integrity check (passed)
20200921 184650 worker: Session loaded
20200921 184650 worker: Debug logging (off)
20200921 184650 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
20200921 184650 worker: Device i2s: (Allo Boss DAC)
20200921 184650 worker: Device mpd: (0:Allo Boss DAC)
20200921 184650 worker: Device ses: (0|Allo Boss DAC|Digital|Invalid card number.%)
20200921 184650 worker: ALSA Digital volume set to (Invalid card number.)
20200921 184650 worker: -- System
20200921 184652 worker: Host     (moode)
20200921 184652 worker: moOde    (6.7.1 2020-07-22)
20200921 184652 worker: RaspiOS  (10.4)
20200921 184652 worker: Kernel   (5.4.51-v7+ #1325)
20200921 184652 worker: Platform (Pi-3B+ 1GB v1.3)
20200921 184652 worker: ARM arch (armv7l, 32-bit kernel)
20200921 184652 worker: MPD ver  (0.21.24)
20200921 184652 worker: CPU gov  (ondemand)
20200921 184652 worker: USB boot enabled
20200921 184653 worker: File system not expanded yet
20200921 184653 worker: HDMI port on
20200921 184653 worker: File check (OK)
20200921 184653 worker: -- Network
20200921 184653 worker: eth0 exists
20200921 184653 worker: eth0 wait 0 for IP address
20200921 184657 worker: eth0 wait 1 for IP address
20200921 184700 worker: eth0 wait 2 for IP address
20200921 184703 worker: eth0 wait 3 for IP address
20200921 184706 worker: eth0 wait 4 for IP address
20200921 184719 worker: eth0 address not assigned
20200921 184720 worker: wlan0 exists
20200921 184720 worker: wifi country (CA)
20200921 184720 worker: wlan0 trying SSID (TPF)
20200921 184720 worker: IP addr (192.168.100.196)
20200921 184720 worker: Netmask (255.255.255.0)
20200921 184720 worker: Gateway (192.168.100.1)
20200921 184720 worker: Pri DNS (192.168.100.1)
20200921 184720 worker: Domain  (None)
20200921 184720 worker: -- Audio
20200921 184721 worker: MPD conf updated
20200921 184721 worker: ALSA outputs unmuted
20200921 184721 worker: ALSA card number (0)
20200921 184721 worker: Audio output (Allo Boss DAC)
20200921 184721 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory)
20200921 184721 worker: ALSA mixer name (Digital)
20200921 184721 worker: MPD volume control (software)
20200921 184721 worker: Hdwr volume controller exists
20200921 184721 worker: Max ALSA volume (100%)
20200921 184721 worker: Reset renderer active flags
20200921 184721 worker: -- MPD
20200921 184721 worker: MPD started
20200921 184722 worker: MPD accepting connections
20200921 184722 worker: Configure MPD outputs
20200921 184722 worker: MPD output 1 ALSA default (on)
20200921 184722 worker: MPD output 2 ALSA crossfeed (off)
20200921 184722 worker: MPD output 3 ALSA parametric eq (off)
20200921 184722 worker: MPD output 4 ALSA graphic eq (off)
20200921 184722 worker: MPD output 5 ALSA polarity inversion (off)
20200921 184722 worker: MPD output 6 ALSA bluetooth (off)
20200921 184722 worker: MPD output 7 HTTP stream (off)
20200921 184722 worker: MPD crossfade (off)
20200921 184722 worker: -- Feature availability
20200921 184722 worker: Source select (available)
20200921 184722 worker: Source select (source: MPD)
20200921 184722 worker: Source select (output: Allo Boss DAC)
20200921 184722 worker: Bluetooth (available)
20200921 184722 worker: Airplay renderer (available)
20200921 184722 worker: Spotify renderer (available)
20200921 184722 worker: Squeezelite renderer (available)
20200921 184722 worker: UPnP renderer (available)
20200921 184722 worker: DLNA server (available)
20200921 184722 worker: UPnP browser (available)
20200921 184722 worker: Audio scrobbler (available)
20200921 184722 worker: GPIO button handler (available)
20200921 184722 worker: -- Music sources
20200921 184722 worker: USB sources (none attached)
20200921 184722 worker: NAS and UPnP sources (none configured)
20200921 184722 worker: -- Miscellaneous
20200921 184722 worker: USB volume knob (Off)
20200921 184722 worker: USB auto-mounter (udisks-glue)
20200921 184722 worker: LED0 (On)
20200921 184722 worker: LED1 (On)
20200921 184722 worker: Saved MPD vol level (0)
20200921 184722 worker: Preamp volume level (0)
20200921 184723 worker: MPD volume level (0) restored
20200921 184723 worker: ALSA Digital volume (Invalid card number.)
20200921 184723 worker: Auto-play (Off)
20200921 184723 worker: Maintenance interval (3 hrs)
20200921 184723 worker: Screen saver activation (Never)
20200921 184723 worker: Session permissions (OK)
20200921 184723 worker: Watchdog started
20200921 184723 worker: Ready
20200921 184838 worker: Job i2sdevice



Its saying 'invalid card number'  

Just wondering what I am doing wrong within the setup?

Thank you!
Reply
#2
I'm not sure what might be happening but the "aplay -l" command is an ALSA command that is separate from moOde software and so if it's reporting no sound cards found then it would suggest something external to moOde software for example a hardware issue, PSU issue, SDCard issue etc.

I have a Boss DAC connected to a Pi4 and no issues.

Maybe try re-seating the Boss or swapping to a different power supply. Verify that green LEDS on the Boss are on. You could also look at the following file and confirm that the Boss driver is specified.

pi@rp2:~ $ cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=1
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
dtoverlay=allo-boss-dac-pcm512x-audio
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(09-21-2020, 11:23 PM)Tim Curtis Wrote: I'm not sure what might be happening but the "aplay -l" command is an ALSA command that is separate from moOde software and so if it's reporting no sound cards found then it would suggest something external to moOde software for example a hardware issue, PSU issue, SDCard issue etc.

I have a Boss DAC connected to a Pi4 and no issues.

Maybe try re-seating the Boss or swapping to a different power supply. Verify that green LEDS on the Boss are on. You could also look at the following file and confirm that the Boss driver is specified.

pi@rp2:~ $ cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=1
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
dtoverlay=allo-boss-dac-pcm512x-audio
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
I am not too sure why I am not getting a selection for the DAC in the Audio output.  

I will try another SD card and a new image.  Do I need to have the moodecfg.txt in the /boot directory? Would I have to define the I2S device there?  
[device]
i2sdevice=None


Or should I just leave that at none for now?
Reply
#4
(09-21-2020, 10:56 PM)JimmmayMaDdness Wrote: Good day!

I am trying to setup my Allo Boss DAC,  I have selected the I2S Audio device as Allo Boss Dac, reset, when I go to select the Audio output in MPD, there is no selection for the DAC.  

pi@moode:~ $ aplay -l
aplay: device_list:272: no soundcards found...

pi@moode:~ $ moodeutl -l
20200921 184650 worker: -- Start
20200921 184650 worker: Successfully daemonized
20200921 184650 worker: Integrity check (passed)
20200921 184650 worker: Session loaded
20200921 184650 worker: Debug logging (off)
20200921 184650 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
20200921 184650 worker: Device i2s: (Allo Boss DAC)
20200921 184650 worker: Device mpd: (0:Allo Boss DAC)
20200921 184650 worker: Device ses: (0|Allo Boss DAC|Digital|Invalid card number.%)
20200921 184650 worker: ALSA Digital volume set to (Invalid card number.)
20200921 184650 worker: -- System
20200921 184652 worker: Host     (moode)
20200921 184652 worker: moOde    (6.7.1 2020-07-22)
20200921 184652 worker: RaspiOS  (10.4)
20200921 184652 worker: Kernel   (5.4.51-v7+ #1325)
20200921 184652 worker: Platform (Pi-3B+ 1GB v1.3)
20200921 184652 worker: ARM arch (armv7l, 32-bit kernel)
20200921 184652 worker: MPD ver  (0.21.24)
20200921 184652 worker: CPU gov  (ondemand)
20200921 184652 worker: USB boot enabled
20200921 184653 worker: File system not expanded yet
20200921 184653 worker: HDMI port on
20200921 184653 worker: File check (OK)
20200921 184653 worker: -- Network
20200921 184653 worker: eth0 exists
20200921 184653 worker: eth0 wait 0 for IP address
20200921 184657 worker: eth0 wait 1 for IP address
20200921 184700 worker: eth0 wait 2 for IP address
20200921 184703 worker: eth0 wait 3 for IP address
20200921 184706 worker: eth0 wait 4 for IP address
20200921 184719 worker: eth0 address not assigned
20200921 184720 worker: wlan0 exists
20200921 184720 worker: wifi country (CA)
20200921 184720 worker: wlan0 trying SSID (TPF)
20200921 184720 worker: IP addr (192.168.100.196)
20200921 184720 worker: Netmask (255.255.255.0)
20200921 184720 worker: Gateway (192.168.100.1)
20200921 184720 worker: Pri DNS (192.168.100.1)
20200921 184720 worker: Domain  (None)
20200921 184720 worker: -- Audio
20200921 184721 worker: MPD conf updated
20200921 184721 worker: ALSA outputs unmuted
20200921 184721 worker: ALSA card number (0)
20200921 184721 worker: Audio output (Allo Boss DAC)
20200921 184721 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory)
20200921 184721 worker: ALSA mixer name (Digital)
20200921 184721 worker: MPD volume control (software)
20200921 184721 worker: Hdwr volume controller exists
20200921 184721 worker: Max ALSA volume (100%)
20200921 184721 worker: Reset renderer active flags
20200921 184721 worker: -- MPD
20200921 184721 worker: MPD started
20200921 184722 worker: MPD accepting connections
20200921 184722 worker: Configure MPD outputs
20200921 184722 worker: MPD output 1 ALSA default (on)
20200921 184722 worker: MPD output 2 ALSA crossfeed (off)
20200921 184722 worker: MPD output 3 ALSA parametric eq (off)
20200921 184722 worker: MPD output 4 ALSA graphic eq (off)
20200921 184722 worker: MPD output 5 ALSA polarity inversion (off)
20200921 184722 worker: MPD output 6 ALSA bluetooth (off)
20200921 184722 worker: MPD output 7 HTTP stream (off)
20200921 184722 worker: MPD crossfade (off)
20200921 184722 worker: -- Feature availability
20200921 184722 worker: Source select (available)
20200921 184722 worker: Source select (source: MPD)
20200921 184722 worker: Source select (output: Allo Boss DAC)
20200921 184722 worker: Bluetooth (available)
20200921 184722 worker: Airplay renderer (available)
20200921 184722 worker: Spotify renderer (available)
20200921 184722 worker: Squeezelite renderer (available)
20200921 184722 worker: UPnP renderer (available)
20200921 184722 worker: DLNA server (available)
20200921 184722 worker: UPnP browser (available)
20200921 184722 worker: Audio scrobbler (available)
20200921 184722 worker: GPIO button handler (available)
20200921 184722 worker: -- Music sources
20200921 184722 worker: USB sources (none attached)
20200921 184722 worker: NAS and UPnP sources (none configured)
20200921 184722 worker: -- Miscellaneous
20200921 184722 worker: USB volume knob (Off)
20200921 184722 worker: USB auto-mounter (udisks-glue)
20200921 184722 worker: LED0 (On)
20200921 184722 worker: LED1 (On)
20200921 184722 worker: Saved MPD vol level (0)
20200921 184722 worker: Preamp volume level (0)
20200921 184723 worker: MPD volume level (0) restored
20200921 184723 worker: ALSA Digital volume (Invalid card number.)
20200921 184723 worker: Auto-play (Off)
20200921 184723 worker: Maintenance interval (3 hrs)
20200921 184723 worker: Screen saver activation (Never)
20200921 184723 worker: Session permissions (OK)
20200921 184723 worker: Watchdog started
20200921 184723 worker: Ready
20200921 184838 worker: Job i2sdevice



Its saying 'invalid card number'  

Just wondering what I am doing wrong within the setup?

Thank you!

Okay so I removed the Isolator and put the DAC right on the Pi and it shows up now.   I must not be powering up the Pi, Isolator and Dac properly.   
Are you also running the isolator on your Boss DAC and Pi?
Reply
#5
Not currently but I used to. Allo has some docs that explain how to configure for the Isolator + Boss.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
(09-22-2020, 01:00 AM)Tim Curtis Wrote: Not currently but I used to. Allo has some docs that explain how to configure for the Isolator + Boss.

I just wanted to to let you know that the problem was user error in the way I had the jumpers configured on the DAC and the isolator.  Got it wired properly.  

The software works flawlessly when there is no user errors! 

Sounds wonderful! 

Thank you!
Reply
#7
Quote:I will try another SD card and a new image.  Do I need to have the moodecfg.txt in the /boot directory? Would I have to define the I2S device there?  
[device]
i2sdevice=None

This moodecfg.txt is made to be use with moOde 7, you can't choose i2s device with 6.7.1.

It could be confusing, since moOde 7 is not available yet
Reply


Forum Jump: