Audio settings not working, output always over HDMI, no way to send it through analog
#1
XBMCBuntu based on Dhrama and Lucid on an Asus EB1501 hardware, until today I had no need to switch from HDMI audio output to analog and everything worked out of the box, now I have to use the analog 2.0 output for some time, but, to my suprise, I can't hear nothing coming out from there (both using headphones and speakers), I changed the Audio setting to Analog 2.0 default device, rebooted and still the audio comes out from HDMI, and nothing from analog speakers.... how could I force analog? I hoped the audio setting would have done this for me.
In alsamixer I have Master, HeadPhone, PCM and Front unmuted and at 100%, moreover are all the spdifs unmuted.

Is there someone who can point me to the right direction?

Thanks
Reply
#2
Do you have an .asoundrc file that might be doing something?
ASRock ION 330
Ubuntu 11.10 x86_64 minimal install
xbmc from unstable ppa
Reply
#3
gsgleason Wrote:Do you have an .asoundrc file that might be doing something?

Found it, but not generated by me (could it be auto generated by xbmc-live package?), here it is:
Code:
$ cat .asoundrc

pcm.both {
        type route
        slave {
                pcm multi
                channels 6
        }
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.0.2 1.0
        ttable.1.3 1.0
        ttable.0.4 1.0
        ttable.1.5 1.0
}

pcm.multi {
        type multi
        slaves.a {
                pcm "hdmi_hw"
                channels 2
        }
        slaves.b {
                pcm "digital_hw"
                channels 2
        }
        slaves.c {
                pcm "analog_hw"
                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
        bindings.4.slave c
        bindings.4.channel 0
        bindings.5.slave c
        bindings.5.channel 1
}

pcm.hdmi_hw {
        type hw
        card 0
        device 3
        channels 2
}

pcm.hdmi_formatted {
        type plug
        slave {
                pcm hdmi_hw
                rate 48000
                channels 2
        }
}

pcm.hdmi_complete {
        type softvol
        slave.pcm hdmi_formatted
        control.name hdmi_volume
        control.card 0
}

pcm.digital_hw {
        type hw
        card 0
        device 1
        channels 2
}

pcm.analog_hw {
        type hw
        card 0
        device 0
        channels 2
}

giving an eye to the audio configuration in xbmc I can see plug:both greyed out in the line below default (probably is the config used by custom setting)

Thank you for the answer, is that asound config file giving some hints about what's going on?
Reply
#4
To add some more informations, this is not a full ubuntu installation, but an ubuntu minimal setup without gnome, used solely to run xbmc, so no pulseaudio for example, but I read somewhere it's not necessary.

Could someone give more advices?
Reply
#5
Did some more tests, now I really need some advices, I'm a bit lost:

I stopped xbmc-live (sudo stop xbmc-live), then run a speaker test:
Code:
speaker-test -Dfront:NVidia -c2 -twavq

This correctly played the female voice on the two speakers, I wasn't expecting this... I thought it was an alsa fault, but alsa is working correctly and my audio chip too... so this looks like a problem in xbmc itself, infact, I then restarted xbmc, selected analog as the output for audio and it still won't play through the speakers, but it always plays anything via hdmi, regardless what I select in the audio output setting.
Reply
#6
Found the solution, now I just have the analog out, and no hdmi output, the default analog out is not working, I must use a Custom one set to plug:analog_hw, this way it works, the default plug:both value for custom isn't working.
Reply

Logout Mark Read Team Forum Stats Members Help
Audio settings not working, output always over HDMI, no way to send it through analog0