2012-10-19, 13:48
I have no real OpenELEC experience, but you should be able to include a little loop into that autoexec.sh script, that waits until the sound card is ready. I have no way to test this on an OpenELEC right now, but try adding this to the end of your autoexec.sh:
I don´t think there is a way for XBMC to completely ignore the ELD information - at least I haven´t seen one yet.
Code:
while [ ! -f "/proc/asound/card1/eld#0.1" ] # sleep for 2 seconds while file not there, then check again
do
sleep 2
done
echo sad0_rates 0x1ee0 > /proc/asound/card1/eld#0.1
echo speakers 0x4f > /proc/asound/card1/eld#0.1
echo sad0_channels 8 > /proc/asound/card1/eld#0.1
echo sad0_bits 0xe0000 > /proc/asound/card1/eld#0.1
I don´t think there is a way for XBMC to completely ignore the ELD information - at least I haven´t seen one yet.