aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-02-07 13:00:52 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-02-07 13:00:52 +0100
commit149103a8cd05675b537264b6be9f18f595fde550 (patch)
tree452130f09d87e4abc92189999d982014bb12dec4 /test
parent072f9867fa03557be027f26c004ef671ca46d948 (diff)
edid-decode: add more test EDIDs
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'test')
-rw-r--r--test/README13
-rw-r--r--test/cta-annex-a.test17
-rw-r--r--test/cta-annex-d.test17
-rw-r--r--test/vesa-edid-1.1.test8
-rw-r--r--test/vesa-edid-1.3.test9
-rw-r--r--test/vesa-edid-1.4-1.test8
-rw-r--r--test/vesa-edid-1.4-2.test17
-rw-r--r--test/vesa-edid-1.4-3.test17
8 files changed, 106 insertions, 0 deletions
diff --git a/test/README b/test/README
index c298ae1..806d0c7 100644
--- a/test/README
+++ b/test/README
@@ -9,6 +9,7 @@ xorg.test: an EDID as logged by xorg in /var/log/Xorg.0.log.
xrandr.test: an EDID as reported by 'xrandr --props'.
+
Two hand-crafted EDIDs to test rarely seen EDID extensions or data blocks:
cta-vesa.test: has VESA Display Transfer Characteristics Data Block and
@@ -16,6 +17,18 @@ cta-vesa.test: has VESA Display Transfer Characteristics Data Block and
ls-ext.test: has a Localized String Extension Block.
+
Examples of old EDID versions:
edid-1.X.test: EDIDs with version 1.0, 1.1 and 1.2.
+
+
+Test EDIDs from several standards:
+
+cta-annex-a.test
+cta-annex-d.test
+vesa-edid-1.1.test
+vesa-edid-1.3.test
+vesa-edid-1.4-1.test
+vesa-edid-1.4-2.test
+vesa-edid-1.4-3.test
diff --git a/test/cta-annex-a.test b/test/cta-annex-a.test
new file mode 100644
index 0000000..4159c54
--- /dev/null
+++ b/test/cta-annex-a.test
@@ -0,0 +1,17 @@
+00 ff ff ff ff ff ff 00 0c a1 00 00 00 00 00 00
+00 0c 01 03 80 50 2d 78 0a 0d c9 a0 57 47 98 27
+12 48 4c 20 00 00 01 01 01 01 01 01 01 01 01 01
+01 01 01 01 01 01 01 1d 80 18 71 1c 16 20 58 2c
+25 00 20 c2 31 00 00 9e 8c 0a d0 8a 20 e0 2d 10
+10 3e 96 00 58 c2 21 00 00 18 00 00 00 fc 00 4d
+59 20 48 44 54 56 0a 20 20 20 20 20 00 00 00 fd
+00 3b 3d 0f 2e 08 00 0a 20 20 20 20 20 20 01 c3
+
+02 01 04 00 01 1d 00 72 51 d0 1e 20 6e 28 55 00
+20 c2 31 00 00 1e 8c 0a a0 14 51 f0 16 00 26 7c
+43 00 58 c2 21 00 00 98 00 00 00 01 00 52 45 56
+31 2e 30 30 0a 00 00 00 00 00 00 00 00 ff 00 39
+39 46 43 35 30 30 30 31 0a 20 20 20 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 84
diff --git a/test/cta-annex-d.test b/test/cta-annex-d.test
new file mode 100644
index 0000000..e517bda
--- /dev/null
+++ b/test/cta-annex-d.test
@@ -0,0 +1,17 @@
+00 ff ff ff ff ff ff 00 0c a1 00 00 00 00 00 00
+00 0f 01 03 80 50 2d 78 0a 0d c9 a0 57 47 98 27
+12 48 4c 20 00 00 01 01 01 01 01 01 01 01 01 01
+01 01 01 01 01 01 01 1d 80 18 71 1c 16 20 58 2c
+25 00 20 c2 31 00 00 9e 8c 0a d0 8a 20 e0 2d 10
+10 3e 96 00 58 c2 21 00 00 18 00 00 00 fc 00 4d
+59 20 48 44 54 56 0a 20 20 20 20 20 00 00 00 fd
+00 3b 3d 0f 2e 08 00 0a 20 20 20 20 20 20 01 c0
+
+02 03 1a 71 47 85 02 03 04 06 07 01 23 09 07 07
+83 01 00 00 65 03 0c 00 10 00 01 1d 00 72 51 d0
+1e 20 6e 28 55 00 20 c2 31 00 00 1e 8c 0a a0 14
+51 f0 16 00 26 7c 43 00 58 c2 21 00 00 98 8c 0a
+d0 8a 20 e0 2d 10 10 3e 96 00 20 c2 31 00 00 18
+8c 0a a0 14 51 f0 16 00 26 7c 43 00 20 c2 31 00
+00 98 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7a
diff --git a/test/vesa-edid-1.1.test b/test/vesa-edid-1.1.test
new file mode 100644
index 0000000..f90109d
--- /dev/null
+++ b/test/vesa-edid-1.1.test
@@ -0,0 +1,8 @@
+00 ff ff ff ff ff ff 00 24 4d 8e 19 00 00 00 00
+0a 05 01 01 08 28 1e b4 c8 00 b2 a0 57 49 9b 26
+10 48 4f a4 cf 7c 31 4a a9 40 a9 4a a9 4f 81 80
+01 01 01 01 01 01 10 0b d0 b4 20 5e 63 10 12 6c
+62 08 fa b8 00 00 00 1a 00 00 00 ff 00 33 30 39
+41 42 43 30 30 30 32 35 0a 20 00 00 00 fe 00 54
+48 49 53 20 49 53 20 41 0a 20 20 20 00 00 00 fe
+00 54 45 53 54 2c 20 54 48 45 20 45 4e 44 00 8f
diff --git a/test/vesa-edid-1.3.test b/test/vesa-edid-1.3.test
new file mode 100644
index 0000000..c114dbb
--- /dev/null
+++ b/test/vesa-edid-1.3.test
@@ -0,0 +1,9 @@
+00 ff ff ff ff ff ff 00 10 ac ab 50 00 00 00 00
+2a 09 01 03 0e 26 1d 96 ef ee 91 a3 54 4c 99 26
+0f 50 54 a5 43 00 a9 4f a9 59 71 59 61 59 45 59
+31 59 c2 8f 01 01 86 3d 00 c0 51 00 30 40 40 a0
+13 00 7c 22 11 00 00 1e 00 00 00 ff 00 35 35 33
+34 37 42 4f 4e 5a 48 34 37 0a 00 00 00 fc 00 44
+45 4c 4c 20 55 52 31 31 31 0a 20 20 00 00 00 fd
+00 30 a0 1e 79 1c 02 00 28 50 10 0e 80 46 00 8d
+
diff --git a/test/vesa-edid-1.4-1.test b/test/vesa-edid-1.4-1.test
new file mode 100644
index 0000000..e30915f
--- /dev/null
+++ b/test/vesa-edid-1.4-1.test
@@ -0,0 +1,8 @@
+00 ff ff ff ff ff ff 00 04 43 06 f2 01 00 00 00
+01 11 01 04 0f 2b 20 78 2b 9c 68 a0 57 4a 9b 26
+12 48 4c ff ff 80 a9 59 a9 4f a9 4a a9 45 81 99
+81 80 61 59 45 59 48 3f 40 30 62 b0 32 40 40 c0
+13 00 ab 40 11 00 00 1e 00 00 00 fd 00 32 5a 1e
+6e 17 04 11 00 c8 90 00 50 3c 00 00 00 f7 00 0a
+f7 0f 03 87 c0 00 00 00 00 00 00 00 00 00 00 fc
+00 41 42 43 20 4c 43 44 32 31 0a 20 20 20 00 9a
diff --git a/test/vesa-edid-1.4-2.test b/test/vesa-edid-1.4-2.test
new file mode 100644
index 0000000..b4b7d36
--- /dev/null
+++ b/test/vesa-edid-1.4-2.test
@@ -0,0 +1,17 @@
+00 ff ff ff ff ff ff 00 04 43 07 f2 01 00 00 00
+ff 11 01 04 a2 4f 00 78 1e ee 91 a3 54 4c 99 26
+0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01
+01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
+04 05 0f 48 42 00 00 1e 01 1d 80 18 71 1c 16 20
+58 2c 25 00 0f 48 42 00 00 9e 01 1d 00 72 51 d0
+1e 20 6e 28 55 00 0f 48 42 00 00 1e 00 00 00 fc
+00 41 42 43 20 4c 43 44 34 37 77 0a 20 20 01 cb
+
+02 03 1a 72 47 90 85 04 03 02 07 06 23 09 07 07
+83 01 00 00 65 03 0c 00 10 00 8e 0a d0 8a 20 e0
+2d 10 10 3e 96 00 1f 09 00 00 00 18 8e 0a d0 8a
+20 e0 2d 10 10 3e 96 00 04 03 00 00 00 18 8e 0a
+a0 14 51 f0 16 00 26 7c 43 00 1f 09 00 00 00 98
+8e 0a a0 14 51 f0 16 00 26 7c 43 00 04 03 00 00
+00 98 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c7
diff --git a/test/vesa-edid-1.4-3.test b/test/vesa-edid-1.4-3.test
new file mode 100644
index 0000000..4c813ba
--- /dev/null
+++ b/test/vesa-edid-1.4-3.test
@@ -0,0 +1,17 @@
+00 ff ff ff ff ff ff 00 04 43 08 f2 01 00 00 00
+10 11 01 04 a2 79 44 78 1e ee 91 a3 54 4c 99 26
+0f 50 54 ff ef 80 81 99 81 80 81 59 81 40 61 59
+4b c0 45 59 31 59 66 21 50 b0 51 00 1b 30 40 70
+36 00 be ab 42 00 00 1e 01 1d 00 72 51 d0 1e 20
+6e 28 55 00 be ab 42 00 00 1e 00 00 00 f7 00 0a
+f7 0f 03 87 c0 00 00 00 00 00 00 00 00 00 00 fc
+00 41 42 43 20 50 4c 41 35 35 0a 20 20 20 01 0a
+
+02 03 19 f0 46 05 04 03 02 07 06 23 09 07 07 83
+01 00 00 65 03 0c 00 10 00 01 1d 80 18 71 1c 16
+20 58 2c 25 00 0f 48 42 00 00 9e 01 1d 00 72 51
+d0 1e 20 6e 28 55 00 0f 48 42 00 00 1e 8c 0a d0
+8a 20 e0 2d 10 10 3e 96 00 b9 88 21 00 00 18 8e
+0a a0 14 51 f0 16 00 26 7c 43 00 b9 88 21 00 00
+98 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 58

Privacy Policy