Sunday, April 9, 2017

gddcontrol and older dell e176fp, e196 and 1901FP, 1905FP

from my experiments, ddccontrol doesn't like the dell e176FP, e177FP, e196 giving lots of ???? marks.

When I ask it for properties, it seems to have lots of ??? marks in the list, and if it has ??? marks, gddccontrol won't work, giving you the "zero" tab with no controls.

It'd be cool if gddccontrol would let you try to send the codes for brightness and contrast even if it can't read all the capabilities. I only really care about brightness and contrast anyway.



sudo ddccontrol -c -d dev:/dev/i2c-1
EDID readings:
 Plug and Play ID: DELA014 [VESA standard monitor]
 Input type: Analog

Capabilities:
Raw output: type(LCD)vcp(page0(02 04 05 06 08 0E 10 12 14(01 03 04 05 06 08) 16 18 1A 1E 20 30 3E 60 62 68(1) 8A 8C 9B 9C 9D 9E 9F A0 AC AE B6 C0 C6 C8 C9 CA D6(01 02 03 04) DF FA FB FC FD) page2(37 38 39))asset_eep(40)mccs_ver(2.0)
Parsed output: 
 VCP: 
 Type: Unknown

Controls (valid/current/max) [Description - Value name]:
Control 0x02: +/512/65535   [???]
Control 0x04: +/0/65535   [???]
Control 0x05: +/0/65535   [???]
Control 0x06: +/0/65535   [???]
Control 0x08: +/0/65535   [???]
Control 0x0e: +/50/100   [???]
Control 0x10: +/255/255   [???]
Control 0x12: +/50/170   [???]
Control 0x14: +/1280/65535   [???]
Control 0x16: +/255/255   [???]
Control 0x18: +/255/255   [???]
Control 0x1a: +/255/255   [???]
Control 0x1e: +/0/65535   [???]
Control 0x20: +/50/100   [???]
Control 0x30: +/36/72   [???]
Control 0x3e: +/8/63   [???]
Control 0x60: +/256/65535   [???]
Control 0x68: +/256/65535   [???]
Control 0x9b: +/255/255   [???]
Control 0x9d: +/255/255   [???]
Control 0x9f: +/255/255   [???]
Control 0xac: +/32514/65535   [???]
Control 0xae: +/22274/65535   [???]
Control 0xb6: +/768/65535   [???]
Control 0xc0: +/0/65535   [???]
Control 0xc6: +/65535/65535   [???]
Control 0xc8: +/8706/65535   [???]
Control 0xc9: +/258/65535   [???]
Control 0xca: +/256/65535   [???]
Control 0xd6: +/256/65535   [???]
Control 0xdf: +/512/65535   [???]



However, the monitors will respond to manually specifying properties:


sudo ddccontrol  dev:/dev/i2c-1 -r 0x10 -w 60
sudo ddccontrol  dev:/dev/i2c-1 -r 0x12 -w 60

0x10 being brightness
0x12 being contrast

one of the interesting things is that different versions of the e176FP (like e176FPf versus e176FPm) give slightly different ranges for the 0x10 and 0x12 properties.

the e176FPf has a range to 255 for brightness, to 170 for contrast

Control 0x10: +/255/255   [???]
Control 0x12: +/50/170   [???]

the e176FPm has a range to 100 for brightness, to 169 for contrast

Control 0x10: +/50/100   [???]
Control 0x11: +/0/65535   [???]
Control 0x12: +/90/169   [???]



the 1901FP gives lots of strange errors also, however manually setting brightness/contrast works.

the 1905FP gives error messages, but it gives enough information that gddccontrol works.







cat dell_e176FPf_ddc.txt 
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.

Reading EDID and initializing DDC/CI at bus dev:/dev/i2c-1...

EDID readings:
 Plug and Play ID: DELA014 [VESA standard monitor]
 Input type: Analog
=============================== WARNING ===============================
There is no support for your monitor in the database, but ddccontrol is
using a basic generic profile. Many controls will not be supported, and
some controls may not work as expected.
Please update ddccontrol-db, or, if you are already using the latest
version, please send the output of the following command to
ddccontrol-users@lists.sourceforge.net:

LANG= LC_ALL= ddccontrol -p -c -d

Thank you.
=============================== WARNING ===============================

Capabilities:
Raw output: type(LCD)vcp(page0(02 04 05 06 08 0E 10 12 14(01 03 04 05 06 08) 16 18 1A 1E 20 30 3E 60 62 68(1) 8A 8C 9B 9C 9D 9E 9F A0 AC AE B6 C0 C6 C8 C9 CA D6(01 02 03 04) DF FA FB FC FD) page2(37 38 39))asset_eep(40)mccs_ver(2.0)
Parsed output: 
 VCP: 
 Type: Unknown

