ddccontrol / ddccontrol-db

DDC Control Monitor Database
GNU General Public License v2.0
119 stars 100 forks source link

Support for BenQ PD2700U #100

Open shadeslayer opened 4 years ago

shadeslayer commented 4 years ago

Hi Could you please add the relevant files for BenQ PD2700U?

ddccontrol version 0.4.3
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.

Probing for available monitorsradeon_open: mmap failed: Invalid argument
..I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BNQ802E.xml"
Document not parsed successfully.
..I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BNQ802E.xml"
Document not parsed successfully.
......I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BNQ802E.xml"
Document not parsed successfully.

Detected monitors :
 - Device: dev:/dev/i2c-7
   DDC/CI supported: Yes
   Monitor Name: VESA standard monitor
   Input type: Digital
  (Automatically selected)
 - Device: dev:/dev/i2c-5
   DDC/CI supported: Yes
   Monitor Name: VESA standard monitor
   Input type: Digital
Reading EDID and initializing DDC/CI at bus dev:/dev/i2c-7...

EDID readings:
    Plug and Play ID: BNQ802E [VESA standard monitor]
    Input type: Digital
=============================== 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: (prot(monitor)type(LCD)model(PD2700U)cmds(01 02 03 07 0C E3 F3)vcp(02 04 05 08 0B 0C 10 12 14(04 05 08 0B) 16 18 1A 52 60(0F 10 11) 62 72(50 64 78 8C A0) 7D(00 01 02) 7E(0F 10 11) 7F 80(00 01 02) 86(01 02 05) 87 8A 8D(01 02) 90 AA(01 02) AC AE B2 B6 C0 C6 C8 C9 CA(01 02) CC(01 02 03 04 05 06 07 09 0A 0B 0D 0E 0F 12 14 1A 1E 1F) D6(01 05) DC(0A 0C 10 12 13 14 20 23) DF E2(00 01 FF) E3(00 01 FF) E5 EA(00 01 02 03 04 05) EF(00 01) F0(00 01 02) F1(00 01) F2(14 28 3C 50 64) F4(00 01 FF) F6(00 01) F7(00 01) F8(00 0A 14 1E) F9)mswhql(1)asset_eep(40)mccs_ver(2.2))
Parsed output: 
    VCP: 02 04 05 08 0b 0c 10 12 14 16 18 1a 52 60 62 72 7d 7e 7f 80 86 87 8a 8d 90 aa ac ae b2 b6 c0 c6 c8 c9 ca cc d6 dc df e2 e3 e5 ea ef f0 f1 f2 f4 f6 f7 f8 f9 
    Type: Unknown

