Thursday, April 20, 2017

Making a ddccontrol-db file for Sun 24.1 v4 LCD


gddccontrol seems to run better with a ddccontrol-db file for a monitor. Otherwise it will give you a dialog saying it's trying to use a generic profile.

so we run

sudo ddccontrol -c -p

and copy and paste that into our SUN059A.xml file that we've created.

It seems to be happier when it has the vcp completely enclosed in parentheses like so: (vcp(...))
Otherwise it gives you a little error message on the console like "error in caps add".



<!--xml version="1.0"?-->
<monitor name="SUN 24.1 V4 (VGA)" init="standard">
        <caps add="(vcp(02 04 05 06 08 0B 0C 0E 10 12 14(01 05 08 0B) 16 18 1A 1E 1F 20 30 3E 52 60(01 03) 6C 6E 70 AC AE B2 B6 C6 C8 C9 CC(00 02 03 04 05 10) D6(01 04) DF))"/> 
        <include file="VESA"/>
</monitor>




Another thing that's kind of neat is that you can drag the gddccontrol window to the other monitor (if you're doing the dual monitor thing) and it will choose the "other monitor."

So if you've made a file in /usr/share/ddccontrol-db/monitors you won't have to click on OK every time you choose that monitor (either from the dropdown menu or by dragging the gddccontrol window to the other monitor).

No comments:

Post a Comment