On Wed, Apr 22, 2009 at 04:18:02PM +0800, Zhenyu Wang wrote: > On 2009.04.22 03:37:00 -0400, [email protected] wrote: > > On Wed, Apr 22, 2009 at 09:45:50AM +0800, Zhenyu Wang wrote: > > > On 2009.04.16 05:54:05 -0400, [email protected] wrote: > > > > > > The problem is that HDMI audio works fine until I start X. The > > > > driver for the Intel(R) Mobile Intel? GM45 Express Chipset > > > > loads and I see a message in dmesg: > > > > HDMI hot plug event: Presence_Detect=0 ELD_Valid=1 > > > > and sound output ceases. If I stop X, then I get > > > > HDMI hot plug event: Presence_Detect=1 ELD_Valid=1 > > > > and sound output returns. > > > > > What's your kernel version? Ma Ling's patch in linus tree > > > "drm/i915: sync hdmi detection by hdmi identifier with 2D" should > > > have fixed this by detect hdmi sink correctly. > > > > I've just tried it on 2.6.29.1 with the same symptoms. I can > > see the sync hdmi detection code in drm/i915/*.c. > > > > Is the problem that it sees the audio sink and assigns it > > for the video driver taking it away from the alsa driver? > > > > I don't think the fix is in 2.6.29.1, pls try 2.6.30-rc3 now.
The same: startx: [drm] Initialized drm 1.1.0 20060810 pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 pci 0000:00:02.0: setting latency timer to 64 pci 0000:00:02.0: irq 30 for MSI/MSI-X [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 HDMI hot plug event: Presence_Detect=0 ELD_Valid=1 stopx: HDMI hot plug event: Presence_Detect=1 ELD_Valid=1 ALSA sound/pci/hda/hda_eld.c:264: HDMI: Unknown ELD version 1 [drm:gm45_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1 $ uname -r 2.6.30-rc3 $ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.19. $ lsmod|grep hdmi snd_hda_codec_intelhdmi 14320 1 snd_hda_codec 62304 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel snd 64920 14 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer $ lspci -nn|egrep -i 'audio|graph' 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) 00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07) 00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03) xf86-video-intel-2.7.0 and libdrm-2.4.9 Paul _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