Controls (valid/current/max) [Description - Value name]:
Control 0x00: +/25443/10605   [???]
Control 0x01: +/25443/10605   [???]
Control 0x02: +/16/2 C [Secondary Degauss]
Control 0x03: +/16/2   [???]
Control 0x04: +/0/1 C [Restore Factory Defaults]
Control 0x05: +/0/1 C [Restore Brightness and Contrast]
Control 0x06: +/0/1   [???]
Control 0x07: +/0/1   [???]
Control 0x08: +/0/1 C [Restore Factory Default Color]
Control 0x09: +/0/1   [???]
Control 0x0a: +/0/1   [???]
Control 0x0b: +/100/0 C [???]
Control 0x0c: +/35/63 C [???]
Control 0x0d: +/35/63   [???]
Control 0x0e: +/35/63   [???]
Control 0x0f: +/35/63   [???]
Control 0x10: +/50/100 C [Brightness]
Control 0x11: +/50/100   [???]
Control 0x12: +/50/100 C [Contrast]
Control 0x13: +/50/100   [???]
Control 0x14: +/5/11 C [???]
Control 0x15: +/5/11   [???]
Control 0x16: +/100/100 C [Red maximum level]
Control 0x17: +/100/100   [???]
Control 0x18: +/100/100 C [Green maximum level]
Control 0x19: +/100/100   [???]
Control 0x1a: +/100/100 C [Blue maximum level]
Control 0x1b: +/100/100   [???]
Control 0x1c: +/100/100   [???]
Control 0x1d: +/100/100   [???]
Control 0x1e: +/100/100   [???]
Control 0x1f: +/100/100   [???]
Control 0x20: +/100/100   [???]
Control 0x21: +/100/100   [???]
Control 0x22: +/100/100   [???]
Control 0x23: +/100/100   [???]
Control 0x24: +/100/100   [???]
Control 0x25: +/100/100   [???]
Control 0x26: +/100/100   [???]
Control 0x27: +/100/100   [???]
Control 0x28: +/100/100   [???]
Control 0x29: +/100/100   [???]
Control 0x2a: +/100/100   [???]
Control 0x2b: +/100/100   [???]
Control 0x2c: +/100/100   [???]
Control 0x2d: +/100/100   [???]
Control 0x2e: +/100/100   [???]
Control 0x2f: +/100/100   [???]
Control 0x30: +/100/100   [???]
Control 0x31: +/100/100   [???]
Control 0x32: +/100/100   [???]
Control 0x33: +/100/100   [???]
Control 0x34: +/100/100   [???]
Control 0x35: +/100/100   [???]
Control 0x36: +/100/100   [???]
Control 0x37: +/100/100   [???]
Control 0x38: +/100/100   [???]
Control 0x39: +/100/100   [???]
Control 0x3a: +/100/100   [???]
Control 0x3b: +/100/100   [???]
Control 0x3c: +/100/100   [???]
Control 0x3d: +/100/100   [???]
Control 0x3e: +/100/100   [???]
Control 0x3f: +/100/100   [???]
Control 0x40: +/100/100   [???]
Control 0x41: +/100/100   [???]
Control 0x42: +/100/100   [???]
Control 0x43: +/100/100   [???]
Control 0xInvalid response, first byte is 0x00, should be 0x6e
00 00 00 00 00 00 00 00 00 00 00                | ...........     
44: +/100/100   [???]
Control 0x45: +/100/100   [???]
Control 0x46: +/100/100   [???]
Control 0x47: +/100/100   [???]
Control 0x48: +/100/100   [???]
Control 0x49: +/100/100   [???]
Control 0x4a: +/100/100   [???]
Control 0x4b: +/100/100   [???]
Control 0x4c: +/100/100   [???]
Control 0x4d: +/100/100   [???]
Control 0x4e: +/100/100   [???]
Control 0x4f: +/100/100   [???]
Control 0x50: +/100/100   [???]
Control 0x51: +/100/100   [???]
Control 0x52: +/16/255 C [???]
Control 0x53: +/16/255   [???]
Control 0x54: +/16/255   [???]
Control 0x55: +/16/255   [???]
Control 0x56: +/16/255   [???]
Control 0x57: +/16/255   [???]
Control 0x58: +/16/255   [???]
Control 0x59: +/16/255   [???]
Control 0x5a: +/16/255   [???]
Control 0x5b: +/16/255   [???]
Control 0x5c: +/16/255   [???]
Control 0x5d: +/16/255   [???]
Control 0x5e: +/16/255   [???]
Control 0x5f: +/16/255   [???]
Control 0x60: +/16/18 C [Input Source Select]
Control 0x61: +/16/18   [???]
Control 0x62: +/100/100 C [Audio Speaker Volume Adjust]
Control 0x63: +/100/100   [???]
Control 0x64: +/100/100   [???]
Control 0x65: +/100/100   [???]
Control 0x66: +/100/100   [???]
Control 0x67: +/100/100   [???]
Control 0x68: +/100/100   [???]
Control 0x69: +/100/100   [???]
Control 0x6a: +/100/100   [???]
Control 0x6b: +/100/100   [???]
Control 0x6c: +/50/100   [???]
Control 0x6d: +/50/100   [???]
Control 0x6e: +/50/100   [???]
Control 0x6f: +/50/100   [???]
Control 0x70: +/50/100   [???]
Control 0x71: +/50/100   [???]
Control 0x72: +/140/160 C [???]
Control 0x73: +/140/160   [???]
Control 0x74: +/140/160   [???]
Control 0x75: +/140/160   [???]
Control 0x76: +/140/160   [???]
Control 0x77: +/140/160   [???]
Control 0x78: +/140/160   [???]
Control 0x79: +/140/160   [???]
Control 0x7a: +/140/160   [???]
Control 0x7b: +/140/160   [???]
Control 0x7c: +/140/160   [???]
Control 0x7d: +/0/2 C [???]
Control 0x7e: +/17/18 C [???]
Control 0x7f: +/17/18 C [???]
Control 0x80: +/1/770 C [???]
Control 0x81: +/1/770   [???]
Control 0x82: +/1/770   [???]
Control 0x83: +/1/770   [???]
Control 0x84: +/1/770   [???]
Control 0x85: +/1/770   [???]
Control 0x86: +/2/23 C [???]
Control 0x87: +/5/10 C [???]
Control 0x88: +/5/10   [???]
Control 0x89: +/5/10   [???]
Control 0x8a: +/50/100 C [???]
Control 0x8b: +/50/100   [???]
Control 0x8c: +/50/100   [???]
Control 0x8d: +/2/2 C [???]
Control 0x8e: +/2/2   [???]
Control 0x8f: +/2/2   [???]
Control 0x90: +/50/100 C [???]
Control 0x91: +/50/100   [???]
Control 0x92: +/50/100   [???]
Control 0x93: +/50/100   [???]
Control 0x94: +/50/100   [???]
Control 0x95: +/50/100   [???]
Control 0x96: +/50/100   [???]
Control 0x97: +/50/100   [???]
Control 0x98: +/50/100   [???]
Control 0x99: +/50/100   [???]
Control 0x9a: +/50/100   [???]
Control 0x9b: +/50/100   [???]
Control 0x9c: +/50/100   [???]
Control 0x9d: +/50/100   [???]
Control 0x9e: +/50/100   [???]
Control 0x9f: +/50/100   [???]
Control 0xa0: +/50/100   [???]
Control 0xa1: +/50/100   [???]
Control 0xa2: +/50/100   [???]
Control 0xa3: +/50/100   [???]
Control 0xa4: +/50/100   [???]
Control 0xa5: +/50/100   [???]
Control 0xa6: +/50/100   [???]
Control 0xa7: +/50/100   [???]
Control 0xa8: +/50/100   [???]
Control 0xa9: +/50/100   [???]
Control 0xaa: +/1/255 C [OSD Orientation - Landscape]
Control 0xab: +/1/255   [???]
Control 0xac: +/2428/2 C [???]
Control 0xad: +/2428/2   [???]
Control 0xae: +/6010/65535 C [???]
Control 0xaf: +/6010/65535   [???]
Control 0xb0: +/6010/65535   [???]
Control 0xb1: +/6010/65535   [???]
Control 0xb2: +/1/2 C [???]
Control 0xb3: +/1/2   [???]
Control 0xb4: +/1/2   [???]
Control 0xb5: +/0/1   [???]
Control 0xb6: +/3/5 C [???]
Control 0xb7: +/3/5   [???]
Control 0xb8: +/3/5   [???]
Control 0xb9: +/3/5   [???]
Control 0xba: +/3/5   [???]
Control 0xbb: +/3/5   [???]
Control 0xbc: +/3/5   [???]
Control 0xbd: +/3/5   [???]
Control 0xbe: +/3/5   [???]
Control 0xbf: +/3/5   [???]
Control 0xc0: +/433/65535 C [???]
Control 0xc1: +/433/65535   [???]
Control 0xc2: +/433/65535   [???]
Control 0xc3: +/433/65535   [???]
Control 0xc4: +/433/65535   [???]
Control 0xc5: +/433/65535   [???]
Control 0xc6: +/6Invalid response, length is 9, should be 8 at most
Invalid response, length is 9, should be 8 at most
Invalid response, length is 9, should be 8 at most
0/65535 C [???]
Control 0xc7: +/60/65535   [???]
Control 0xc8: +/38665/39 C [???]
Control 0xc9: +/1/65535 C [???]
Control 0xca: +/2/2 C [???]
Control 0xcb: +/2/2   [???]
Control 0xcc: +/2/16 C [???]
Control 0xcd: +/2/16   [???]
Control 0xce: +/2/16   [???]
Control 0xcf: +/2/16   [???]
Control 0xd0: +/2/16   [???]
Control 0xd1: +/2/16   [???]
Control 0xd2: +/2/16   [???]
Control 0xd3: +/2/16   [???]
Control 0xd4: +/2/16   [???]
Control 0xd5: +/2/16   [???]
Control 0xd6: +/1/5 C [DPMS Control - On]
Control 0xd7: +/1/5   [???]
Control 0xd8: +/4/3   [???]
Control 0xd9: +/4/3   [???]
Control 0xda: +/0/2   [???]
Control 0xdb: +/0/2   [???]
Control 0xdc: +/35/1043 C [???]
Control 0xdd: +/35/1043   [???]
Control 0xde: +/35/1043   [???]
Control 0xdf: +/514/65535 C [???]
Control 0xe0: +/514/65535   [???]
Control 0xe1: +/514/65535   [???]
Control 0xe2: +/1/1 C [???]
Control 0xe3: +/0/1 C [???]
Control 0xe4: +/2/3   [???]
Control 0xe5: +/50/100 C [???]
Control 0xe6: +/0/0   [???]
Control 0xe7: +/0/0   [???]
Control 0xe8: +/0/0   [???]
Control 0xe9: +/0/0   [???]
Control 0xea: +/0/5 C [???]
Control 0xeb: +/0/5   [???]
Control 0xec: +/0/5   [???]
Control 0xed: +/0/1   [???]
Control 0xee: +/2/2   [???]
Control 0xef: +/1/1 C [???]
Control 0xf0: +/1/2 C [???]
Control 0xf1: +/0/1 C [???]
Control 0xf2: +/1300/3 C [???]
Control 0xf3: +/1300/3   [???]
Control 0xf4: +/0/8193 C [???]
Control 0xf5: +/0/8193   [???]
Control 0xf6: +/0/1 C [???]
Control 0xf7: +/0/1 C [???]
Control 0xf8: +/0/30 C [???]
Control 0xf9: +/7/10 C [???]
Control 0xfa: +/7/10   [???]
Control 0xfb: +/7/10   [???]
Control 0xfc: +/7/10   [???]
Control 0xfd: +/4/5   [???]
Control 0xfe: +/4/5   [???]
maluramichael commented 4 years ago

