Code Monkey home page Code Monkey logo

Comments (2)

rockowitz avatar rockowitz commented on September 27, 2024

Neither. The capabilities string is malformed. See the segment "C0 C6C 8 C9". The capabilities command is reporting that instead of its usual output.

Keep in mind that the capabilities string is unreliable. ddcutil simply reports it as best it can and does not rely on it. (ddcui unfortunately does make use of it, but that is another discussion.) See page Command Capabilities on the website.

Unfortunately, there's no clear line between what belongs in stderr vs stdout. At least I couldn't define one. For every rule I came up with, there was a case for which the split felt wrong. For example, suppose the monitor correctly reports that it does not support a feature. Seems like that belongs in stderr, but what if the getvcp command specifies a feature group instead of a specific feature. It's unlikely that all the features in a group are implemented. Does the output belong in stdout or stderr, or should it be split up? ddcutil generally uses stderr only for serious errors. Dealing with user error reports is harder when the output is split up.

As a workaround, you could edit the capabilities string, and save the corrected string in $HOME/.cache/ddcutil/capabilities.

from ddcutil.

digitaltrails avatar digitaltrails commented on September 27, 2024

Everything works as is (with vdu_controls), so it's probably not an issue. I think perhaps I edited out of past config files (months ago) and was surprised to see it today when I was testing running from scratch.

from ddcutil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.