[Bug 82593] [BYT]udevadm unable to monitor HDMI plug/unplug event sporadically

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 10 08:31:57 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82593

Jani Nikula <jani.nikula at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Assignee|jani.nikula at intel.com       |intel-gfx-bugs at lists.freede
                   |                            |sktop.org

--- Comment #1 from Jani Nikula <jani.nikula at intel.com> ---
Please enable drm.debug=0xf to get drm core debugging, *or* apply this patch to
debug the hotplug events:

diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
index ab1a5f6dde8a..6abf092d9eb4 100644
--- a/drivers/gpu/drm/drm_sysfs.c
+++ b/drivers/gpu/drm/drm_sysfs.c
@@ -481,7 +481,7 @@ void drm_sysfs_hotplug_event(struct drm_device *dev)
     char *event_string = "HOTPLUG=1";
     char *envp[] = { event_string, NULL };

-    DRM_DEBUG("generating hotplug event\n");
+    DRM_DEBUG_KMS("generating hotplug event\n");

     kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHANGE, envp);
 }

Now, doing hotplug and looking at both udevadm monitor and dmesg, do you see
cases where:

a) there's the "generating hotplug event" in dmesg, but you do *not* get it in
udevadm monitor

*or*

b) you do hotplug but the message is not in dmesg and you don't get it in
udevadm either.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140910/233e5835/attachment.html>


More information about the intel-gfx-bugs mailing list