Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add command line options to executed command #31

Open
fischer-felix opened this issue Nov 14, 2021 · 1 comment
Open

add command line options to executed command #31

fischer-felix opened this issue Nov 14, 2021 · 1 comment

Comments

@fischer-felix
Copy link

Would it be possible to add options (e.g. --noverify) to the executed command in the background, since my monitors only actually do anything if you add --noverify?

@rockowitz
Copy link
Owner

First, I assume you're referring to the 0.2.0-dev branch of ddcui. Release 0.1.0 is ancient.

Second, it is possible to pass options directly to shared library libddcutil using a Configuration File. Most ddcutil command line options, other than those for feature or display selection, can be specified there.

However, I don't think this would address your concern. ddcui explicitly disables verification on the API call that sets a feature value. However, it does immediately read the value in a separate operation so as to display the proper value in the UI. In general it can't assume that the monitor has performed a requested action.

I'd like to better understand your problem. What are the manufacturer/model of your monitors? Since you refer to option --noverify, I assume you need to use this on the ddcutil command line when issuing the setvcp command. Let's assume for the sake of specificity that you're changing the brightness (feature x10). Are you saying that the perceived brightness doesn't change unless --noverify is specified, or that the perceived brightness does change, but the setvcp command reports that verification has failed. If the latter, does a subsequent getvcp report the changed value or the original value? Does the value change in the OSD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants