[Bug 49943] New: radeon/drm: Hotplug udev events stop working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 15 02:00:47 PDT 2012


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

             Bug #: 49943
           Summary: radeon/drm: Hotplug udev events stop working
    Classification: Unclassified
           Product: DRI
           Version: XOrg CVS
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: h.judt at gmx.at


Making use of udev events, I'd like to launch a script when a monitor gets
connected or disconnected. However, an event is only fired once and then never
again.

Kernel: linux-3.4.0-rc7

lspci:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman
PRO [Radeon HD 6950] (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices [AMD] nee ATI Device 0b00
        Flags: bus master, fast devsel, latency 0, IRQ 54
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at fe620000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at e000 [size=256]
        Expansion ROM at fe600000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
        Capabilities: [150] Advanced Error Reporting
        Kernel driver in use: radeon

xrandr --verbose:
HDMI-0 connected (normal left inverted right x axis y axis)
        Identifier: 0x58
        Timestamp:  21810
        Subpixel:   horizontal rgb
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID:
                00ffffffffffff002203010be9030000
                00110103804627780b1990a755469824
                10494b3fcf00818081cf81c061c04bc0
                4bcf453c61cf011d007251d01e206e28
                5500c48e2100001e011d8018711c1620
                582c2500c48e2100009e000000fc004d
                737461722044656d6f0a2020000000fd
                0016500e5b10000a202020202020014b
                02031df24a0102038405101293141f23
                0907078301000065030c0010008c0ad0
                8a20e02d10103e9600138e2100001801
                1d00bc52d01e20b8285540c48e210000
                1e011d80d0721c1620102c2580c48e21
                00009e8c0ad08a20e02d10103e9600c4
                8e210000188c0ad090204031200c4055
                00c48e2100001800000000000000002b
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
----- [modes cut off here] -----

ls -la /sys/class/drm/card0-HDMI-A-1/
insgesamt 0
drwxr-xr-x 3 root root    0 15. Mai 2012  .
drwxr-xr-x 8 root root    0 15. Mai 2012  ..
lrwxrwxrwx 1 root root    0 15. Mai 10:12 device -> ../../card0
-r--r--r-- 1 root root 4096 15. Mai 10:12 dpms
-r--r--r-- 1 root root    0 15. Mai 10:12 edid
-r--r--r-- 1 root root 4096 15. Mai 10:12 enabled
-r--r--r-- 1 root root 4096 15. Mai 10:12 modes
drwxr-xr-x 2 root root    0 15. Mai 10:12 power
-r--r--r-- 1 root root 4096 15. Mai 09:14 status
lrwxrwxrwx 1 root root    0 15. Mai 2012  subsystem ->
../../../../../../../class/drm
-rw-r--r-- 1 root root 4096 15. Mai 2012  uevent

Note the modification date of status and the other files. That of status did
not change at all since boot, and the mdates of the others did change once
apparently.

I can poll "status" and see the changes when executing xrandr, but there will
be no more events, and the modification dates do not change anymore.

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


More information about the dri-devel mailing list