SUMMARY When you wake your displays (by moving the mouse, pressing the keyboard, etc.) It is detected as a hardware connected event and the System Notification for "Device Plugged In" is triggered. A sound plays. This is an annoyance. I like to hear the sound when I plug in a USB device. But I don't want to hear it every time I wake up my computer. It would be nice if there was a separate notification for displays. Or maybe none at all, since technically you aren't unplugging your display from the computer - the display just went to sleep. STEPS TO REPRODUCE 1. login 2. wait for displays to go to sleep/get powered off 3. move mouse OBSERVED RESULT The "device plugged in" sound plays. In fact maybe even the "device unplugged" sound immediately followed by the "device plugged in" sound. EXPECTED RESULT In my opinion it would be nice if the notification didn't trigger for monitor wake up. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Samsung monitors using DisplayPort on AMD GPU. Here is the udev event when the monitor goes to sleep: KERNEL[9751.310] change /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 (drm) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 SUBSYSTEM=drm HOTPLUG=1 CONNECTOR=107 DEVNAME=/dev/dri/card0 DEVTYPE=drm_minor SEQNUM=5511 MAJOR=226 MINOR=0 UDEV [9751.436] change /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 (drm) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 SUBSYSTEM=drm HOTPLUG=1 CONNECTOR=107 DEVNAME=/dev/dri/card0 DEVTYPE=drm_minor SEQNUM=5511 USEC_INITIALIZED=8909391 ID_PATH=pci-0000:0b:00.0 ID_PATH_TAG=pci-0000_0b_00_0 ID_FOR_SEAT=drm-pci-0000_0b_00_0 MAJOR=226 MINOR=0 DEVLINKS=/dev/dri/by-path/pci-0000:0b:00.0-card TAGS=:seat:uaccess:master-of-seat: CURRENT_TAGS=:seat:uaccess:master-of-seat:
Thanks for the feature request and for the digging you did into the udev events. The developers can weigh in on how much effort it would be to separate out monitor attach events for this.