0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.189.192.214


Current Path : /snap/core18/current/lib/udev/rules.d/
Upload File :
Current File : //snap/core18/current/lib/udev/rules.d/78-graphics-card.rules

# do not edit this file, it will be overwritten on update

ACTION!="add", GOTO="graphics_end"

# Tag the drm device for KMS-supporting drivers as the primary device for
# the display; for non-KMS drivers tag the framebuffer device instead.

SUBSYSTEM!="drm", GOTO="drm_end"
KERNEL!="card[0-9]*", GOTO="drm_end"
ENV{DEVTYPE}!="drm_minor", GOTO="drm_end"

DRIVERS=="i915", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
DRIVERS=="radeon", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
DRIVERS=="nouveau", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
DRIVERS=="vmwgfx", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"

LABEL="drm_end"

SUBSYSTEM!="graphics", GOTO="graphics_end"

DRIVERS=="i915", GOTO="graphics_end"
DRIVERS=="radeon", GOTO="graphics_end"
DRIVERS=="nouveau", GOTO="graphics_end"
DRIVERS=="efifb", GOTO="graphics_end"
DRIVERS=="efi-framebuffer", GOTO="graphics_end"
DRIVERS=="vesa-framebuffer", GOTO="graphics_end"

KERNEL=="fb[0-9]*", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"

LABEL="graphics_end"