Skip to content

Instantly share code, notes, and snippets.

@zentrification
Last active March 30, 2016 16:08
Show Gist options
  • Save zentrification/febb58d2ed43a5376c861a903d97b54e to your computer and use it in GitHub Desktop.
Save zentrification/febb58d2ed43a5376c861a903d97b54e to your computer and use it in GitHub Desktop.
$ sudo ddccontrol -p -c -d -v
ddccontrol version 0.4.2
Copyright 2004-2005 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright 2004-2006 Nicolas Boichat (nicolas@boichat.ch)
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program under the terms of the GNU General Public License.
ddcpci initing...
Starting /usr/bin/ddcpci 1 1711353748 &...
Probing for available monitors...
Found PCI device (pci:04:00.0-0)
Found PCI device (pci:04:00.0-1)
Found PCI device (pci:04:00.0-2)
Device: pci:04:00.0-0
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddcci_open returned -2
Device: pci:04:00.0-1
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddcci_open returned -2
Device: pci:04:00.0-2
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-5)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-4)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-3)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-2)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-1)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-0)
ioctl(): Input/output error
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Detected monitors :
No monitor supporting DDC/CI available.
If your graphics card need it, please check all the required kernel modules are loaded (i2c-dev, and your framebuffer driver).
ddcpci being released...
==>ddcpci is quitting.
00 ff ff ff ff ff ff 00 04 69 a3 28 73 8e 00 00 17 19 01 04 a5 3e 22 78 3a 1c b5 a3 57 4f a0 27 0d 50 54 bf ef 00 d1 c0 81 40 81 80 95 00 b3 00 71 4f 81 c0 01 01 4d d0 00 a0 f0 70 3e 80 30 20 35 00 6d 55 21 00 00 1a 04 74 00 30 f2 70 5a 80 b0 58 8a 00 6d 55 21 00 00 1a 00 00 00 fd 00 1e 50 18 a0 3c 04 11 00 f0 f8 38 f0 3c 00 00 00 fc 00 41 53 55 53 20 50 42 32 38 37 51 0a 20 01 6c 02 03 27 71 4f 01 02 03 11 12 13 04 14 05 1f 90 0e 0f 1d 1e 23 09 17 07 83 01 00 00 6a 03 0c 00 10 00 00 78 20 00 00 56 5e 00 a0 a0 a0 29 50 30 20 35 00 6d 55 21 00 00 1e e2 68 00 a0 a0 40 2e 60 30 20 36 00 6d 55 21 00 00 1a 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 6d 55 21 00 00 1e 8c 0a d0 90 20 40 31 20 0c 40 55 00 6d 55 21 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64
00 ff ff ff ff ff ff 00 04 69 a3 28 b3 0d 01 00 25 19 01 04 a5 3e 22 78 3a 1c b5 a3 57 4f a0 27 0d 50 54 bf ef 00 d1 c0 81 40 81 80 95 00 b3 00 71 4f 81 c0 01 01 4d d0 00 a0 f0 70 3e 80 30 20 35 00 6d 55 21 00 00 1a 04 74 00 30 f2 70 5a 80 b0 58 8a 00 6d 55 21 00 00 1a 00 00 00 fd 00 1e 50 18 a0 3c 04 11 00 f0 f8 38 f0 3c 00 00 00 fc 00 41 53 55 53 20 50 42 32 38 37 51 0a 20 01 9e 02 03 27 71 4f 01 02 03 11 12 13 04 14 05 1f 90 0e 0f 1d 1e 23 09 17 07 83 01 00 00 6a 03 0c 00 10 00 00 78 20 00 00 56 5e 00 a0 a0 a0 29 50 30 20 35 00 6d 55 21 00 00 1e e2 68 00 a0 a0 40 2e 60 30 20 36 00 6d 55 21 00 00 1a 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 6d 55 21 00 00 1e 8c 0a d0 90 20 40 31 20 0c 40 55 00 6d 55 21 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64
$ sudo get-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
Performing real mode VBE call
Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
Function supported
Call successful
VBE version 300
VBE string at 0x11100 "NVIDIA"
VBE/DDC service about to be called
Report DDC capabilities
Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
Function supported
Call successful
Monitor and video card combination does not support DDC1 transfers
Monitor and video card combination does not support DDC2 transfers
0 seconds per 128 byte EDID block transfer
Screen is not blanked during DDC transfer
Reading next EDID block
VBE/DDC service about to be called
Read EDID
Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
Function supported
Call failed
The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.
$ i2cdetect -l
i2c-0 i2c NVIDIA i2c adapter 0 at 4:00.0 I2C adapter
i2c-1 i2c NVIDIA i2c adapter 2 at 4:00.0 I2C adapter
i2c-2 i2c NVIDIA i2c adapter 6 at 4:00.0 I2C adapter
i2c-3 i2c NVIDIA i2c adapter 7 at 4:00.0 I2C adapter
i2c-4 i2c NVIDIA i2c adapter 8 at 4:00.0 I2C adapter
i2c-5 i2c NVIDIA i2c adapter 9 at 4:00.0 I2C adapter
$ for i in `seq 0 5`; do i2cdetect -y $i; done
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ cat /tmp/edid-dfp-4.bin | parse-edid
Checksum Correct
Section "Monitor"
Identifier "ASUS PB287Q"
ModelName "ASUS PB287Q"
VendorName "ACI"
# Monitor Manufactured week 23 of 2015
# EDID version 1.4
# Digital Display
DisplaySize 620 340
Gamma 2.20
Option "DPMS" "true"
Horizsync 24-160
VertRefresh 30-80
# Maximum pixel clock is 600MHz
#Not giving standard mode: 1920x1080, 60Hz
#Not giving standard mode: 1280x960, 60Hz
#Not giving standard mode: 1280x1024, 60Hz
#Not giving standard mode: 1440x900, 60Hz
#Not giving standard mode: 1680x1050, 60Hz
#Not giving standard mode: 1152x864, 75Hz
#Not giving standard mode: 1280x720, 60Hz
#Extension block found. Parsing...
Hmm, you have data blocks, but not video ones... weird
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>
$ cat /tmp/edid-dfp-6.bin| parse-edid
Checksum Correct
Section "Monitor"
Identifier "ASUS PB287Q"
ModelName "ASUS PB287Q"
VendorName "ACI"
# Monitor Manufactured week 37 of 2015
# EDID version 1.4
# Digital Display
DisplaySize 620 340
Gamma 2.20
Option "DPMS" "true"
Horizsync 24-160
VertRefresh 30-80
# Maximum pixel clock is 600MHz
#Not giving standard mode: 1920x1080, 60Hz
#Not giving standard mode: 1280x960, 60Hz
#Not giving standard mode: 1280x1024, 60Hz
#Not giving standard mode: 1440x900, 60Hz
#Not giving standard mode: 1680x1050, 60Hz
#Not giving standard mode: 1152x864, 75Hz
#Not giving standard mode: 1280x720, 60Hz
#Extension block found. Parsing...
Hmm, you have data blocks, but not video ones... weird
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>
You seem to have too many extension blocks. Will not continue to parse
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>
$ cat /tmp/edid-dfp-6.txt| parse-edid
You seem to have too many extension blocks. Will not continue to parse
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment