[CentOS] Storing and restoring sound settings

Mon Jan 14 15:09:23 UTC 2013
Mogens Kjaer <mk at lemo.dk>


I have made a bootable CD (with revisor) of CentOS 6.

The CD boots and starts a game automatically (for an exhibition).

I have one problem: The default sound settings are not correct.

After the machine is booted, I have to open gnome-volume-control,
select "Hardware", and select "Digital Stereo (HDMI) Output" under

How can I set this up automatically?

I've tried "alsactl store" and putting the generated asound.state
on the CD, but that doesn't help.

Mogens Kjaer, mk at lemo.dk