Added version stamping helper script
Changed EDID to ASUS VG27AQL1A (S/N: M9LMQS072350)
This commit is contained in:
parent
41027ae98f
commit
f0f91e6c7d
@ -393,93 +393,28 @@ NTSTATUS QxlDod::QueryChildStatus(_Inout_ DXGK_CHILD_STATUS* pChildStatus,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* edid-decode:
|
/*
|
||||||
Extracted contents:
|
* ASUSTek COMPUTER INC
|
||||||
header: 00 ff ff ff ff ff ff 00
|
* VG27AQL1A (S/N: M9LMQS072350)
|
||||||
serial number: 47 0c 01 00 41 fa 38 78 01 1b
|
|
||||||
version: 01 04
|
|
||||||
basic params: 6a 22 1b 78 ea
|
|
||||||
chroma info: 32 31 a3 57 4c 9d 25 11 50 54
|
|
||||||
established: 04 43 00
|
|
||||||
standard: 31 4f 45 4f 61 4f 81 4f 01 01 01 01 01 01 01 01
|
|
||||||
descriptor 1: ba 2c 00 a0 50 00 25 40 30 20 37 00 54 0e 11 00 00 1e
|
|
||||||
descriptor 2: 00 00 00 fd 00 38 50 1e 53 0f 00 00 00 00 00 00 00 00
|
|
||||||
descriptor 3: 00 00 00 fc 00 51 58 4c 30 30 30 31 0a 20 20 20 20 20
|
|
||||||
descriptor 4: 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
||||||
extensions: 01
|
|
||||||
checksum: d5
|
|
||||||
|
|
||||||
Manufacturer: QXL Model 1 Serial Number 2017000001
|
|
||||||
Made week 1 of 2017
|
|
||||||
EDID version: 1.4
|
|
||||||
Analog display, Input voltage level: 0.7/0.7 V
|
|
||||||
Blank level equals black level
|
|
||||||
Sync: Separate SyncOnGreen
|
|
||||||
Maximum image size: 34 cm x 27 cm
|
|
||||||
Gamma: 2.20
|
|
||||||
DPMS levels: Standby Suspend Off
|
|
||||||
RGB color display
|
|
||||||
First detailed timing is preferred timing
|
|
||||||
Established timings supported:
|
|
||||||
640x480@75Hz
|
|
||||||
800x600@75Hz
|
|
||||||
1024x768@75Hz
|
|
||||||
1280x1024@75Hz
|
|
||||||
Standard timings supported:
|
|
||||||
640x480@75Hz
|
|
||||||
800x600@75Hz
|
|
||||||
1024x768@75Hz
|
|
||||||
1280x960@75Hz
|
|
||||||
Detailed mode: Clock 114.500 MHz, 340 mm x 270 mm
|
|
||||||
1280 1328 1360 1440 hborder 0
|
|
||||||
1024 1027 1034 1061 vborder 0
|
|
||||||
+hsync +vsync
|
|
||||||
Monitor ranges: 56-80HZ vertical, 30-83kHz horizontal, max dotclock 150MHz
|
|
||||||
Monitor name: QXL0001
|
|
||||||
Dummy block
|
|
||||||
Has 1 extension blocks
|
|
||||||
Checksum: 0xd5
|
|
||||||
|
|
||||||
CEA extension block
|
|
||||||
Extension version: 3
|
|
||||||
0 bytes of CEA data
|
|
||||||
0 native detailed modes
|
|
||||||
Checksum: 0xf7
|
|
||||||
*/
|
*/
|
||||||
static const UCHAR edid[256] =
|
static const UCHAR edid[] =
|
||||||
{
|
{
|
||||||
0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,
|
0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x06, 0xB3, 0x05, 0x27, 0x01, 0x01, 0x01, 0x01,
|
||||||
0x47,0x0C,0x01,0x00,0x41,0xFA,0x38,0x78,
|
0x26, 0x1F, 0x01, 0x04, 0xB5, 0x3C, 0x22, 0x78, 0x3B, 0x93, 0x25, 0xAD, 0x4F, 0x44, 0xA9, 0x26,
|
||||||
0x01,0x1B,0x01,0x04,0x6A,0x22,0x1B,0x78,
|
0x0D, 0x50, 0x54, 0xBF, 0xEF, 0x00, 0x71, 0x4F, 0x81, 0x80, 0x95, 0x00, 0xD1, 0xC0, 0x01, 0x01,
|
||||||
0xEA,0x32,0x31,0xA3,0x57,0x4C,0x9D,0x25,
|
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x99, 0xFC, 0x00, 0x6A, 0xA0, 0xA0, 0x1E, 0x50, 0x08, 0x20,
|
||||||
0x11,0x50,0x54,0x04,0x43,0x00,0x31,0x4F,
|
0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x30, 0xA5, 0xF9,
|
||||||
0x45,0x4F,0x61,0x4F,0x81,0x4F,0x01,0x01,
|
0xF9, 0x42, 0x01, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x56,
|
||||||
0x01,0x01,0x01,0x01,0x01,0x01,0xBA,0x2C,
|
0x47, 0x32, 0x37, 0x41, 0x51, 0x4C, 0x31, 0x41, 0x0A, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFF,
|
||||||
0x00,0xA0,0x50,0x00,0x25,0x40,0x30,0x20,
|
0x00, 0x4D, 0x39, 0x4C, 0x4D, 0x51, 0x53, 0x30, 0x37, 0x32, 0x33, 0x35, 0x30, 0x0A, 0x01, 0x83,
|
||||||
0x37,0x00,0x54,0x0E,0x11,0x00,0x00,0x1E,
|
0x02, 0x03, 0x27, 0xF1, 0x4C, 0x90, 0x11, 0x12, 0x13, 0x04, 0x0E, 0x0F, 0x1D, 0x1E, 0x1F, 0x40,
|
||||||
0x00,0x00,0x00,0xFD,0x00,0x38,0x50,0x1E,
|
0x3F, 0x23, 0x09, 0x07, 0x07, 0x83, 0x01, 0x00, 0x00, 0xE3, 0x05, 0xE0, 0x01, 0xE6, 0x06, 0x07,
|
||||||
0x53,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,
|
0x01, 0x73, 0x73, 0x00, 0xE2, 0x00, 0x6A, 0x56, 0x5E, 0x00, 0xA0, 0xA0, 0xA0, 0x29, 0x50, 0x30,
|
||||||
0x00,0x00,0x00,0x00,0x00,0xFC,0x00,0x51,
|
0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1C, 0x9E, 0xE8, 0x00, 0x78, 0xA0, 0xA0, 0x67,
|
||||||
0x58,0x4C,0x30,0x30,0x30,0x31,0x0A,0x20,
|
0x50, 0x08, 0x20, 0x98, 0x04, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x6F, 0xC2, 0x00, 0xA0, 0xA0,
|
||||||
0x20,0x20,0x20,0x20,0x00,0x00,0x00,0x10,
|
0xA0, 0x55, 0x50, 0x30, 0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x5A, 0xA0, 0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
0xA0, 0xA0, 0xA0, 0x46, 0x50, 0x30, 0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xD5,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2D
|
||||||
0x02,0x03,0x04,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF7,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// EDID retrieval
|
// EDID retrieval
|
||||||
|
@ -11,7 +11,7 @@ Signature="$Windows NT$"
|
|||||||
Class=Display
|
Class=Display
|
||||||
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
|
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
|
||||||
Provider=%RHEL%
|
Provider=%RHEL%
|
||||||
DriverVer= 03/15/2015, 1.01.01.0001
|
DriverVer=
|
||||||
CatalogFile=qxldod.cat
|
CatalogFile=qxldod.cat
|
||||||
PnpLockdown=1
|
PnpLockdown=1
|
||||||
|
|
||||||
|
23
versionstamp.cmd
Normal file
23
versionstamp.cmd
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
@echo off
|
||||||
|
@setlocal
|
||||||
|
|
||||||
|
set MYDIR=%~dp0
|
||||||
|
pushd "%MYDIR%"
|
||||||
|
|
||||||
|
if "%1"=="" (
|
||||||
|
echo Error: missing version value argument.
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
where vpatch >nul 2>&1
|
||||||
|
|
||||||
|
if errorlevel 1 (
|
||||||
|
echo Error: vpatch command not found.
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
vpatch --stamp-version "%1" --target-file ".\qxldod\qxldod.rc" --resource.file-version --resource.product-version
|
||||||
|
vpatch --stamp-version "%1" --target-file ".\qxldod\qxldod.vcxproj" --vcxproj.inf-time-stamp
|
||||||
|
|
||||||
|
popd
|
||||||
|
endlocal
|
Loading…
Reference in New Issue
Block a user