Bug 91277

Summary: 'Unknown' connector status when resuming from suspend
Product: DRI Reporter: Rui Tiago Matos <tiagomatos>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: bugzilla, emmanuel.pacaud, intel-gfx-bugs, phatina
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rui Tiago Matos 2015-07-09 09:51:05 UTC
Using kernel 4.1 on a thinkpad X240, I get the following after resuming from suspend:

$ cat /sys/class/drm/card0/*/status
unknown
unknown
unknown
unknown
unknown

If at this point I just run the xrandr CLI tool, then I get correct values again:

$ cat /sys/class/drm/card0/*/status
disconnected
disconnected
connected
disconnected
disconnected

I also found out that with kernel 4.0 I don't get the 'unknown' statuses on the /sys connector files after resuming but nonetheless the X server doesn't seem to get notified about newly connected ports (while suspended) until a forced refresh with 'xrandr' is done.
Comment 1 Rui Tiago Matos 2015-07-16 14:15:07 UTC
This was already being tracked in the kernel bugzilla:

https://bugzilla.kernel.org/show_bug.cgi?id=100641

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.