USB DAC recognised but can only get sound from analogue

Hi guys, I’ve tried everything I could possibly find online to fix this issue and am truly stumped at this point.

Pi MusicBox is working, Spotify and network files stream successfully through web browser and I get sound from the analogue output of my Pi 2 Model B, but I get ZERO sound from my DAC which uses an X-Mos chipset USB card.

I’ve toggled all the settings under USB audio to no avail, and see no errors running speaker-test, but there is no pink noise to be heard…

The USB card is listed under amixer and aplay -l and is the default playback device, it is unmuted and volume maxed as far as i can tell in alsamixer…

have I missed some settings somewhere?

any help will be greatly appreciated, this is an amazing piece of software that I really want to get working!

Thanks

root@MusicBox:~# amixer
Simple mixer control ‘VIO Internal Clock Validity’,0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'VIO USB 2.0 IF ',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [on]
Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'VIO USB 2.0 IF ',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
root@MusicBox:~#

root@MusicBox:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: IF [VIO USB 2.0 IF], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@MusicBox:~#

root@MusicBox:~# cat /etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

From first look it seems you’ve done everything right and it looks pretty good. But one: there appear to beare two mixer devices on that card, the 2nd of the two does claim to be ‘off’. Can you try toggling that in alsamixer?

thanks for the reply - how exactly do I toggle that?

I don’t see many options apart from up/down for volume?

doh… it was pressing M which unmuted it…

I will see what this does and report back

alright I now get sound so that’s awesome

problem now is when setsound.sh is run at startup it mutes again - is there a way to stop that happening?

It’ll always run so the easiest thing is to comment out / delete the call to it in /opt/musicbox/startup.sh

thanks that worked! :heart: