Giter VIP home page Giter VIP logo

Comments (5)

newAM avatar newAM commented on July 28, 2024

At the moment there is no way to identify unique monitors, this would be a good feature to have though.

I'll accept a pull-request, but I will not be working on this for a long time, I made tons of commitments for other projects people are waiting on.

from monitorcontrol.

x11x avatar x11x commented on July 28, 2024

Thanks, I understand. And thanks for this library.
I may have a go at some point, can't at the moment though.
I will need to learn a bit more about I2c and the Windows APIs.
Just a few notes that may help anyone (me) trying to implement this.
On Windows, we might want EnumDisplayDevices and the DeviceID member of DISPLAY_DEVICE structure, as long as there's a way to cross reference this with a HMONITOR or some other info returned by the EnumDisplayMonitors API which we are currently using. Haven't found that yet.
Another possibility on Windows is WMI, apparently some monitor info can be read from there. (Either wmi python module or shelling out the wmic command line tool).
On Linux, it looks like EDID can be read from the I2C bus at address 0x50.

from monitorcontrol.

newAM avatar newAM commented on July 28, 2024

On Windows, we might want EnumDisplayDevices and the DeviceID member of DISPLAY_DEVICE structure, as long as there's a way to cross reference this with a HMONITOR or some other info returned by the EnumDisplayMonitors API which we are currently using. Haven't found that yet.

Looks promising! The "DeviceID: Not used" remark is a bit annoying, but since it is 128 bytes you're probably right to assume this is the EDID.

On Linux, it looks like EDID can be read from the I2C bus at address 0x50.

Yeah Linux is much easier in this regard, I have 3 identical monitors, and the EDID hexdump from ddcutil detect -vvv returns deterministic unique values for each monitor.

from monitorcontrol.

hawktang avatar hawktang commented on July 28, 2024

Identification should be added. Currently --monitor 1 or --monitor 1 are constantly changing

from monitorcontrol.

char101 avatar char101 commented on July 28, 2024

If your monitors are of different models or input types (dvi vs hdmi), it can be identified by the model & input field from monitor.get_vcp_capabilities().

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.