Hi all,
I am only into Volumio for a couple of weeks now and have moved from RPi to UDOO because I want to use hires (24/192) output as well and have not been able to get that 100% ok on the raspberry. My conclusion was that it was due to hardware (USB bus traffic on the same bus as network), so decided to go a step up with the harware.
My UDOO is connected to a USB DAC, which nicely shows up in the playback device list in Volumio. However, it does not play. I have tried mixer settings: hardware, software and disabled, all with no luck. I have also tried the CMedia fix, but with no luck either.
The MPD log file says:
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
Feb 28 13:28 : output: Failed to open "Output" [alsa]: Failed to open ALSA device "hw:2,0": No such file or directory
Feb 28 13:28 : player_thread: problems opening audio device while playing "RAMPLAY/03 What's up.flac"
But using the same device in aplay works fine.
root@volumio:~# aplay -D plughw:2,0 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
I have also set the device to “plughw:2,0” in etc/mpd.conf:
audio_output {
type "alsa"
name "Output"
device "plughw:2,0"
dsd_usb "no"
}
Same error:
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
Feb 28 13:33 : output: Failed to open "Output" [alsa]: Failed to open ALSA device "plughw:2,0": No such file or directory
Feb 28 13:33 : player_thread: problems opening audio device while playing "RAMPLAY/03 What's up.flac"
If I try to play aplay with device hw:2,0 it gives me an issue with the sample:
root@volumio:~# aplay -D hw:2 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1081: Sample format non available
Available formats:
- S32_LE
So I am thinking along the lines that there is something not ok with the USB hardware dvices addresses, but cannot see that.
aplay -L gives:
root@volumio:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=vt1613audio
vt1613-audio,
Default Audio Device
sysdefault:CARD=imxhdmisoc
imx-hdmi-soc,
Default Audio Device
sysdefault:CARD=X
Peachtree24/192 USB X, USB Audio
Default Audio Device
front:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
Front speakers
surround40:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=X,DEV=0
Peachtree24/192 USB X, USB Audio
IEC958 (S/PDIF) Digital Audio Output
and aplay -l gives:
root@volumio:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vt1613audio [vt1613-audio], device 0: HiFi vt1613-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxhdmisoc [imx-hdmi-soc], device 0: IMX HDMI TX mxc-hdmi-soc-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: X [Peachtree24/192 USB X], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Any input much appreciated!