Skip to contentSkip to conversation

HDA Firmware file question

DISCUSSION David Henningsson 2 participants 2 messages Nov 17, 2011

lore
Share & tools
lore
#0 lore raw

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?

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?

Signature · 2 lines
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
#1 lore raw

At Thu, 17 Nov 2011 10:37:32 +0100,

Quoted 11 lines · David Henningsson

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.

Quoted 4 lines

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