I have been trying to get my hdmi audio working for sometime. During my kde install i managed to get the HDMI audio working fine, but since running the avwizard during my initial 0810 setup I have never had any sucess (in KDE or Linux MCE).
After a fair bit of digging around I think part of the problem is down to my asound.conf file being changed everytime i start the system up (i think by Linux mce).
I had set my HDMI audio up as detailed below;
pcm.!default {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
#ctl.!default hdmiout
pcm.optical {
type hw
card 0
device 1
}
ctl.optical {
type hw
card 0
device 1
}
pcm.hdmiout {
type hw
card 0
device 3
}
ctl.hdmiout {
type hw
card 0
device 3
}
pcm.multi {
type multi
slaves.a.pcm "hdmiout"
slaves.a.channels 2
slaves.b.pcm "optical"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
ctl.multi {
type hw
card 0
}
This was working fine under KDE but everytime i start my machine (even if i edit the asound.conf file back to the above), the asound.conf file actually contains the following;
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
#ctl.!default hdmiout
pcm.optical {
type hw
card 0
device 1
}
ctl.optical {
type hw
card 0
device 1
}
pcm.hdmiout {
type hw
card 0
device 3
}
ctl.hdmiout {
type hw
card 0
device 3
}
pcm.multi {
type multi
slaves.a.pcm "hdmiout"
slaves.a.channels 2
slaves.b.pcm "optical"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
ctl.multi {
type hw
card 0
}
pcm.!default asym_analog
From what i can see the "edited" asound.conf isnt even a valid file, and is certainly in confliction with the manually edited file i had created.
I have searched the wiki and found some useful information for forcing the avwizard to not alter the xconf file, but nothing relating to the way MCE edits the alsa files.
Can anyone help?