Controls (valid/current/max) [Description - Value name]:
Control 0x02: +/512/65535   [???]
Control 0x04: +/0/65535   [???]
Control 0x05: +/0/65535   [???]
Control 0x06: +/0/65535   [???]
Control 0x08: +/0/65535   [???]
Control 0x0e: +/50/100   [???]
Control 0x10: +/255/255   [???]
Control 0x12: +/50/170   [???]
Control 0x14: +/1280/65535   [???]
Control 0x16: +/255/255   [???]
Control 0x18: +/255/255   [???]
Control 0x1a: +/255/255   [???]
Control 0x1e: +/0/65535   [???]
Control 0x20: +/50/100   [???]
Control 0x30: +/24/48   [???]
Control 0x3e: +/20/63   [???]
Control 0x60: +/256/65535   [???]
Control 0x68: +/256/65535   [???]
Control 0x9b: +/255/255   [???]
Control 0x9d: +/255/255   [???]
Control 0x9f: +/255/255   [???]
Control 0xac: +/57857/65535   [???]
Control 0xae: +/22018/65535   [???]
Control 0xb6: +/768/65535   [???]
Control 0xc0: +/0/65535   [???]
Control 0xc6: +/65535/65535   [???]
Control 0xc8: +/8706/65535   [???]
Control 0xc9: +/258/65535   [???]
Control 0xca: +/256/65535   [???]
Control 0xd6: +/256/65535   [???]
Control 0xdf: +/512/65535   [???]
Section "Monitor"
 Identifier "DELL E176FP"
 ModelName "DELL E176FP"
 VendorName "DEL"
 # Monitor Manufactured week 45 of 2005
 # EDID version 1.3
 # Analog Display
 DisplaySize 340 270
 Gamma 2.20
 Option "DPMS" "true"
 Horizsync 31-80
 VertRefresh 56-75
 # Maximum pixel clock is 140MHz
 #Not giving standard mode: 1152x864, 75Hz
 #Not giving standard mode: 1280x1024, 60Hz
 Modeline  "Mode 0" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync 
EndSection




It's interesting to compare the output from different monitors, here's a comparison between an e176FPf and an e196FPb:

I made a little crap script that would run ddccontrol, get-edid, and xrandr to compare the output.
===================================
#!/bin/bash
sudo ddccontrol -c  -d  dev:/dev/i2c-1 >> $1
sudo get-edid | parse-edid >> $1 
xrandr --verbose >> $1
xrandr >> $1
===============================

diff dell_e176FPf_ddc.txt dell_e196FPb_ddc.txt 
10c10
<  Plug and Play ID: DELA014 [VESA standard monitor]
---
>  Plug and Play ID: DELA015 [VESA standard monitor]
26c26
< Raw output: type(LCD)vcp(page0(02 04 05 06 08 0E 10 12 14(01 03 04 05 06 08) 16 18 1A 1E 20 30 3E 60 62 68(1) 8A 8C 9B 9C 9D 9E 9F A0 AC AE B6 C0 C6 C8 C9 CA D6(01 02 03 04) DF FA FB FC FD) page2(37 38 39))asset_eep(40)mccs_ver(2.0)
---
> Raw output: type(LCD)vcp(page0(02 04 05 08 0E 10 12 14(01 06 08 0B) 16 18 1A 1E 20 30 3E 52 AC AE B2 B6 C0 C6 C8 C9 CA D6(01 02 03 04) DF))
32c32
< Control 0x02: +/512/65535   [???]
---
> Control 0x02: +/256/65535   [???]
38,43c38,43
< Control 0x10: +/255/255   [???]
< Control 0x12: +/50/170   [???]
< Control 0x14: +/1280/65535   [???]
< Control 0x16: +/255/255   [???]
< Control 0x18: +/255/255   [???]
< Control 0x1a: +/255/255   [???]
---
> Control 0x10: +/75/100   [???]
> Control 0x12: +/75/100   [???]
> Control 0x14: +/5/11   [???]
> Control 0x16: +/100/100   [???]
> Control 0x18: +/100/100   [???]
> Control 0x1a: +/100/100   [???]
46,47c46,47
< Control 0x30: +/24/48   [???]
< Control 0x3e: +/20/63   [???]
---
> Control 0x30: +/37/74   [???]
> Control 0x3e: +/37/63   [???]
50,54c50,54
< Control 0x9b: +/255/255   [???]
< Control 0x9d: +/255/255   [???]
< Control 0x9f: +/255/255   [???]
< Control 0xac: +/57857/65535   [???]
< Control 0xae: +/22018/65535   [???]
---
> Control 0x9b: +/100/100   [???]
> Control 0x9d: +/100/100   [???]
> Control 0x9f: +/100/100   [???]
> Control 0xac: +/32514/65535   [???]
> Control 0xae: +/22274/65535   [???]
56c56
< Control 0xc0: +/0/65535   [???]
---
> Control 0xc0: +/36924/65535   [???]
62a63
> Control 0xff: +/0/65535   [???]
64,65c65,66
<  Identifier "DELL E176FP"
<  ModelName "DELL E176FP"
---
>  Identifier "DELL E196FP"
>  ModelName "DELL E196FP"
67c68
<  # Monitor Manufactured week 45 of 2005
---
>  # Monitor Manufactured week 24 of 2006
70c71
<  DisplaySize 340 270
---
>  DisplaySize 380 300
73c74
<  Horizsync 31-80
---
>  Horizsync 31-83



