Open bp0 opened 5 years ago
edid-decode /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/edid
or
edid-decode /sys/class/drm/card0-LVDS-1/edid
?
Which is most reliable way?
The second one is a symlink to the first, for convenience. Only those in the /sys/devices tree are real, but places like /sys/class/drm can be used to get flat lists of devices in the tree. In the future, a unified /sys/subsystem/... is to replace class, bus, block from /sys, as I understand it, but those will continue to exist for a long time.
On Wed, Feb 19, 2020, 1:14 AM Linux Hardware Project < notifications@github.com> wrote:
edid-decode /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/edid
or
edid-decode /sys/class/drm/card0-LVDS-1/edid ?
Which is most reliable way?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/timvideos/edid.tv/issues/43?email_source=notifications&email_token=AANNHCXEVJBNVQVFWEBM4F3RDTL4XA5CNFSM4IPHHX7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMGT25I#issuecomment-588070261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANNHCU37RNADIKIBX3QQV3RDTL4XANCNFSM4IPHHX7A .
xrandr
requires X, so it can't be used to get EDID from an X-less machine. Also, the EDID may be from a remote machine ifssh -X
.