<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>linux: change external display brightness via software (connected via displayport)</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/807 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="807"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;VESA has the &amp;quot;Display Data Channel&amp;quot; standard to query information from monitor.&lt;/p&gt;
&lt;p&gt;MCCS (Monitor Control Command Set) is the control command specification.&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/807/rev-raw/9f3b74b5f2c0638930063488ebfd88d130327eec/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/807#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.bash .de1, .bash .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.bash  {font-family:monospace;}
.bash .imp {font-weight: bold; color: red;}
.bash li, .bash .li1 {color: #DDD;}
.bash .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.bash .kw1 {color: #000000; font-weight: bold;}
.bash .kw2 {color: #c20cb9; font-weight: bold;}
.bash .kw3 {color: #7a0874; font-weight: bold;}
.bash .co0 {color: #666666; font-style: italic;}
.bash .co1 {color: #800000;}
.bash .co2 {color: #cc0000; font-style: italic;}
.bash .co3 {color: #000000; font-weight: bold;}
.bash .co4 {color: #666666;}
.bash .es1 {color: #000099; font-weight: bold;}
.bash .es2 {color: #007800;}
.bash .es3 {color: #007800;}
.bash .es4 {color: #007800;}
.bash .es5 {color: #780078;}
.bash .es_h {color: #000099; font-weight: bold;}
.bash .br0 {color: #7a0874; font-weight: bold;}
.bash .sy0 {color: #000000; font-weight: bold;}
.bash .st0 {color: #ff0000;}
.bash .st_h {color: #ff0000;}
.bash .nu0 {color: #000000;}
.bash .re0 {color: #007800;}
.bash .re1 {color: #007800;}
.bash .re2 {color: #007800;}
.bash .re4 {color: #007800;}
.bash .re5 {color: #660033;}
.bash span.xtra { display:block; }
&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="bash"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;&lt;span class="co0"&gt;# ddcutil detect&lt;/span&gt;
Display &lt;span class="nu0"&gt;1&lt;/span&gt;
&amp;#160; &amp;#160;I2C bus: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;i2c-&lt;span class="nu0"&gt;1&lt;/span&gt;
&amp;#160; &amp;#160;EDID synopsis:
&amp;#160; &amp;#160; &amp;#160; Mfg id: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; LEN
&amp;#160; &amp;#160; &amp;#160; Model: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;LEN T22i-&lt;span class="nu0"&gt;10&lt;/span&gt;
&amp;#160; &amp;#160; &amp;#160; Serial number: &amp;#160; &amp;#160;V5M56770
&amp;#160; &amp;#160; &amp;#160; Manufacture year: &lt;span class="nu0"&gt;2017&lt;/span&gt;
&amp;#160; &amp;#160; &amp;#160; EDID version: &amp;#160; &amp;#160; &lt;span class="nu0"&gt;1.4&lt;/span&gt;
&amp;#160; &amp;#160;VCP version: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span class="nu0"&gt;2.2&lt;/span&gt;
&amp;#160;
Invalid display
&amp;#160; &amp;#160;I2C bus: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;i2c-&lt;span class="nu0"&gt;4&lt;/span&gt;
&amp;#160; &amp;#160;EDID synopsis:
&amp;#160; &amp;#160; &amp;#160; Mfg id: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; SAM
&amp;#160; &amp;#160; &amp;#160; Model: &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;SyncMaster
&amp;#160; &amp;#160; &amp;#160; Serial number: &amp;#160; &amp;#160;H9MSB25698
&amp;#160; &amp;#160; &amp;#160; Manufacture year: &lt;span class="nu0"&gt;2009&lt;/span&gt;
&amp;#160; &amp;#160; &amp;#160; EDID version: &amp;#160; &amp;#160; &lt;span class="nu0"&gt;1.3&lt;/span&gt;
&amp;#160; &amp;#160;DDC communication failed
&amp;#160;
&amp;#160;
&lt;span class="co0"&gt;# ddcutil --display=1 getvcp 10&lt;/span&gt;
VCP code 0x10 &lt;span class="br0"&gt;&amp;#40;&lt;/span&gt;Brightness &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;span class="br0"&gt;&amp;#41;&lt;/span&gt;: current value = &amp;#160; &lt;span class="nu0"&gt;100&lt;/span&gt;, max value = &amp;#160; &lt;span class="nu0"&gt;100&lt;/span&gt;
&amp;#160;
&lt;span class="co0"&gt;# ddcutil --display=1 setvcp 10 80&lt;/span&gt;
&amp;#160;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/807/rev-raw/9f3b74b5f2c0638930063488ebfd88d130327eec/commands.sh" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/807#commands.sh"&gt;commands.sh&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
