Giter VIP home page Giter VIP logo

Comments (3)

newAM avatar newAM commented on July 28, 2024

That is an unassigned value, only 0x01 to 0x12 are assigned. An unassigned value has happened before, but that was with a type-c monitor: #93

I'll double check those values are getting parsed correctly when I have time to refresh myself on the spec (probably this weekend).

from monitorcontrol.

newAM avatar newAM commented on July 28, 2024

I checked the spec, as far as I can tell 60(00 11 12 0F 21 22 2F 31) in the VCP capabilities string is invalid, 00 and 21 22 2F 31 are invalid.

The input sources for that monitor are

  • 1x DP (1.2)
  • 1x HDMI (2.0)
  • 1x HDMI (1.4)

which corresponds to the 3 valid bytes (11 12 0F).

I am not sure what to do in this situation 🤔. The invalid bytes could be ignored, but invalid bytes are also used for inputs that are not (yet) defined by the MCCS specification, such as USB Type-C in #93. Also the specification is usually explicit when reserved values should be ignored, and it does not use that language for the input source.

from monitorcontrol.

Hayleia avatar Hayleia commented on July 28, 2024

Well I don't really know, especially since I don't know the spec at all.
Maybe an argument that tells if

  • they should be ignored
  • they should be returned as integers to be processed by people who know what they're doing
  • they should raise an exception (default behaviour I guess)
    ?

This way, people like me who don't really care about these values can work with standard values instead of having an error and nothing initialized and nothing to work with, and people with USB-C ports can work with them too if they know which one of the non standard values it is?

This kinda sounds like a bad idea of "not deciding what to do" actually, but I don't have better ideas than you about what to do.

from monitorcontrol.

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.