-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
- Monitor manufacturer and model number: MSI Optix MAG342CQRV
- Input source (HDMI, VGA, display port, ect.): HDMI1
- Output device (video card, discrete graphics, ect.): 6800XT
- Operating system: Windows 10 21H1 19043.1466
- Python version: 3.9.9
- monitorcontrol version (
monitorcontrol --version): 2.5.1
Steps to Reproduce
import monitorcontrol as mc
monitors = mc.get_monitors()
for monitor in monitors:
with monitor:
c = monitor.get_vcp_capabilities()This code crashes with ValueError: 33 is not a valid InputSource and I don't get any return from that function.
For more information, on the problematic monitor, monitor.vcp.get_vcp_capabilities() returns
(prot(monitor)type(lcd)model(MAG342CQRV)cmds(01 02 03 07 0C E3 F3)vcp(02 04 05 08 0B 0C 10 12 14(04 05 08 0B) 16 18 1A 60(00 11 12 0F 21 22 2F 31) CC(02 03 04 05 07 08 09 0A 0C 0D 01 06 0B 0E 12 14 16 17 1A 1E 24) D6(01 04 05) DF FF)mswhql(1)asset_eep(40)mccs_ver(2.2))
And indeed in the input source section there is OFF,HDMI1,HDMI2,DP1 (as expected), then there is 21,22,2F,31 and these are not in the enum (and at least the first one crashes).
Are these not standard values?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed