My Volumio version is 2.03 for ODROID C2 and my DAC is HiFi Shield 2.
The DAC is new version.
When I changed the DAC setting to “ODROIDDAC2” and reboot, there is no sound both from RAC and optical output.
This line has timing issue that amixer command from /opt/odroiddac.sh is not working.
I think “WantedBy” value must be changed to “sound.target”
Please refer the following URL : http://forum.odroid.com/viewtopic.php?f=118&t=24415
/etc/asound.conf
add following lines.
pcm.!default {
type hw
card 1
device 0
}
ctl.!default {
type hw
card 1
device 0
}
Hi, thanks for the info.
Though I have not experienced the issues you are mentioning during any of my tests, the timing issue could be relevant, so I will change that.
Also raising volume level to 201, last used value will be persisted anyway.
If you want output on the optical port, you will need to select hdmi, you cannot have RCA and optical at the same time (check the HK forum).
I will make sure, the service change will go into the next release.
Edit: These changes have turned out difficult, I’ll revert and investigate
I got reply from HK.
They said the output from Analogue and Optical at the same time is normal if I2S/SPDIF pin-function is enabled.
if you want to enable pin-function for Optical output then you must select HDMI output at least once after boot.
So they write to their WIKI to select HDMI output for Optical output.
After enabled pin-function for Optical, Analogue and Optical output at the same time is normal when you select ODROIDDAC2.
I have requested HK to change the PCM512x driver in order to limit the volume somewhere between 0 and 3dB.
For amixer this upper limit should be 255 (100%).
Currently giving amixer a value of 201 is nice, but as Volumio uses amixer, it will allow a setting up to 255, which is way too high.
Other DACs, like the Piano 2.1 have already solved this issue.
Once this is done, I will update the kernel and prepare a new image.
With 2.129 image the Hifi Shield 2 works correct to me. (testet with a C2).
The only thing is: after switch from HDMI to HifiShield 2 no 'restart’message comes but it is required!