Package org.jnode.driver.video.ddc

Examples of org.jnode.driver.video.ddc.DDC1Reader


        try {
            final Device dev = DeviceUtils.getDevice(devId);

            System.out.println("Reading DDC1 data, please wait");
            final DisplayDataChannelAPI api = dev.getAPI(DisplayDataChannelAPI.class);
            final DDC1Reader reader = new DDC1Reader(api);
            final EDID data = reader.read();

            System.out.println("DDC1-EDID=" + data);
            System.out.println("DDC1-EDID (raw)=" + NumberUtils.hex(data.getRawData()));
        } catch (DeviceNotFoundException ex) {
            System.out.println("Cannot find device " + devId);
View Full Code Here


    /**
     * Read the EDID data for the connected monitor via DDC
     */
    private final void readEDID() {

        DDC1Reader reader = new DDC1Reader(vgaIO);

        try {

            edidData = reader.read();
            log.debug(edidData.toString());

        } catch (DDC1NoSignalException e) {
            log.debug("No Monitor signal detected", e);
        } catch (DDC1ParseException e) {
View Full Code Here

TOP

Related Classes of org.jnode.driver.video.ddc.DDC1Reader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.