I use the same display. Would be great to change the usb upstream settings. Changing the input source via sudo ddccontrol -r 0x60 -w 18 dev:/dev/i2c-3 works great.

ddccontrol version 0.4.4
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-3...
I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BNQ802E.xml"
Document not parsed successfully.

EDID readings:
        Plug and Play ID: BNQ802E [VESA standard monitor]
        Input type: Digital
=============================== 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 ===============================

Writing 0x60, 0x0f(15)...
Invalid response, first byte is 0xdc, should be 0x6e
dc 00 00 00 00 00 00 00 00 00 00                | ...........     
Invalid response, first byte is 0x00, should be 0x6e
00 00 00 00 00 00 00 00 00 00 00                | ...........     
Invalid response, first byte is 0x00, should be 0x6e
00 00 00 00 00 00 00 00 00 00 00                | ...........     
maluramichael commented 4 years ago

I compared all values when switching the upstream modes.

Control 0xd5: +/2/16   [???]                                    Control 0xd5: +/2/16   [???]
Control 0xd6: +/1/5 C [DPMS Control - On]                       Control 0xd6: +/1/5 C [DPMS Control - On]
Control 0xd7: +/1/5   [???]                                     Control 0xd7: +/1/5   [???]
Control 0xd8: +/4/3   [???]                                     Control 0xd8: +/4/3   [???]
Control 0xd9: +/4/3   [???]                                     Control 0xd9: +/4/3   [???]
Control 0xda: +/0/2 C [???]                                     Control 0xda: +/0/2 C [???]
Control 0xdb: +/0/2   [???]                                     Control 0xdb: +/0/2   [???]
Control 0xdc: +/10/1043 C [???]                                 Control 0xdc: +/10/1043 C [???]
Control 0xdd: +/10/1043   [???]                                 Control 0xdd: +/10/1043   [???]
Control 0xde: +/10/1043   [???]                                 Control 0xde: +/10/1043   [???]
Control 0xdf: +/514/65535 C [???]                               Control 0xdf: +/514/65535 C [???]
Control 0xe0: +/514/65535   [???]                               Control 0xe0: +/514/65535   [???]
Control 0xe1: +/514/65535   [???]                               Control 0xe1: +/514/65535   [???]
Control 0xe2: +/1/1 C [???]                                     Control 0xe2: +/1/1 C [???]
Control 0xe3: +/0/1 C [???]                                     Control 0xe3: +/0/1 C [???]
Control 0xe4: +/2/3   [???]                                   | Control 0xe4: +/3/3   [???]
Control 0xe5: +/50/100 C [???]                                  Control 0xe5: +/50/100 C [???]
Control 0xe6: +/1/0   [???]                                     Control 0xe6: +/1/0   [???]
Control 0xe7: +/1/0   [???]                                     Control 0xe7: +/1/0   [???]
Control 0xe8: +/1/0   [???]                                     Control 0xe8: +/1/0   [???]
Control 0xe9: +/1/0   [???]                                     Control 0xe9: +/1/0   [???]
Control 0xea: +/0/5 C [???]                                     Control 0xea: +/0/5 C [???]
Control 0xeb: +/0/5   [???]                                     Control 0xeb: +/0/5   [???]
Control 0xec: +/0/5   [???]                                     Control 0xec: +/0/5   [???]
Control 0xed: +/1/1   [???]                                     Control 0xed: +/1/1   [???]

