[alsa-devel] [PATCH] ALSA: hda - Add DeviceID for Haswell HDA

Wang Xingchao wangxingchao2011 at gmail.com
Sat Jul 14 11:25:19 CEST 2012


2012/7/14 Jaroslav Kysela <perex at perex.cz>:
> Date 13.6.2012 08:46, Takashi Iwai wrote:
>> At Wed, 13 Jun 2012 10:23:51 +0800,
>> Wang Xingchao wrote:
>>>
>>> this patch add proper id for Haswell HDA Controller.
>>>
>>> Signed-off-by: Wang Xingchao <xingchao.wang at intel.com>
>>
>> Oh, now ID number decreases to 0xxx? :)
>>
>> While we are on this: could you verify whether position_fix=4 (combo)
>> options works for Haswell?  In this mode, LPIB is used for playback
>> positioning while POS buffer is used for capture.
>>
>> Seth (Cc'ed) figured out that this mode works better than the default
>> (usually POS buf both for playback and capture) on the recent Intel
>> controller chips, so I guess it'd be applied to Haswell, too.
>
> The combo works OK for the Haswell. I think that the patch should be
> applied with the HDMI ID patch "[PATCH] ALSA: hda - add Haswell HDMI pci
> id".
>
> Acked-by: Jaroslav Kysela <perex at perex.cz>
>
> But it seems that the HDA bridge (8086:0c0c) with the HDMI codecs is
> detected as first in the PCI probe in this system, which is not ideal.
> So the card0 is HDMI only and card1 is analog:
>

that's right. In the board named Sharkbay there're two HDA
controllers, one is Lynxpoint HDA with ALC* codec and the other one is
Haswell HDA which only connected with HDMI audio. There's also drm
patches to enable HDMI audio on haswell, i will send them out after
some cleanup.

also please wait a moment before apply this patch, it's not the final
right version after some work on HDMI audio enabling. At least the
driver type is "SCH" not "PCH".  i will resend the patch in second
version.

Before that i will also verify whether Haswell could work well with
test Seth's patch.

thanks
--xingchao


More information about the Alsa-devel mailing list