Add option to configure monitor by EDID
Submitted by Roman V. Nikolaev
Assigned to Keith Packard @keithp
Description
To date xrandr could only manage outputs. But I would like to control the monitor rather than outputs. Please make the option --monitor that using EDID to bind to the outputs and configuration.
Example:
xrandr --monitor "Color LCD" --auto --primary
, where --monitor is Identifier
from Section "Monitor"
Second example:
xrandr --vendor "APP" --model "Color LCD" --auto --primary
, where --vendor this vendor ID of EDID and --model is the model number of the EDID
To get edid:
parse-edid < /sys/class/drm/card1-eDP-1/edid
Checksum Correct
Section "Monitor" Identifier "Color LCD" ModelName "Color LCD" VendorName "APP" # Monitor Manufactured week 16 of 2011 # EDID version 1.4 # Digital Display DisplaySize 330 210 Gamma 2.20 Option "DPMS" "false" Modeline "Mode 0" +hsync -vsync EndSection