Looks like 0xE4 has something to do with the upstream mode but when i write to 0xE4 nothing changes.

michael@sirius ~$ sudo ddccontrol -r 0xE4 -w 3 -v  dev:/dev/i2c-3                                                                                                                                                                         
[sudo] password for michael: 
ddccontrol version 0.4.4
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/libexec/ddccontrol/ddcpci 1 -66903706 &...
Reading EDID and initializing DDC/CI at bus dev:/dev/i2c-3...
Serial number: 16843009
Manufactured: Week 3, 2020
EDID version: 1.3
Maximum size: 60 x 34 (cm)
I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BNQ802E.xml"
Document not parsed successfully.
Control redblack has been discarded by the caps string.
Control greenblack has been discarded by the caps string.
Control blueblack has been discarded by the caps string.
Control colortemp has been discarded by the caps string.
Control hpos has been discarded by the caps string.
Control vpos has been discarded by the caps string.
Control hsize has been discarded by the caps string.
Control vsize has been discarded by the caps string.
Control auto has been discarded by the caps string.
Control hpincushion has been discarded by the caps string.
Control hpincushionbalance has been discarded by the caps string.
Control vlinearity has been discarded by the caps string.
Control vlinearitybalance has been discarded by the caps string.
Control hmisconvergence has been discarded by the caps string.
Control vmisconvergence has been discarded by the caps string.
Control keybalance has been discarded by the caps string.
Control key has been discarded by the caps string.
Control tdistortionctrl has been discarded by the caps string.
Control tdistortionbalance has been discarded by the caps string.
Control bdistortionctrl has been discarded by the caps string.
Control bdistortionbalance has been discarded by the caps string.
Control tilt has been discarded by the caps string.
Control hmoire has been discarded by the caps string.
Control vmoire has been discarded by the caps string.
Control focus has been discarded by the caps string.
Control coarse has been discarded by the caps string.
Control fine has been discarded by the caps string.
Control defaultgeom has been discarded by the caps string.
Control settings has been discarded by the caps string.
Control degauss has been discarded by the caps string.
Control power has been discarded by the caps string.

EDID readings:
        Plug and Play ID: BNQ802E [VESA standard monitor]
        Input type: Digital
=============================== 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 ===============================

Writing 0xe4, 0x03(3)...
Control 0xe4: +/3/3   [???]
ddcpci being released...
==>ddcpci is quitting.
grothesque commented 2 years ago

Has anyone found a way to switch USB upstream input source using ddccontrol for this monitor (BenQ PD2700U)?