Codebase list edid-decode / afcf2a2
Add a man page, why not Signed-off-by: Adam Jackson <ajax@redhat.com> Adam Jackson 10 years ago
2 changed file(s) with 46 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 # ZSH OR DIE, PUNKS
11
22 bindir ?= /usr/bin
3 mandir ?= /usr/share/man
34
45 edid-decode: edid-decode.c
56 $(CC) -g -Wall -o $@ $<
1112 install:
1213 mkdir -p $(DESTDIR)$(bindir)
1314 install -m 0755 edid-decode $(DESTDIR)$(bindir)
15 mkdir -p $(DESTDIR)$(mandir)/man1
16 install -m 0644 edid-decode.1 $(DESTDIR)$(mandir)/man1
0 .\" shorthand for double quote that works everywhere.
1 .ds q \N'34'
2 .TH edid-decode 1
3 .SH NAME
4 edid-decode - Decode EDID data in human-readable format
5 .SH SYNOPSIS
6 .B edid-decode [in] [out]
7 .SH DESCRIPTION
8 .B edid-decode
9 decodes EDID monitor description data in human-readable format. It takes
10 zero, one, or two arguments. If invoked with no arguments it reads from
11 standard input and writes to standard output. With one argument, the file
12 named by the argument is read instead. With two arguments, normal output
13 is suppressed, and the binary EDID blob is written to the file named by
14 the second argument.
15 .PP
16 Input files may be raw binaries or ASCII text. ASCII input is scanned for
17 hex dumps; heuristics are included to search for hexdumps in
18 .B xrandr(1)
19 property output and
20 .B Xorg(1)
21 log file formats, otherwise the data is treated as a raw hexdump. EDID blocks
22 for connected monitors can be found in
23 .B /sys/class/drm/*/edid
24 on modern Linux systems with kernel modesetting support.
25 .PP
26 .SH NOTES
27 Not all fields are decoded, or decoded completely. Some fields' decoding
28 may appear to corrupt the output (for example, detailed string sections
29 have their contents printed literally).
30 .B edid-decode
31 does attempt to validate its input against the relevant standards, but its
32 opinions have not been double-checked with the relevant standards bodies,
33 so they may be wrong. Do not rely on the output format, as it will likely
34 change in future versions of the tool as additional fields and extensions are
35 added.
36 .SH "SEE ALSO"
37 Xorg(1), xrandr(1)
38 .SH AUTHORS
39 edid-decode was written by Adam Jackson, with contributions from Eric
40 Anholt, Damien Lespiau, and others. For complete history and the latest
41 version, see
42 .B http://cgit.freedesktop.org/xorg/app/edid-decode/