summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Crute <crutem@amazon.com>2019-02-09 17:14:34 -0800
committerMike Crute <crutem@amazon.com>2019-02-09 17:15:05 -0800
commit00e190e15ed346da476613044bdd6e42dac6540f (patch)
tree3668588970e5430f1b7dff0b49d2d768d2ab5e2a /bin
parentd3fdb85f59f0084077b2e83f15505ed4d3d4624d (diff)
downloaddotfiles-00e190e15ed346da476613044bdd6e42dac6540f.tar.bz2
dotfiles-00e190e15ed346da476613044bdd6e42dac6540f.tar.xz
dotfiles-00e190e15ed346da476613044bdd6e42dac6540f.zip
Add md5 for XPS 9380
Diffstat (limited to 'bin')
-rwxr-xr-xbin/enumerate-displays4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/enumerate-displays b/bin/enumerate-displays
index 75ea7ef..996a135 100755
--- a/bin/enumerate-displays
+++ b/bin/enumerate-displays
@@ -11,8 +11,8 @@ for output in /sys/class/drm/card*-*; do
11 edid=$(cat $output/edid | parse-edid 2>&1 | grep Identifier | cut -d '"' -f2) 11 edid=$(cat $output/edid | parse-edid 2>&1 | grep Identifier | cut -d '"' -f2)
12 edid_sum=$(md5sum -b $output/edid | cut -f1 -d' ') 12 edid_sum=$(md5sum -b $output/edid | cut -f1 -d' ')
13 13
14 # The EDID data is not correct on the DELL panel for some reason 14 # The EDID data is corrupt on the Dell XPS panels for some reason
15 if [ "$edid_sum" == "99030a11512deeb0371adf0a6c6a8a06" ]; then 15 if [ "$edid_sum" == "99030a11512deeb0371adf0a6c6a8a06" ] || [ "$edid_sum" == "31a6481b493cdfcd9e50c67290644eed" ]; then
16 edid="DELL_XPS_13" 16 edid="DELL_XPS_13"
17 fi 17 fi
18 18