{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"linux: change external display brightness via software (connected via displayport)","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/807 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"807\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>VESA has the &quot;Display Data Channel&quot; standard to query information from monitor.<\/p>\n<p>MCCS (Monitor Control Command Set) is the control command specification.<\/p>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/807\/rev-raw\/9f3b74b5f2c0638930063488ebfd88d130327eec\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/807#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <style type=\"text\/css\">\/**\n * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann\n * (http:\/\/qbnz.com\/highlighter\/ and http:\/\/geshi.org\/)\n *\/\n.bash .de1, .bash .de2 {font: normal normal 1em\/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}\n.bash  {font-family:monospace;}\n.bash .imp {font-weight: bold; color: red;}\n.bash li, .bash .li1 {color: #DDD;}\n.bash .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}\n.bash .kw1 {color: #000000; font-weight: bold;}\n.bash .kw2 {color: #c20cb9; font-weight: bold;}\n.bash .kw3 {color: #7a0874; font-weight: bold;}\n.bash .co0 {color: #666666; font-style: italic;}\n.bash .co1 {color: #800000;}\n.bash .co2 {color: #cc0000; font-style: italic;}\n.bash .co3 {color: #000000; font-weight: bold;}\n.bash .co4 {color: #666666;}\n.bash .es1 {color: #000099; font-weight: bold;}\n.bash .es2 {color: #007800;}\n.bash .es3 {color: #007800;}\n.bash .es4 {color: #007800;}\n.bash .es5 {color: #780078;}\n.bash .es_h {color: #000099; font-weight: bold;}\n.bash .br0 {color: #7a0874; font-weight: bold;}\n.bash .sy0 {color: #000000; font-weight: bold;}\n.bash .st0 {color: #ff0000;}\n.bash .st_h {color: #ff0000;}\n.bash .nu0 {color: #000000;}\n.bash .re0 {color: #007800;}\n.bash .re1 {color: #007800;}\n.bash .re2 {color: #007800;}\n.bash .re4 {color: #007800;}\n.bash .re5 {color: #660033;}\n.bash span.xtra { display:block; }\n<\/style><div class=\"code\"><table class=\"bash\"><tbody><tr class=\"li1\"><td class=\"ln\"><pre class=\"de1\">1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n<\/pre><\/td><td class=\"de1\"><pre class=\"de1\"><span class=\"co0\"># ddcutil detect<\/span>\nDisplay <span class=\"nu0\">1<\/span>\n&#160; &#160;I2C bus: &#160; &#160; &#160; &#160; &#160; &#160; <span class=\"sy0\">\/<\/span>dev<span class=\"sy0\">\/<\/span>i2c-<span class=\"nu0\">1<\/span>\n&#160; &#160;EDID synopsis:\n&#160; &#160; &#160; Mfg id: &#160; &#160; &#160; &#160; &#160; LEN\n&#160; &#160; &#160; Model: &#160; &#160; &#160; &#160; &#160; &#160;LEN T22i-<span class=\"nu0\">10<\/span>\n&#160; &#160; &#160; Serial number: &#160; &#160;V5M56770\n&#160; &#160; &#160; Manufacture year: <span class=\"nu0\">2017<\/span>\n&#160; &#160; &#160; EDID version: &#160; &#160; <span class=\"nu0\">1.4<\/span>\n&#160; &#160;VCP version: &#160; &#160; &#160; &#160; <span class=\"nu0\">2.2<\/span>\n&#160;\nInvalid display\n&#160; &#160;I2C bus: &#160; &#160; &#160; &#160; &#160; &#160; <span class=\"sy0\">\/<\/span>dev<span class=\"sy0\">\/<\/span>i2c-<span class=\"nu0\">4<\/span>\n&#160; &#160;EDID synopsis:\n&#160; &#160; &#160; Mfg id: &#160; &#160; &#160; &#160; &#160; SAM\n&#160; &#160; &#160; Model: &#160; &#160; &#160; &#160; &#160; &#160;SyncMaster\n&#160; &#160; &#160; Serial number: &#160; &#160;H9MSB25698\n&#160; &#160; &#160; Manufacture year: <span class=\"nu0\">2009<\/span>\n&#160; &#160; &#160; EDID version: &#160; &#160; <span class=\"nu0\">1.3<\/span>\n&#160; &#160;DDC communication failed\n&#160;\n&#160;\n<span class=\"co0\"># ddcutil --display=1 getvcp 10<\/span>\nVCP code 0x10 <span class=\"br0\">&#40;<\/span>Brightness &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;<span class=\"br0\">&#41;<\/span>: current value = &#160; <span class=\"nu0\">100<\/span>, max value = &#160; <span class=\"nu0\">100<\/span>\n&#160;\n<span class=\"co0\"># ddcutil --display=1 setvcp 10 80<\/span>\n&#160;<\/pre><\/td><\/tr><\/tbody><\/table><\/div>\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/807\/rev-raw\/9f3b74b5f2c0638930063488ebfd88d130327eec\/commands.sh\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/807#commands.sh\">commands.sh<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
