All of lore.kernel.org
 help / color / mirror / Atom feed
* HDA Firmware file question
@ 2011-11-17  9:37 David Henningsson
  2011-11-17 15:13 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: David Henningsson @ 2011-11-17  9:37 UTC (permalink / raw)
  To: ALSA Development Mailing List, Takashi Iwai

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?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HDA Firmware file question
  2011-11-17  9:37 HDA Firmware file question David Henningsson
@ 2011-11-17 15:13 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2011-11-17 15:13 UTC (permalink / raw)
  To: David Henningsson; +Cc: ALSA Development Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-17 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17  9:37 HDA Firmware file question David Henningsson
2011-11-17 15:13 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.