Take a look in /etc/modules-load.d - you can add a file called, say,
"sound.conf" there with the contents:
snd-hda-intel
That should load that module on boot. I haven't tested it, as I've
never had the need to force a module to load in recent years, but it
should work.
Petter
Didn't work. Nor did adding snd-hda-intel line to /etc/modules.
Those two do the same thing.
Any more suggestions? I'm running Jessie. Have been since Jessie was
testing, about three months after the release of Wheezy. So it's
seen a lot of changes, the biggest of which was the transition from
sysvinit to systemd. I should have fixed it a lot sooner, but as long
as I could fix it by running modprobe, I wasn't in a big hurry.
Anyway, if this had worked, it feels like a workaround, and isn't
really getting to the actual cause of the problem. So, any more
suggestions are welcome.
Well, maybe it is dependent on another module that for some reason
doesn't get loaded automatically when you try to load snd-hda-intel,
but that has been loaded later in the boot sequence? (Although I have
difficulty imagining how this could happen).
Try to run "lsmod | grep snd", and add the modules that snd-hda-intel
depend on before the line loading it in the relevant file
in /etc/modules-load.d or in /etc/modules.