Skip to content

gek64/dccli

Repository files navigation

██████╗  ██████╗ ██████╗██╗     ██╗
██╔══██╗██╔════╝██╔════╝██║     ██║
██║  ██║██║     ██║     ██║     ██║
██║  ██║██║     ██║     ██║     ██║
██████╔╝╚██████╗╚██████╗███████╗██║
╚═════╝  ╚═════╝ ╚═════╝╚══════╝╚═╝

中文说明

  • Display controller command line interface

Usage

  • Run directly without parameters, will start DEMO to control brightness
Usage:
    dccli [Command] [Arguments]

Command:
    -show          : show display monitor info
    -get           : get vcp feature value from select display monitors
    -set           : set vcp feature value for select display monitors
    -demo          : simple demo to control brightness
    -h             : show help
    -v             : show version

Arguments:
    -handle  <int_number>         : select display monitor by handle
    -all                          : select all display monitor
    -vcp     <vcp_code>           : specify vcp code
    -value   <vcp_feature_value>  : specify vcp feature value

Example:
1) dccli -demo
2) dccli -show
3) dccli -get -handle 0 -vcp 0x10
4) dccli -set -handle 0 -vcp 0x10 -value 50

Install

Compile

# Download application source code
git clone https://github.com/gek64/dccli.git
# Compile the source code
cd dccli
go build -v -trimpath -ldflags "-s -w"

FAQ

What operating system does this app support?

  • It only supports Windows now, and support systems such as macOS, Linux kernel system and freeBSD will be considered in the future.

Get the display driver parameter normally, but the display monitor parameter cannot be obtained and controlled.

  • Converter adapters, such as hdmi to vga adapters will prevent the program from working
  • This program uses the VESA DDC/CI Display communication standard protocol which release in 1998 to exchange data with physical display monitors. Most of the modern display supports and enables this feature by default, If you encounter this problem, please confirm whether the DDC/CI function has been opened in OSD menu, or contact your display manufacturer to get more relevant information

What other parameters can be customized?

How to find parameters supported by my own display monitor?

  • If the monitor does not support a certain parameter, the error will be returned when calling the command. You can use the error information to determine whether the monitor supports a certain parameter
  • You can use this tool to check which parameters that your monitor supported ControlMyMonitor

License

  • GPL-3.0 License
  • See LICENSE for details

Credits