Package org.jnode.driver.video.ddc

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


            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);
        } catch (ApiNotFoundException ex) {
            System.out.println("No DisplayDataChannelAPI found on device " + devId);
        } catch (DDC1NoSignalException ex) {
View Full Code Here

TOP

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

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.