[mythtv-users] Set ALSA switch every boot
Stephen Worthington
stephen_agent at jsw.gen.nz
Sun Oct 4 22:36:07 UTC 2015
On Sun, 4 Oct 2015 20:47:36 +0200, you wrote:
>Hoi Josu,
>
>Sunday, October 4, 2015, 8:37:00 PM, you wrote:
>
>> Hello all,
>
>> I have a little problem with my new frontend.
>
>> Every time a reboot the machine I need to go audio mixer and check the
>> IEC958 swith in my HDMI card.
>
>> Is it possible to configure to set it?
>
>> Thanks and regards.
>
>If properly set-up your system should save and restore your mixer
>setting on reboot through the alsactl command. A service called
>alsasound or so.
I had a problem like that after I upgraded to Mythbuntu 14.04 LTS from
12.04 LTS. I fixed it (mostly) by first using "alsactl store" from a
root prompt once I had the alsa settings how I wanted them. Then,
when that did not fix things, in /etc/rc.local I added "alsactl
restore &". Somehow, the standard code for doing "alsactl restore" at
boot time was not working. I still have a problem where very
occasionally (once a month or so), alsa loses its settings (or some
other program changes them) and I lose my sound. This happens out of
the blue while the box is running, not at boot time. I just manually
go to a root prompt and do "alsactl restore" and it works again.
In my case, it was the S/PDIF setting that was being lost, as my sound
goes directly from my MythTV box to my DAC via optical S/PDIF.
More information about the mythtv-users
mailing list