Bug 21030 - [KMS]external monitor can't be detected if plugged in after kernel boot
Summary: [KMS]external monitor can't be detected if plugged in after kernel boot
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high major
Assignee: Jesse Barnes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: intel-drm-blocker
  Show dependency treegraph
 
Reported: 2009-04-03 02:27 UTC by liuhaien
Modified: 2017-10-06 14:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.0.log (19.32 KB, text/plain)
2009-04-03 02:27 UTC, liuhaien
no flags Details
xorg conf file (3.76 KB, text/plain)
2009-04-03 02:27 UTC, liuhaien
no flags Details
get connector status fix (896 bytes, patch)
2009-04-07 12:48 UTC, Jesse Barnes
no flags Details | Splinter Review

Description liuhaien 2009-04-03 02:27:26 UTC
Created attachment 24503 [details]
xorg.0.log

System Environment:
--------------------------
host:acer aspire one
Libdrm:            (master)51d6346f9f3c425f49e57d185530c6bcaeb94f5e
Mesa:           (mesa_7_4_branch)7be149cfd131c0b3f7d4337bb83e6fba5f563bf9
Xserver:   (server-1.6-branch) 60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:               (2.7)10b5014c42dc055d9559ee112cc7a017e887d813   
Kernel:  (drm-intel-2.6.29) 0e56a4d653b66d4729f944b23935a00c4472f987 

Bug detailed description:
--------------------------
power on the machine with KMS. connect a external monitor after the boot process is finished, then start X, there is no response on the monitor and xrandr shows the monitor is disconnected like below:

[root@x-aspire1 ~]# xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 2048 x 2048
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 195mm x 113mm
   1024x600       60.0*+

it can be detected normally with following conditions:
1. connect the external monitor before the machine powers on with KMS
2. connect the external monitor after the boot process with UMS

Reproduce Steps:
------------------
1.power on the machine
2. connect external monitor after boot finished.
3. startx
Comment 1 liuhaien 2009-04-03 02:27:48 UTC
Created attachment 24504 [details]
xorg conf file
Comment 2 Gordon Jin 2009-04-03 19:41:05 UTC
This impacts moblin.
Comment 3 Jesse Barnes 2009-04-07 12:48:09 UTC
Created attachment 24652 [details] [review]
get connector status fix

Can you confirm that this patch works for you?
Comment 4 liuhaien 2009-04-07 22:05:20 UTC
(In reply to comment #3)
> Created an attachment (id=24652) [details]
> get connector status fix
> 
> Can you confirm that this patch works for you?
> 

yes,it works for me.Thanks.
Comment 5 Jesse Barnes 2009-04-10 15:49:24 UTC
Fixed in libdrm 2.4.9.
Comment 6 liuhaien 2009-04-13 01:07:47 UTC
verified with below commits:
Libdrm:		(master)07646002c6835537c6ae44ef9b3f8480762279b8
Mesa:		(mesa_7_4_branch)de197cf991416f0cd65ad2e2d2ca9aa599b52075
Xserver:	(server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:		(2.7)121bd7ff7cfd9a43fbb61fa56f06ba2d2b55035e
Comment 7 Elizabeth 2017-10-06 14:54:57 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.