From 0bc2edbd01be07bdee09d6d306cfaee29a61c009 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 31 Jul 2019 18:52:15 +0200 Subject: [PATCH] ScreenMode: add some manufacturers Taken from http://edid.tv/manufacturer/ Mostly so my laptop properly identifies as Seiko Epson. Change-Id: Ie04cb6593e87f3509a7158948d5ae85b10148fcb Reviewed-on: https://review.haiku-os.org/c/1668 Reviewed-by: waddlesplash --- src/preferences/screen/ScreenMode.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/preferences/screen/ScreenMode.cpp b/src/preferences/screen/ScreenMode.cpp index 545b63175b..a495535d89 100644 --- a/src/preferences/screen/ScreenMode.cpp +++ b/src/preferences/screen/ScreenMode.cpp @@ -377,6 +377,9 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches) | (info.vendor[2] << 8) | (info.vendor[3]); switch (id) { + case 'ACI\0': + strcpy(info.vendor, "Ancor Communications"); + break; case 'ADI\0': strcpy(info.vendor, "ADI MicroScan"); break; @@ -397,6 +400,8 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches) case 'BNQ\0': strcpy(info.vendor, "BenQ"); break; + case 'CMN\0': + strcpy(info.vendor, "Chimei Innolux"); case 'CPL\0': strcpy(info.vendor, "ALFA"); break; @@ -514,6 +519,9 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches) case 'SDI\0': strcpy(info.vendor, "Samtron"); break; + case 'SEC\0': + strcpy(info.vendor, "Seiko Epson"); + break; case 'SHP\0': strcpy(info.vendor, "Sharp"); break; @@ -539,9 +547,15 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches) case 'TSB\0': strcpy(info.vendor, "Toshiba"); break; + case 'UNK\0': + strcpy(info.vendor, "(unknown)"); + break; case 'UNM\0': strcpy(info.vendor, "Unisys"); break; + case 'VES\0': + strcpy(info.vendor, "Vestel"); + break; case 'VIZ\0': strcpy(info.vendor, "Vizio"); break;