Still loosing audio when booting. But I made a great discovery. Card 0 is the builtin speaker, card 1 is the sound card. And by doing 'alsactl init 1' I initialize the sound card, as seen from this command output. Also, from /usr/src/linux-3.2.29/Documentation/sound/alsa/ALSA-Configuration.txt:
Common parameters for top sound card modules
Each of top level sound card module takes the following options.
index - index (slot #) of sound card
- Values: 0 through 31 or negative
- If nonnegative, assign that index number
- if negative, interpret as a bitmask of permissible
indices; the first free permitted index is assigned
- Default: -1
id - card ID (identifier or name)
- Can be up to 15 characters long
- Default: the card type
- A directory by this name is created under /proc/asound/
containing information about the card
- This ID can be used instead of the index number in
identifying the card
enable - enable card
- Default: enabled, for PCI and ISA PnP cards
It can be inferred that slot = card and index is the card.
$ cat /etc/modprobe.d/alsa.conf
options snd_hda_intel index=0 model=auto
then switched to not using the index parameter. Now I'm using 'index=1'. But still no persistence across reboots.
A simple question. Is /etc/modprobe.d/<base_name>.conf read at each boot?
EDIT: Of course it is, because its a module and files in /etc/ terminated in .d are meant to be read at boot time.