Switching between output types (HDMI, analog) in a sound card sometimes doesn't work
Submitted by Jean-François Fortin Tam
Assigned to pul..@..op.org
Description
I am running Fedora 16 on an Acer Aspire 1410. It has analog jacks for mic/headphone and a fullsize HDMI connector. I can thus output both video and audio to an HDTV.
Sometimes when I plug into HDMI and ask gnome-control-center to switch the hardware's profile from "Analog Stereo Duplex" to "Digital Stereo (HDMI) Output", it doesn't work. You don't actually get sound on the output, and if you click the "Test speakers" button gnome-control-center dies with as segfault.
Sometimes, it's the other way around. For example, this is what I recall has happened in the last 12 hours:
- Plugged the laptop onto an HDTV's HDMI cable. Screen turns on automatically, and I disable the laptop screen.
- In gnome-control-center, change the hardware profile from "Analog Stereo Duplex" to "Digital Stereo (HDMI) Output"
- It works! Grab some popcorn.
- Unplug the HDMI cable and forget to care about audio for a few hours.
- Try to watch some youtube video. "Oh snap, it's still on HDMI audio"
- In gnome-control-center, change the hardware profile from to "Digital Stereo (HDMI) Output" to "Analog Stereo Duplex". Reload the youtube tab, no joy. Close the browser and reload it, no joy.
- Go to gnome-control-center's sound prefs, click the Test speakers button, segfault.
- alt+F2, "pulseaudio -k && pulseaudio -D"
- Hardware profile switching now works.
Bits from lspci:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)