=====================================
comparing an e176FPf that doesn't work with gddccontrol to a dell 1905FP which does work with gddccontrol

diff dell_e176FPf_ddc.txt dell1905FP.txt 


10c10
<  Plug and Play ID: DELA014 [VESA standard monitor]
---
>  Plug and Play ID: DEL400C [Dell 1905FP (analog)]
12,23d11
< =============================== WARNING ===============================
< There is no support for your monitor in the database, but ddccontrol is
< using a basic generic profile. Many controls will not be supported, and
< some controls may not work as expected.
< Please update ddccontrol-db, or, if you are already using the latest
< version, please send the output of the following command to
< ddccontrol-users@lists.sourceforge.net:
< 
< LANG= LC_ALL= ddccontrol -p -c -d
< 
< Thank you.
< =============================== WARNING ===============================
26c14
< Raw output: type(LCD)vcp(page0(02 04 05 06 08 0E 10 12 14(01 03 04 05 06 08) 16 18 1A 1E 20 30 3E 60 62 68(1) 8A 8C 9B 9C 9D 9E 9F A0 AC AE B6 C0 C6 C8 C9 CA D6(01 02 03 04) DF FA FB FC FD) page2(37 38 39))asset_eep(40)mccs_ver(2.0)
---
> Raw output: vcp(04 06 08 0E 10 12 14(05 08 0B) 16 18 1A 1E 20 30 B6) type(LCD) mccs_ver(1.1) asset_eep(32) mpu(1.02)
28c16
<  VCP: 
---
>  VCP: 04 06 08 0e 10 12 14 16 18 1a 1e 20 30 3e 68 
32,62c20,40
< Control 0x02: +/512/65535   [???]
< Control 0x04: +/0/65535   [???]
< Control 0x05: +/0/65535   [???]
< Control 0x06: +/0/65535   [???]
< Control 0x08: +/0/65535   [???]
< Control 0x0e: +/50/100   [???]
< Control 0x10: +/255/255   [???]
< Control 0x12: +/50/170   [???]
< Control 0x14: +/1280/65535   [???]
< Control 0x16: +/255/255   [???]
< Control 0x18: +/255/255   [???]
< Control 0x1a: +/255/255   [???]
< Control 0x1e: +/0/65535   [???]
< Control 0x20: +/50/100   [???]
< Control 0x30: +/24/48   [???]
< Control 0x3e: +/20/63   [???]
< Control 0x60: +/256/65535   [???]
< Control 0x68: +/256/65535   [???]
< Control 0x9b: +/255/255   [???]
< Control 0x9d: +/255/255   [???]
< Control 0x9f: +/255/255   [???]
< Control 0xac: +/57857/65535   [???]
< Control 0xae: +/22018/65535   [???]
< Control 0xb6: +/768/65535   [???]
< Control 0xc0: +/0/65535   [???]
< Control 0xc6: +/65535/65535   [???]
< Control 0xc8: +/8706/65535   [???]
< Control 0xc9: +/258/65535   [???]
< Control 0xca: +/256/65535   [???]
< Control 0xd6: +/256/65535   [???]
< Control 0xdf: +/512/65535   [???]
---
> Control 0x04: +/0/1 C [Restore Factory Defaults]
> Control 0x06: +/0/1 C [Restore Factory Default Geometry]
> Control 0x08: +/0/1 C [Restore Factory Default Color]
> Control 0x0e: +/100/200 C [Image Lock Coarse (Clock)]
> Control 0x10: +/255/255 C [Brightness]
> Control 0x12: +/65/100 C [Contrast]
> Control 0x14: +/11/12 C [Color Preset - User 1]
> Control 0x16: +/255/255 C [Red maximum level]
> Control 0x18: +/255/255 C [Green maximum level]
> Control 0x1a: +/255/255 C [Blue maximum level]
> Control 0x1e: +/0/1 C [Automatically adjust]
> Control 0x20: +/174/322 C [Horizontal Position]
> Control 0x30: +/24/49 C [Vertical Position]
> Control 0x3e: +/16/63 C [Image Lock Fine (Clock Phase)]
> Control 0x68: +/1/9 C [Language select - English]
> Control 0xa8: +/1/1   [???]
> Control 0xb4: +/1/1   [???]
> Control 0xb6: +/3/3   [???]
> Control 0xd6: +/1/4   [???]
> Control 0xd7: +/0/1   [???]
> Control 0xd8: +/0/1   [???]
64,65c42,43
<  Identifier "DELL E176FP"
<  ModelName "DELL E176FP"
---
>  Identifier "DELL 1905FP"
>  ModelName "DELL 1905FP"
67c45
<  # Monitor Manufactured week 45 of 2005
---
>  # Monitor Manufactured week 3 of 2005
70c48,49
<  DisplaySize 340 270
---
>  Option "SyncOnGreen" "true"
>  DisplaySize 380 310
73,74c52,53
<  Horizsync 31-80
<  VertRefresh 56-75
---
>  Horizsync 30-81
>  VertRefresh 56-76

No comments:

Post a Comment