arcnmx / ddc-hi-rs

DDC/CI high level crate
MIT License
23 stars 8 forks source link

There is an issue with database entries, it seems to be empty. #8

Open 5iddy opened 1 year ago

5iddy commented 1 year ago
I2cDevice 22785: Some("ACR") Some("VG280K")
Database {
    entries: {},
}
I2cDevice 22786: Some("ACR") Some("VG270 S")
Database {
    entries: {},
}

and the code I ran:

    use ddc_hi::{Ddc, Display};

    for mut display in Display::enumerate() {
        display.update_capabilities().unwrap();
        println!(
            "{:?} {}: {:?} {:?}",
            display.info.backend,
            display.info.id,
            display.info.manufacturer_id,
            display.info.model_name
        );
        println!("{:#?}", display.info.mccs_database);
    }

System Specs: rust 1.68 arch linux nvidia rtx 3050 8gb gpu both monitors are connected via the gpu.

arcnmx commented 1 year ago

Hm... is this 0.4.1? Probably try running it with RUST_LOG=trace (assuming env-logger is available) for some more info - or try running RUST_LOG=trace ddcset capabilities and/or detect for comparison

Bogpan commented 1 year ago

Same issue, everything is empty except for the backend (winapi) and the ID which is Generic PnP Monitor. Running Windows 11 Pro 22H2, OS build 22621.1702.

arcnmx commented 1 year ago

Besides the above suggestion, you can also try: