frigginacky
June 4th, 2010, 01:03 AM
I rebooted my HTPC today, and all of a sudden, I have no sound! I didn't change any of my settings (at least not intentionally). I double-checked alsamixer, and nothing is muted. If I open the sound preferences dialog and look at the applications tab, I can see the programs that are trying to play audio. There's just no actual sound.
Here's the .asoundrc I used to get HDMI audio working in the first place. It's worked flawlessly since 9.04 (I'm now on Lucid):
# Dewey Oxberger (aka Jon B)
# ASound.Conf file for HDMI Audio on MythTV
# HDMI configuration with volume control for MythTV
# Works in Ubuntu 9.04 5/9/2009
# Instructions for use
# 1) Find your hmdi hardware Card Number and Device Number. Open a terminal and do:
# aplay -L
# That will list all of the hardware audio devices. Look for the one labeled HDMI.
# Note what Card Number and Device Number it lists (they seem to be card 0,
# device 3 but your system may be different).
# 2) Edit the pcm.hdmi_hw device defined here to set your Card Number and Device Number.
# 3) Put this file in either /etc/asound.conf or in your home directory as .asoundrc.
# sudo cp deweys_asound.conf /etc/asound.conf
# or
# sudo cp deweys_asound.conf $HOME/.asound.conf
# 4) Exit mythfrontend. Then restart the sound system:
# sudo /etc/init.d/alsa-utils restart
# 5) Start mythfrontend and go to the audio setup screen
# "Utilities / Setup" then "Setup" then "General" then "Next" until you
# get to the Audio tab.
# 6) Fill in the info - it's case sensitive:
# Audio output device: ALSA:hdmi_complete <--- note you have to type in this field
# Passthrough output devide: Default
# ... Stereo... ... Passive...
# Mixer Device: ALSA:default
# Mixer controls: hdmi_volume <--- type in this field
# 7) Work your way back to Watch TV and give it a try.
pcm.hdmi_hw {
type hw
card 0 # <----- Put your card number here
device 1 # <----- Put your device number here
}
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.hdmi_complete {
# type copy
# slave.pcm hdmi_volume
# slave {
# pcm front
# }
#}
pcm.!default hdmi_complete
My aplay -l (the device I want to use is bolded):
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708B Digital [VT1708B Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
Anybody have any ideas/suggestions? :confused: I'm at a loss here.
EDIT: After removing & reinstalling pulseaudio & upgrading alsa to the latest version, I actually took a look inside the computer. Broken wire on my spdif cable. D'oh!
Here's the .asoundrc I used to get HDMI audio working in the first place. It's worked flawlessly since 9.04 (I'm now on Lucid):
# Dewey Oxberger (aka Jon B)
# ASound.Conf file for HDMI Audio on MythTV
# HDMI configuration with volume control for MythTV
# Works in Ubuntu 9.04 5/9/2009
# Instructions for use
# 1) Find your hmdi hardware Card Number and Device Number. Open a terminal and do:
# aplay -L
# That will list all of the hardware audio devices. Look for the one labeled HDMI.
# Note what Card Number and Device Number it lists (they seem to be card 0,
# device 3 but your system may be different).
# 2) Edit the pcm.hdmi_hw device defined here to set your Card Number and Device Number.
# 3) Put this file in either /etc/asound.conf or in your home directory as .asoundrc.
# sudo cp deweys_asound.conf /etc/asound.conf
# or
# sudo cp deweys_asound.conf $HOME/.asound.conf
# 4) Exit mythfrontend. Then restart the sound system:
# sudo /etc/init.d/alsa-utils restart
# 5) Start mythfrontend and go to the audio setup screen
# "Utilities / Setup" then "Setup" then "General" then "Next" until you
# get to the Audio tab.
# 6) Fill in the info - it's case sensitive:
# Audio output device: ALSA:hdmi_complete <--- note you have to type in this field
# Passthrough output devide: Default
# ... Stereo... ... Passive...
# Mixer Device: ALSA:default
# Mixer controls: hdmi_volume <--- type in this field
# 7) Work your way back to Watch TV and give it a try.
pcm.hdmi_hw {
type hw
card 0 # <----- Put your card number here
device 1 # <----- Put your device number here
}
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.hdmi_complete {
# type copy
# slave.pcm hdmi_volume
# slave {
# pcm front
# }
#}
pcm.!default hdmi_complete
My aplay -l (the device I want to use is bolded):
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708B Digital [VT1708B Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
Anybody have any ideas/suggestions? :confused: I'm at a loss here.
EDIT: After removing & reinstalling pulseaudio & upgrading alsa to the latest version, I actually took a look inside the computer. Broken wire on my spdif cable. D'oh!