[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696996: ddccontrol fails to open i2c device



Package: ddccontrol
Version: 0.4.2-10
Severity: important

Dear Maintainer,

I used to use ddccontrol to adjust the monitor brightness on my EIZO FS2332,
which worked fine on my previous system, a Pentium 4 (i386) with nvidia
graphics. I now upgraded to an i7 (amd64) with a newer nvidia card, but use
the same monitor, and ddccontrol no longer works. Here's what's happening:

Probing for the monitor works:
----------------------------------------------------------------------------
# ddccontrol -p
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.

Probing for available monitors....I/O warning : failed to load external
entity "/usr/share/ddccontrol-db/monitor/ENC2263.xml"
Document not parsed successfully.
.......
Detected monitors :
 - Device: dev:/dev/i2c-5
   DDC/CI supported: Yes
   Monitor Name: VESA standard monitor
   Input type: Digital
  (Automatically selected)
Reading EDID and initializing DDC/CI at bus dev:/dev/i2c-5...
Invalid response, first byte is 0x00, should be 0x6e
0000: 00 00 00 80 80 be 6e 6e 80 be be 6e 80 be be 6e | ......nn...n...n
0010: 80 80 be 26 be be 80 80 be 6e 80 be be be 80 be | ...&.....n......
0020: be 80 80 be be be 80 be be 6e 80 80 be be be 80 | .........n......
0030: be be be 80 be be 80 80 be 6e 80 be be 6e 80 80 | .........n...n..
0040: be be be                                        | ...             
Invalid response, first byte is 0x00, should be 0x6e
0000: 00 be be be 6e 80 be be 6e be 80 be be 6e be 80 | ....n...n....n..
0010: be be 6e be 80 be be 6e be 80 be be be 26 f5 80 | ..n....n.....&..
0020: be be 80 80 be be be 80 be be be 80 be 6e 6e 80 | .............nn.
0030: be be be 80 be be be 80 80 be 80 80 be be 80 be | ................
0040: be 6e 80                                        | .n.             
Invalid response, first byte is 0x00, should be 0x6e                                                             
0000: 00 00 00 80 be be be be 80 80 be be be 6e 80 be | .............n..                                         
0010: be 6e be 80 be be 6e be 80 be be be be 80 be be | .n....n.........                                         
0020: 6e be 26 f5 07 80 80 be be be 80 be be 80 80 be | n.&.............                                         
0030: be be 80 be be 6e 80 80 be be be 80 be be be 80 | .....n..........                                         
0040: 80 be 80                                        | ...                                                      
I/O warning : failed to load external entity
"/usr/share/ddccontrol-db/monitor/ENC2263.xml"                      
Document not parsed successfully.                                                                                
                                                                                                                 
EDID readings:                                                                                                   
        Plug and Play ID: ENC2263 [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 ===============================

= VESA standard monitor
----------------------------------------------------------------------------

The "missing entity" is normal, it just means that there is no
monitor-specific profile and the generic VESA profile is used. The monitor
appears to be accessible via /dev/i2c-5.

What is not normal, and what did not happen on my previous system are the
"Invalid response" error messages. If you look into the hex dumps, the
often expected byte 0x6e does appear in the data, just not at the
beginning. It therefore looks like the data might be shifted, or the wrong
offsets be used. This is just a guess, but I suppose this could be an effect
of the 64-bit architecture?

I recompiled ddccontrol from the latest upstream sources, and the problem
remains, so its not specifically a Debian package problem.

I tried to install the i386 version of the packages (my system is
multiarch-enabled) but this failed because ddccontrol:i386 depends on
ddccontrol-db:i386, which does not seem to exist (which makes sense since
the database should be architecture-independent).

Since neither the Debian package nor the upstream project seem to be
maintained any longer: Is there an alternative to control monitor settings
by computer (because there are no monitor buttons to do that, and the remote
is inconvenient)?


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ddccontrol depends on:
ii  ddccontrol-db   20061014-4
ii  libc6           2.13-37
ii  libddccontrol0  0.4.2-10
ii  libpci3         1:3.1.9-6
ii  libxml2         2.8.0+dfsg1-7

ddccontrol recommends no packages.

ddccontrol suggests no packages.

-- no debconf information


Reply to: