It works!
Solution (in OpenElec 4.2.0; settings on other distros would be similar):
- Create custom asound.state in /storage/.config/ with the following
contents:http://sprunge.us/SiHH(this state-file will, among other things, unmute the appropriate mixer controls, set proper output formats, ...).
Load the above state file with the following command:
alsactl nrestore 0 -f /storage/.config/asound.state (replace the "0" with the card-number corresponding to CK804 on your
system)
You may want to add this command to a custom autostart.sh in
/storage/.config/ so the state is restored on every boot.
- Create intel8x0.conf in /storage/.config/modprobe.d/ with the following
contents:
options snd-intel8x0 spdif_aclink=1 (I am told that this above setting depends on the specific
motherboard, so this may not work for everyone: it does work on my ASUS A8N-SLI Deluxe)
This was the final setting that solved the issue for me. I did try this
setting before, but it seems that some sources on the Internet had this mis-written as "options snd-intel-8x0 spdif_aclink=1" (notice the extra dash).
- In XBMC, select the SPDIF out as both the audio-device AND the
passthrough device.
Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------
00:04.0 0401: 10de:0059 (rev a2) Subsystem: 1043:812a
You can add pci subsystem id into spdif_aclink_defaults
static struct snd_pci_quirk spdif_aclink_defaults[] __devinitdata = { SND_PCI_QUIRK(0x147b, 0x1c1a, "ASUS KN8", 1), { } /* end */ };
Simple mixer control 'IEC958 Playback AC97-SPSA',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 3 Mono: 0 [0%]
Does it use slot front left and front right slots for pcm playback?
Does it use spdif left/right slot for ac3 passthrough? default for alc850 after cold boot
Can it get signal from the other two setting : rear left/right slot or center/lfe slot?