At Thu, 17 Nov 2011 10:37:32 +0100, David Henningsson wrote:
Hi,
As seen in the "Early Patching" section of the "More notes on HD-Audio driver" document, you're supposed to activate it like this:
options snd-hda-intel patch=on-board-patch,hdmi-patch
But how do we know the order here? The pci bus is probed in parallel (right?) so could this be racy, that on every other boot, the hdmi card is probed first instead?
IIRC, the probing order in the driver is serialized, so it doesn't vary, just depending on the PCI slots. In practice, I've never seen any order changes.
Also, since the patch file specifies a [codec] section, you could actually use the same patch file for almost all cases. I guess the case of having two card instances with the same codec at the same address is pretty unusual, right?
Right. You must specify the codec SSID, and this should be unique enough for identify each instance.
thanks,
Takashi