Skip to content

Commit

Permalink
Dell U3223QE (#203)
Browse files Browse the repository at this point in the history
* Add DELL U3223QE

* Add DELL U2718Q

* U3233QE all id's based on windows driver
  • Loading branch information
Fl0r14n authored Apr 14, 2022
1 parent 731fd57 commit f34fdd7
Show file tree
Hide file tree
Showing 18 changed files with 305 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ Makefile.in
/db/options.xml
/db/options.xml.h

#idea
/.idea

4 changes: 4 additions & 0 deletions db/monitor/DEL426E.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (HDMI PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL426F.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (HDMI PBP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4270.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (HDMI HDR)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4271.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (DP PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4272.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (DP PBP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4273.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (DP HDR)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4274.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (USB-C PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4275.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (USB-C PBP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL4276.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (USB-C HDR)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL427A.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U3223QE (HDMI PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL427B.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (DP PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DEL427C.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE (USB-C PIP)" init="standard">
<include file="U3223QE"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DELA0EA.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U2718 (HDMI)" init="standard">
<include file="U2718Q"/>
</monitor>
4 changes: 4 additions & 0 deletions db/monitor/DELA0EC.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monitor name="Dell U2718 (DP/mDP)" init="standard">
<include file="U2718Q"/>
</monitor>
51 changes: 51 additions & 0 deletions db/monitor/U2718Q.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<monitor name="Dell U2718" init="standard">
<controls>
<control id="colorpreset" type="list" address="0x14">
<value id="10000k" value="0x09"/>
<value id="9300k" value="0x08"/>
<value id="7500k" value="0x06"/>
<value id="6500k" value="0x05"/>
<value id="5700k" value="0x0B"/>
<value id="5000k" value="0x04"/>
<value id="normal" value="0x05"/>
<value id="movie" value="0x0C"/>
</control>

<control id="inputsource" type="list" address="0x60">
<value id="mdp" value="0x10"/>
<value id="dp" value="0x0f"/>
<value id="hdmi" value="0x11"/>
</control>

<!--readonly-->
<control id="osdorientation" address="0xaa">
<value id="landscape" value="1"/>
<value id="portraitleft" value="2"/>
<value id="portraitright" value="4"/>
</control>

<control id="magicbright" type="list" address="0xdc">
<value id="standard" value="0x00"/>
<value id="movie" value="0x03"/>
<value id="game" value="0x05"/>
</control>

<control id="power" type="list" address="0xe1">
<value id="on" value="0"/>
<value id="off" value="1"/>
</control>

<control id="energysaving2" address="0xe0">
<value id="on" value="1"/>
<value id="off" value="0"/>
</control>

<control id="dynamiccontrast" type="list" address="0xf2">
<value id="off" value="0x00"/>
<value id="on" value="0x01"/>
</control>
</controls>

<include file="VESA"/>
</monitor>
110 changes: 110 additions & 0 deletions db/monitor/U3223QE.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0"?>
<monitor name="Dell P3223QE" init="standard">
<controls>
<control id="colorpreset" type="list" address="0x14">
<value id="10000k" value="0x09"/>
<value id="9300k" value="0x08"/>
<value id="7500k" value="0x06"/>
<value id="6500k" value="0x05"/>
<value id="5700k" value="0x0B"/>
<value id="5000k" value="0x04"/>
<value id="normal" value="0x05"/>
<value id="movie" value="0x0C"/>
<value id="custom" value="0x01"/>
</control>

<control id="PbP" type="list" address="0xe9">
<value id="Off" value="0x00"/>
<value id="PbP" value="0x24"/>
<value id="PiP large" value="0x22"/>
<value id="PiP small" value="0x21"/>
</control>

<control id="inputsource" type="list" address="0x60">
<value id="usb-c" value="0x1b"/>
<value id="dp" value="0x0f"/>
<value id="hdmi" value="0x11"/>
</control>

<control id="inputsource_sub1" type="list" address="0xe8">
<value id="usb-c" value="0x1b"/>
<value id="dp" value="0x0f"/>
<value id="hdmi" value="0x11"/>
</control>

<control id="kvm-switch" address="0xe7">
<value id="HDMI:USB-C1_DP:USB-C1_USB-C:USB-C1" value="0x2A"/>
<value id="HDMI:USB-C1_DP:USB-C2_USB-C:USB-C1" value="0x2E"/>
<value id="HDMI:USB-C2_DP:USB-C1_USB-C:USB-C1" value="0x3A"/>
<value id="HDMI:USB-C2_DP:USB-C2_USB-C:USB-C1" value="0x3E"/>
</control>

<control id="osdorientation" address="0xaa">
<value id="landscape" value="1"/>
<value id="portraitleft" value="2"/>
<value id="portraitright" value="4"/>
</control>

<control id="language" type="list" address="0xcc">
<value id="english" value="0x02"/>
<value id="french" value="0x03"/>
<value id="german" value="0x04"/>
<value id="japanese" value="0x06"/>
<value id="brazilian" value="0x08"/>
<value id="russian" value="0x09"/>
<value id="spanish" value="0x0a"/>
<value id="chinese" value="0x0d"/>
</control>

<control id="magicbright" type="list" address="0xdc">
<value id="standard" value="0x00"/>
<value id="movie" value="0x03"/>
<value id="game" value="0x05"/>
</control>

<control id="power" type="list" address="0xe1">
<value id="on" value="0"/>
<value id="off" value="1"/>
</control>

<control id="energysaving2" address="0xe0">
<value id="on" value="1"/>
<value id="off" value="0"/>
</control>

<control id="dellpaper" address="0xf0">
<value id="set" value="0x08"/>
</control>


<!-- 0x0e: +/50/100 [???] -->
<!-- 0x1f: +/1/1 [???]-->
<!-- 0x20: +/50/100 [???]-->
<!-- 0x30: +/50/100 [???]-->
<!-- 0x3e: +/50/100 [???]-->
<!-- 0x52: +/204/255 C [???]-->
<!-- 0x62: +/100/100 [???]-->
<!-- 0xac: +/164/1 C [???]-->
<!-- 0xae: +/3000/65535 C [???]-->
<!-- 0xb2: +/1/1 C [???]-->
<!-- 0xb6: +/3/5 C [???]-->
<!-- 0xc0: +/21/65535 [???]-->
<!-- 0xc6: +/17868/65535 C [???]-->
<!-- 0xc8: +/5897/39 C [???]-->
<!-- 0xc9: +/16641/65535 C [???]-->
<!-- 0xca: +/2/2 C [???]-->
<!-- 0xdf: +/513/65535 C [???]-->
<!-- 0xe2: +/15/255 C [???]-->
<!-- 0xe4: +/0/2 [???]-->
<!-- 0xe5: +/0/255 C [???]-->
<!-- 0xe7: +/62/63 C [???]-->
<!-- 0xea: +/64513/65535 C [???]-->
<!-- 0xeb: +/1/1 [???]-->
<!-- 0xef: +/0/255 C [???]-->
<!-- 0xf1: +/16651/65535 C [???]-->
<!-- 0xf2: +/0/255 C [???]-->
<!-- 0xfd: +/116/255 C [???]-->
</controls>

<include file="VESA"/>
</monitor>
85 changes: 85 additions & 0 deletions db/options.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,91 @@
<value id="PiP large" name="PiP Large"/>
<value id="PiP small" name="PiP Small"/>
</control>
<control id="kvm-switch" type="list" name="KVM switch">
<!-- TODO not the best approach should be some sort of matrix but there is no type for that-->
<value id="HDMI:USB1_DP:USB1_USB-C:USB1" name="HDMI:USB1 DP:USB1 USB-C:USB1" value="0x00"/>
<value id="HDMI:USB1_DP:USB1_USB-C:USB2" name="HDMI:USB1 DP:USB1 USB-C:USB2" value="0x01"/>
<value id="HDMI:USB1_DP:USB1_USB-C:USB-C1" name="HDMI:USB1 DP:USB1 USB-C:USB-C1" value="0x02"/>
<value id="HDMI:USB1_DP:USB1_USB-C:USB-C2" name="HDMI:USB1 DP:USB1 USB-C:USB-C2" value="0x03"/>

<value id="HDMI:USB1_DP:USB2_USB-C:USB1" name="HDMI:USB1 DP:USB2 USB-C:USB1" value="0x04"/>
<value id="HDMI:USB1_DP:USB2_USB-C:USB2" name="HDMI:USB1 DP:USB2 USB-C:USB2" value="0x05"/>
<value id="HDMI:USB1_DP:USB2_USB-C:USB-C1" name="HDMI:USB1 DP:USB2 USB-C:USB-C1" value="0x06"/>
<value id="HDMI:USB1_DP:USB2_USB-C:USB-C2" name="HDMI:USB1 DP:USB2 USB-C:USB-C2" value="0x07"/>

<value id="HDMI:USB1_DP:USB-C1_USB-C:USB1" name="HDMI:USB1 DP:USB-C1 USB-C:USB1" value="0x08"/>
<value id="HDMI:USB1_DP:USB-C1_USB-C:USB2" name="HDMI:USB1 DP:USB-C1 USB-C:USB2" value="0x09"/>
<value id="HDMI:USB1_DP:USB-C1_USB-C:USB-C1" name="HDMI:USB1 DP:USB-C1 USB-C:USB-C1" value="0x0A"/>
<value id="HDMI:USB1_DP:USB-C1_USB-C:USB-C2" name="HDMI:USB1 DP:USB-C1 USB-C:USB-C2" value="0x0B"/>

<value id="HDMI:USB1_DP:USB-C2_USB-C:USB1" name="HDMI:USB1 DP:USB-C2 USB-C:USB1" value="0x0C"/>
<value id="HDMI:USB1_DP:USB-C2_USB-C:USB2" name="HDMI:USB1 DP:USB-C2 USB-C:USB2" value="0x0D"/>
<value id="HDMI:USB1_DP:USB-C2_USB-C:USB-C1" name="HDMI:USB1 DP:USB-C2 USB-C:USB-C1" value="0x0E"/>
<value id="HDMI:USB1_DP:USB-C2_USB-C:USB-C2" name="HDMI:USB1 DP:USB-C2 USB-C:USB-C2" value="0x0F"/>


<value id="HDMI:USB2_DP:USB1_USB-C:USB1" name="HDMI:USB2 DP:USB1 USB-C:USB1" value="0x10"/>
<value id="HDMI:USB2_DP:USB1_USB-C:USB2" name="HDMI:USB2 DP:USB1 USB-C:USB2" value="0x11"/>
<value id="HDMI:USB2_DP:USB1_USB-C:USB-C1" name="HDMI:USB2 DP:USB1 USB-C:USB-C1" value="0x12"/>
<value id="HDMI:USB2_DP:USB1_USB-C:USB-C2" name="HDMI:USB2 DP:USB1 USB-C:USB-C2" value="0x13"/>

<value id="HDMI:USB2_DP:USB2_USB-C:USB1" name="HDMI:USB2 DP:USB2 USB-C:USB1" value="0x14"/>
<value id="HDMI:USB2_DP:USB2_USB-C:USB2" name="HDMI:USB2 DP:USB2 USB-C:USB2" value="0x15"/>
<value id="HDMI:USB2_DP:USB2_USB-C:USB-C1" name="HDMI:USB2 DP:USB2 USB-C:USB-C1" value="0x16"/>
<value id="HDMI:USB2_DP:USB2_USB-C:USB-C2" name="HDMI:USB2 DP:USB2 USB-C:USB-C2" value="0x17"/>

<value id="HDMI:USB2_DP:USB-C1_USB-C:USB1" name="HDMI:USB2 DP:USB-C1 USB-C:USB1" value="0x18"/>
<value id="HDMI:USB2_DP:USB-C1_USB-C:USB2" name="HDMI:USB2 DP:USB-C1 USB-C:USB2" value="0x19"/>
<value id="HDMI:USB2_DP:USB-C1_USB-C:USB-C1" name="HDMI:USB2 DP:USB-C1 USB-C:USB-C1" value="0x1A"/>
<value id="HDMI:USB2_DP:USB-C1_USB-C:USB-C2" name="HDMI:USB2 DP:USB-C1 USB-C:USB-C2" value="0x1B"/>

<value id="HDMI:USB2_DP:USB-C2_USB-C:USB1" name="HDMI:USB2 DP:USB-C2 USB-C:USB1" value="0x1C"/>
<value id="HDMI:USB2_DP:USB-C2_USB-C:USB2" name="HDMI:USB2 DP:USB-C2 USB-C:USB2" value="0x1D"/>
<value id="HDMI:USB2_DP:USB-C2_USB-C:USB-C1" name="HDMI:USB2 DP:USB-C2 USB-C:USB-C1" value="0x1E"/>
<value id="HDMI:USB2_DP:USB-C2_USB-C:USB-C2" name="HDMI:USB2 DP:USB-C2 USB-C:USB-C2" value="0x1F"/>


<value id="HDMI:USB-C1_DP:USB1_USB-C:USB1" name="HDMI:USB-C1 DP:USB1 USB-C:USB1" value="0x20"/>
<value id="HDMI:USB-C1_DP:USB1_USB-C:USB2" name="HDMI:USB-C1 DP:USB1 USB-C:USB2" value="0x21"/>
<value id="HDMI:USB-C1_DP:USB1_USB-C:USB-C1" name="HDMI:USB-C1 DP:USB1 USB-C:USB-C1" value="0x22"/>
<value id="HDMI:USB-C1_DP:USB1_USB-C:USB-C2" name="HDMI:USB-C1 DP:USB1 USB-C:USB-C2" value="0x23"/>

<value id="HDMI:USB-C1_DP:USB2_USB-C:USB1" name="HDMI:USB-C1 DP:USB2 USB-C:USB1" value="0x24"/>
<value id="HDMI:USB-C1_DP:USB2_USB-C:USB2" name="HDMI:USB-C1 DP:USB2 USB-C:USB2" value="0x25"/>
<value id="HDMI:USB-C1_DP:USB2_USB-C:USB-C1" name="HDMI:USB-C1 DP:USB2 USB-C:USB-C1" value="0x26"/>
<value id="HDMI:USB-C1_DP:USB2_USB-C:USB-C2" name="HDMI:USB-C1 DP:USB2 USB-C:USB-C2" value="0x27"/>

<value id="HDMI:USB-C1_DP:USB-C1_USB-C:USB1" name="HDMI:USB-C1 DP:USB-C1 USB-C:USB1" value="0x28"/>
<value id="HDMI:USB-C1_DP:USB-C1_USB-C:USB2" name="HDMI:USB-C1 DP:USB-C1 USB-C:USB2" value="0x29"/>
<value id="HDMI:USB-C1_DP:USB-C1_USB-C:USB-C1" name="HDMI:USB-C1 DP:USB-C1 USB-C:USB-C1" value="0x2A"/>
<value id="HDMI:USB-C1_DP:USB-C1_USB-C:USB-C2" name="HDMI:USB-C1 DP:USB-C1 USB-C:USB-C2" value="0x2B"/>

<value id="HDMI:USB-C1_DP:USB-C2_USB-C:USB1" name="HDMI:USB-C1 DP:USB-C2 USB-C:USB1" value="0x2C"/>
<value id="HDMI:USB-C1_DP:USB-C2_USB-C:USB2" name="HDMI:USB-C1 DP:USB-C2 USB-C:USB2" value="0x2D"/>
<value id="HDMI:USB-C1_DP:USB-C2_USB-C:USB-C1" name="HDMI:USB-C1 DP:USB-C2 USB-C:USB-C1" value="0x2E"/>
<value id="HDMI:USB-C1_DP:USB-C2_USB-C:USB-C2" name="HDMI:USB-C1 DP:USB-C2 USB-C:USB-C2" value="0x2F"/>


<value id="HDMI:USB-C2_DP:USB1_USB-C:USB1" name="HDMI:USB-C2 DP:USB1 USB-C:USB1" value="0x30"/>
<value id="HDMI:USB-C2_DP:USB1_USB-C:USB2" name="HDMI:USB-C2 DP:USB1 USB-C:USB2" value="0x31"/>
<value id="HDMI:USB-C2_DP:USB1_USB-C:USB-C1" name="HDMI:USB-C2 DP:USB1 USB-C:USB-C1" value="0x32"/>
<value id="HDMI:USB-C2_DP:USB1_USB-C:USB-C2" name="HDMI:USB-C2 DP:USB1 USB-C:USB-C2" value="0x33"/>

<value id="HDMI:USB-C2_DP:USB2_USB-C:USB1" name="HDMI:USB-C2 DP:USB2 USB-C:USB1" value="0x34"/>
<value id="HDMI:USB-C2_DP:USB2_USB-C:USB2" name="HDMI:USB-C2 DP:USB2 USB-C:USB2" value="0x35"/>
<value id="HDMI:USB-C2_DP:USB2_USB-C:USB-C1" name="HDMI:USB-C2 DP:USB2 USB-C:USB-C1" value="0x36"/>
<value id="HDMI:USB-C2_DP:USB2_USB-C:USB-C2" name="HDMI:USB-C2 DP:USB2 USB-C:USB-C2" value="0x37"/>

<value id="HDMI:USB-C2_DP:USB-C1_USB-C:USB1" name="HDMI:USB-C2 DP:USB-C1 USB-C:USB1" value="0x38"/>
<value id="HDMI:USB-C2_DP:USB-C1_USB-C:USB2" name="HDMI:USB-C2 DP:USB-C1 USB-C:USB2" value="0x39"/>
<value id="HDMI:USB-C2_DP:USB-C1_USB-C:USB-C1" name="HDMI:USB-C2 DP:USB-C1 USB-C:USB-C1" value="0x3A"/>
<value id="HDMI:USB-C2_DP:USB-C1_USB-C:USB-C2" name="HDMI:USB-C2 DP:USB-C1 USB-C:USB-C2" value="0x3B"/>

<value id="HDMI:USB-C2_DP:USB-C2_USB-C:USB1" name="HDMI:USB-C2 DP:USB-C2 USB-C:USB1" value="0x3C"/>
<value id="HDMI:USB-C2_DP:USB-C2_USB-C:USB2" name="HDMI:USB-C2 DP:USB-C2 USB-C:USB2" value="0x3D"/>
<value id="HDMI:USB-C2_DP:USB-C2_USB-C:USB-C1" name="HDMI:USB-C2 DP:USB-C2 USB-C:USB-C1" value="0x3E"/>
<value id="HDMI:USB-C2_DP:USB-C2_USB-C:USB-C2" name="HDMI:USB-C2 DP:USB-C2 USB-C:USB-C2" value="0x3F"/>
</control>
</subgroup>
<subgroup name="Input sources">
<control id="inputlevel" type="list" name="Input level Select" address="0x5E">
Expand Down

0 comments on commit f34fdd7

Please sign in to comment.