dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 40252] No udev event  for disconnecting VGA/HDMI cable
Date: Thu, 22 Sep 2011 13:54:02 -0700 (PDT)	[thread overview]
Message-ID: <20110922205403.028CC130081@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-40252-502@http.bugs.freedesktop.org/>

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

--- Comment #5 from Alex Deucher <agd5f@yahoo.com> 2011-09-22 13:54:02 PDT ---
(In reply to comment #4)
> Mh okay, I my observations were related to HDMI (not VGA).
> Is there a way to find out if a "HPD pin [is] assigned to the
> digital display connector"?

Make sure your have the rlc firmware loaded as it's required for the interrupt
controller to work.

Check your dmesg.  It should show something like:
[drm] Connector 1:
[drm]   HDMI-A
[drm]   HPD2
[drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY

In this case HPD2 has been (in theory) wired to the hdmi port.  Plug/unplug in
your hdmi port and check if bit 1 of any of the DC_HPDx_INT_STATUS regs changes
when you connect/disconnect the monitor.

#define DC_HPD1_INT_STATUS                                0x7d00
#define DC_HPD2_INT_STATUS                                0x7d0c
#define DC_HPD3_INT_STATUS                                0x7d18
#define DC_HPD4_INT_STATUS                                0x7d24
#define DC_HPD5_INT_STATUS                                0x7dc0
#define DC_HPD6_INT_STATUS                                0x7df4

You can use radeonreg:
http://cgit.freedesktop.org/~airlied/radeontool/
to dump registers.  E.g. (as root),
./radeonreg regmatch 0x7d00

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

  parent reply	other threads:[~2011-09-22 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 15:24 [Bug 40252] New: No udev event for disconnecting VGA/HDMI cable bugzilla-daemon
2011-08-20 15:25 ` [Bug 40252] " bugzilla-daemon
2011-09-22 20:07 ` bugzilla-daemon
2011-09-22 20:17 ` bugzilla-daemon
2011-09-22 20:22 ` bugzilla-daemon
2011-09-22 20:54 ` bugzilla-daemon [this message]
2011-10-07 18:14 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110922205403.028CC130081@annarchy.freedesktop.org \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox