Skip to content

Commit

Permalink
Add support for Samsung S24F354FHU (#184)
Browse files Browse the repository at this point in the history
This commit adds support for Samsung S24F354FHU, including new
controls and values in options.xml used by this monitor:

- Color Settings / Brightness and Contrast / Magic Bright
  + Cinema

- Color Settings / Brightness and Contrast / ECO Mode
  + off

- Color Settings / Modes / Mode
  + mode1
  + mode2
  + mode3

- Others / Restore defaults
  + Restore Factory Default Sharpness

- Others / Game Adjust / Response Time
  + Standard
  + Faster
  + Fastest
  • Loading branch information
gajdusek authored Oct 12, 2021
1 parent 3ec1bfa commit b1f0c52
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
63 changes: 63 additions & 0 deletions db/monitor/SAM0D20.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0"?>
<monitor name="Samsung S24F354FHU" init="standard">
<caps add="(prot(monitor)type(LCD)model(550)mccs_ver(2.0)vcp(04 05 08 10 12 14(03 04 02 07 08 0B) 16 18 1A 60(01 05 06) 87 B0(01 02) B6 C6 C8 C9 D6(01 04) DC(01 02 03 04 05 06 F0 F1 F2 F9 FA FB) DB(00 04 FD FE) DF EB(00 01 09 FD) EC(00 01 02 03 04 06 05) F2 F3(00 01 02) F6 F7(00 02 03) )mswhql(1))" />
<caps add="(vcp(CC))"/> <!-- menu language -->
<caps add="(vcp(06))"/> <!-- restore factory default sharpnes -->
<controls>
<control id="magicbright" type="list" address="0xdc" refresh="all">
<value id="standard" value="1"/>
<value id="cinema" value="2"/>
<value id="custom" value="6"/>
<value id="dynamic" value="240"/>
</control>
<control id="gamma" type="list" address="0xf2">
<value id="mode1" value="0"/>
<value id="mode2" value="1"/>
<value id="mode3" value="2"/>
</control>
<control id="responsetime" type="list" name="Response Time" address="0xf3">
<value id="standard" value="0"/>
<value id="faster" value="1"/>
<value id="fastest" value="2"/>
</control>
<control id="colorpreset" type="list" address="0x14">
<value id="cool2" value="8"/>
<value id="cool1" value="7"/>
<value id="normal" value="2"/>
<value id="warm1" value="4"/>
<value id="warm2" value="3"/>
<value id="custom" value="11"/>
</control>
<control id="ecomode" type="list" name="ECO Mode" address="0xf7" refresh="all">
<value id="off" value="0"/>
<value id="auto" value="4"/>
<value id="low" value="2"/>
<value id="high" value="3"/>
</control>
<control id="language" type="list" address="0xcc">
<!-- <value id="chinese_tw" value="1"/> --> <!-- FIXME: needs verification -->
<value id="english" value="2"/>
<value id="french" value="3"/>
<value id="german" value="4"/>
<value id="italian" value="5"/>
<value id="japanese" value="6"/>
<value id="korean" value="7"/>
<value id="portuguese" value="8"/>
<value id="russian" value="9"/>
<value id="spanish" value="10"/>
<value id="swedish" value="11"/>
<value id="turkish" value="12"/>
<value id="hungarian" value="26"/>
<value id="polish" value="30"/>
</control>

<control id="defaultsharpness" address="0x06" delay="2000"/>

<!-- write only -->
<control id="inputsource" type="list" address="0x60">
<value id="analog" value="1"/>
<value id="digital" value="3"/>
</control>
</controls>
<include file="SAMlcd"/>
</monitor>
11 changes: 11 additions & 0 deletions db/options.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<value id="movie" name="Movie"/>
<value id="standard" name="Standard"/>
<value id="nature" name="Nature"/>
<value id="cinema" name="Cinema"/>
</control>
<control id="dvmode" type="list" name="DV Mode" address="0xf9">
<value id="standard" name="Standard"/>
Expand All @@ -65,6 +66,7 @@
<value id="middle" name="Middle"/>
<value id="low" name="Low"/>
<value id="auto" name="Auto"/>
<value id="off" name="Off"/>
</control>
<control id="fengine" type="list" name="f-Engine">
<value id="photo" name="Photo" />
Expand Down Expand Up @@ -199,6 +201,9 @@
<value id="2.2" name="2.2"/>
<value id="2.4" name="2.4"/>
<value id="2.6" name="2.6"/>
<value id="mode1" name="Mode1"/>
<value id="mode2" name="Mode2"/>
<value id="mode3" name="Mode3"/>
</control>
<control id="gammamode" type="list" name="Gamma" address="0xfe" >
<value id="mode1" name="Mode 1"/>
Expand Down Expand Up @@ -473,6 +478,7 @@
<control id="defaults" type="command" name="Restore Factory Defaults" address="0x04" refresh="all"/>
<control id="defaultluma" type="command" name="Restore Brightness and Contrast" address="0x05" refresh="all"/>
<control id="defaultgeom" type="command" name="Restore Factory Default Geometry" address="0x06" refresh="all"/>
<control id="defaultsharpness" type="command" name="Restore Factory Default Sharpness" address="0x06" refresh="all"/>
<control id="defaultcolor" type="command" name="Restore Factory Default Color" address="0x08" refresh="all"/>
<control id="defaultposition" type="command" name="Restore Factory Default Position" address="0x0A" refresh="all"/>
<control id="defaultsize" type="command" name="Restore Factory Default Size" address="0x0C" refresh="all"/>
Expand Down Expand Up @@ -603,6 +609,11 @@
<value id="high" name="High" value="1"/>
<value id="middle" name="Middle" value="2"/>
<value id="low" name="Low" value="3"/>

<!-- address="0xF3" -->
<value id="standard" name="Standard"/>
<value id="faster" name="Faster"/>
<value id="fastest" name="Fastest"/>
</control>
<control id="blackstabilization" type="value" name="Black Stabilization" address="0xf9" />
</subgroup>
Expand Down

0 comments on commit b1f0c52

Please sign in to comment.