Comment 12 for bug 25632

Revision history for this message
Tomas Cernaj (tomas-cernaj) wrote :

Confirmed in Gutsy with Intel 82801G (ICH7 Family) integrated sound card (module snd_hda_intel).

I normally use GNOME with the volume applet active. PCM sound is available on analog and optical output. After playing an AC3 stream the PCM sound only plays on analog output, unless I explicitly specify spdif as output device, such as "speaker-test -D spdif -c 2". This behavior persists between reboots.

To get it to work again I have to stop all applications using sound and then unload and reload the snd_hda_intel module by hand as long as the computer has not rebooted.

As far as I can tell the /etc/init.d/alsa-utils script somehow interferes with the settings... After a reboot a part of the /var/lib/alsa/asound.state file was changed as follows:
Before DVD playback:
        control.33 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value '040000000000000000000000000000000000000000000000000000000
        }
After reboot:
        control.33 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value '068200020000000000000000000000000000000000000000000000000
        }

Hope this helps; this bug gets annoying somehow... ;-)