Commit 0f5e3686 authored by Miroslav Kravec's avatar Miroslav Kravec

Merge branch 'master' into L1760TR

parents 91f53914 22f28341
*~
Makefile
Makefile.in
/.exrc
/ABOUT-NLS
/aclocal.m4
/autom4te.cache
/ChangeLog.bak
/compile
/config.guess
/config.log
/config.log
/config.rpath
/config.rpath
/config.status
/config.status
/config.sub
/configure
/depcomp
/install-sh
/intltool-extract
/intltool-extract.in
/intltool-merge
/intltool-merge.in
/intltool-update
/intltool-update.in
/libtool
/ltmain.sh
/m4
/missing
/mkinstalldirs
/po/*.gmo
/po/Makevars.template
/po/POTFILES
/po/stamp-it
# autotools generated files
/po/Makefile.in.in
/po/Rules-quot
# build generated files
/db/options.xml
/db/options.xml.h
language: cpp
dist: precise
sudo: false
addons:
apt:
packages:
- intltool
- autoconf
- autopoint
- libxml2-dev
- pciutils-dev
- libgtk2.0-dev
install:
- export DDCCONTROL_BUILD_DIR="$(mktemp -dt ddccontrol_build.XXX)"
- git clone --branch 0.4.3 https://github.com/ddccontrol/ddccontrol.git ${DDCCONTROL_BUILD_DIR}
- bash -c "cd ${DDCCONTROL_BUILD_DIR} && ./autogen.sh && ./configure && make -j4"
- export PATH="${DDCCONTROL_BUILD_DIR}/src/ddccontrol:${PATH}"
script:
- ./autogen.sh
- ./configure
- make -j4
- make check-db
- ./scripts/travis_ci_after_build_checks.sh
vdovikin:Oleg I. Vdovikin <oleg@cs.msu.su>
nboichat:Nicolas Boichat <nicolas@boichat.ch>
el_cubano:Roberto C. Sanchez <roberto@connexer.com>
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
......@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
......@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
......@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
......@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -303,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
2017-12-17 Miroslav Kravec <kravec.miroslav@gmail.com>
* db/monitor/DELA02A.xml, db/monitor/DELA02B.xml, db/monitor/DELA02C.xml:
Add support for Dell 2408WFP (DVI, DisplayPort, HDMI), thanks to Simon
Arlott
* db/monitor/DELA0BE.xml, db/options.xml.in: Add support for Dell P2415Q,
thanks to Stefan Breunig
2017-07-13 20:16 Thanks to many authors
* db/monitor/ACI19E5.xml: Add support for Asus VH196T
* db/monitor/AOC2260.xml: Add support for AOC 2260
* db/monitor/AOClcd.xml: Add support for AOC standard LCD
* db/monitor/BNQ78DB.xml: Add support for BenQ GW2270H
* db/monitor/BNQ7F1C.xml: Add support for BenQ RL2455HM
* db/monitor/BNQ7F31.xml: Add support for BENQ XL2411Z
* db/monitor/DEL4063.xml: Add support for Dell Ultrasharp u3011
* db/monitor/DEL4080.xml: Add support for Dell U2713HM
* db/monitor/DELA03D.xml: Add support for Dell 1909W (DVI)
* db/monitor/DELA05F.xml: Add support for Dell U2311H
* db/monitor/DELA060.xml: Add support for Dell U2311H (DisplayPort)
* db/monitor/DELF017.xml: Add support for Dell Ultrasharp u2410 (Rev A02)
* db/monitor/NEC6699.xml: Add support for NEC Multisync 20WGX2 Pro
* db/monitor/PHL08DC.xml: Add support for Philips 221P6Q
* db/monitor/SAM0868.xml: Add support for Samsung SyncMaster S22A100N (VGA)
* db/monitor/DEL400C.xml: Updated support for Dell 1905FP (analog)
* db/monitor/DEL400D.xml: Updated support for Dell 1905FP (digital)
* db/monitor/DELA017.xml: Updated support for Dell 2407WFP (DVI)
* db/monitor/DELA021.xml: Updated support for Dell 2007FP (DVI)
* db/monitor/GSM4E3A.xml: Updated support for LG Flatron L2000C (Digital)
* db/monitor/PHLlcd.xml: Updated support for Philips standard LCD
* db/monitor/SNY07B0.xml: Updated support for SONY G520
2008-02-18 23:50 Roberto C. Sanchez <roberto@connexer.com>
* [r796] db/monitor/HWP2647.xml: Add support for HP VS17E, thanks
to Ramadhian Moestafa
2008-02-18 23:46 Roberto C. Sanchez <roberto@connexer.com>
* [r794] db/monitor/VSCE41B.xml: Add support for ViewSonic VP930,
thanks to Wolfgang Frisch
2008-02-18 23:38 Roberto C. Sanchez <roberto@connexer.com>
* [r792] db/monitor/ENC1887.xml: Add support for Eizo FlexScan
S2431W, thanks to Robert Siemer
2008-02-18 23:01 Roberto C. Sanchez <roberto@connexer.com>
* [r790] db/monitor/PHL082F.xml: Add support for Philips 190S6,
thanks to Nicolas Damgaard Larsen
2008-02-18 22:57 Roberto C. Sanchez <roberto@connexer.com>
* [r788] db/monitor/DEL5000.xml: Add support for Dell P1100, thanks
to Alexadre Lissy
2008-02-18 22:49 Roberto C. Sanchez <roberto@connexer.com>
* [r786] db/monitor/MED89DD.xml: Add support for Medion MD30699,
thanks to Carsten Raehder
2008-02-18 22:41 Roberto C. Sanchez <roberto@connexer.com>
* [r784] db/monitor/HWP0A72.xml: Add support for HP LP2065, thanks
to Joerg Ditzel and Pieter De Wit
2008-02-18 22:35 Roberto C. Sanchez <roberto@connexer.com>
* [r782] db/monitor/GSM4B3E.xml: Add support for LG 1953S
2008-02-18 22:29 Roberto C. Sanchez <roberto@connexer.com>
* [r780] db/monitor/SNY07B0.xml: Add support for Sony G520, thanks
to Gavin Dunse
2008-02-18 22:21 Roberto C. Sanchez <roberto@connexer.com>
* [r778] db/monitor/BNQ76CD.xml: Add support for BenQ FP222WH
2008-02-18 21:53 Roberto C. Sanchez <roberto@connexer.com>
* [r776] db/monitor/DELD014.xml: Add support for Dell E228WFP
2008-02-18 21:40 Roberto C. Sanchez <roberto@connexer.com>
* [r774] db/monitor/ACRAD63.xml: Add support for Acer AL1916
2008-02-18 21:21 Roberto C. Sanchez <roberto@connexer.com>
* [r772] db/monitor/DEL4016.xml: Add support for Dell 3007WFP,
thanks to Aurobinda Maharana
2008-02-18 21:15 Roberto C. Sanchez <roberto@connexer.com>
* [r770] db/monitor/DELA017.xml: Support for Dell 2407WFP
2007-10-29 07:06 Roberto C. Sanchez <roberto@connexer.com>
* [r756] po/LINGUAS, po/es.po: Add Spanish translation
2007-10-28 04:20 Roberto C. Sanchez <roberto@connexer.com>
* [r735] db/monitor/SAM0107.xml: Add support for Samsung SyncMaster
793DF, thanks to Leonardo Fontenelle
2007-10-28 03:58 Roberto C. Sanchez <roberto@connexer.com>
* [r731] db/monitor/SAM030F.xml: Add support for Samsung SyncMaster
226CW, thanks to Willi Wurstig
2007-10-28 03:42 Roberto C. Sanchez <roberto@connexer.com>
* [r729] db/monitor/SAM027F.xml: Add support for Samsung SyncMaster
226BW, thanks to Den Jean
2007-10-28 03:06 Roberto C. Sanchez <roberto@connexer.com>
* [r726] db/monitor/SAM021A.xml: Support for Samsung SyncMaster
960BG variant
2007-10-28 02:40 Roberto C. Sanchez <roberto@connexer.com>
* [r723] AUTHORS, COPYING, commit.sh: Update FSF address and fix
commit script to work with subversion
2007-10-27 03:53 el_cubano
* db/monitor/SAM01B7.xml: Add support for Samsung SyncMaster N740
(Thanks to Ramadhian Moestafa)
2007-10-27 02:22 el_cubano
* db/monitor/NEC6605.xml, po/Makefile.in.in: Add support for NEC
2080UX (Thanks to Robert Schedel)
2007-06-21 12:34 nboichat
* db/monitor/SAM0161.xml: Add support for Samsung SyncMaster 931BF,
thanks to Tobias Niemann.
2007-06-21 12:31 nboichat
* db/monitor/SAM0258.xml: Improve support for Samsung SyncMaster
931C. Thanks to Jan Wagner.
2007-06-21 12:29 nboichat
* db/monitor/SAM0259.xml, db/monitor/SAM027D.xml, scripts/samsung:
Add support for Samsung SyncMaster 931c, thanks to Tomasz Moń.
2007-06-21 12:25 nboichat
* db/monitor/SAM0225.xml: Add support for Samsung Syncmaster 940BW,
thanks to Thomas Raffler.
2007-06-21 12:24 nboichat
* db/monitor/SAM0219.xml: Add support for Samsung SyncMaster 960BG,
thanks to Serge Fedotov.
2007-06-21 12:22 nboichat
* db/monitor/SAM0216.xml: Add support for Samsung Syncmaster 731BF,
thanks to Judit Nagy.
2007-06-21 12:20 nboichat
* db/monitor/SAM0218.xml, db/monitor/SAMmb6.xml, scripts/samsung:
Add support for Samsung SyncMaster 931BF. Thanks to Johannes
Raspe.
2007-06-21 11:59 nboichat
* db/monitor/SAM01C2.xml: Add support for Samsung SyncMaster 750B,
thanks to Alex V Breger.
2007-06-21 11:59 nboichat
* db/monitor/SAM021D.xml: Add support for Samsung SyncMaster 205BW,
thanks to Erik Martens.
2007-06-21 11:57 nboichat
* db/monitor/SAM0226.xml, scripts/samsung: Add support for Samsung
SyncMaster 940BW, thanks to David Chang.
2007-06-21 11:50 nboichat
* db/monitor/SAM01E9.xml: Add support for Samsung SyncMaster 940FN,
thanks to Paweł Wasylewicz.
2007-06-21 11:49 nboichat
* db/monitor/SAM01E1.xml: Add support for Samsung SyncMaster 940N,
thanks to Jan Dumon.
2007-06-21 11:47 nboichat
* db/monitor/STN0019.xml: Add support for Samsung Samtron 91S.
Thanks to Peter.
2007-06-21 11:45 nboichat
* db/monitor/SAM0247.xml: Add support for Samsung SyncMaster 971P
(VGA). Thanks to Mark.
2007-06-21 11:42 nboichat
* db/monitor/: ACR2416.xml, DEL50AB.xml, GSM4E3A.xml, SAM0255.xml,
SAM026F.xml, SAM027D.xml: Add credits in db files.
2007-06-21 11:34 nboichat
* scripts/samsung: Add script to auto-generate Samsung database
files.
2007-06-21 11:33 nboichat
* db/monitor/SAM00C8.xml: Add support for Samsung SyncMaster 172X,
thanks to Sergey Lenkov.
2007-06-21 10:40 nboichat
* db/monitor/: MEL463D.xml, SAM01DD.xml: Samsung SyncMaster 740BF
(DVI). Thanks to "basic".
2007-06-21 10:30 nboichat
* db/monitor/NEC6669.xml: Add support for NEC AccuSync LCD92V.
Thanks to Francois.
2007-06-21 10:26 nboichat
* db/monitor/SNY1B70.xml: SONY HMD-A230. Thanks to François
Blasin.
2007-06-21 10:18 nboichat
* db/monitor/MEL463D.xml: Add support for Mitsubishi DiamondPro
930SB, thanks to "gpe92".
2007-06-21 10:12 nboichat
* db/: options.xml, options.xml.h, options.xml.in,
monitor/DEL50AB.xml: Add support for DELL P1100, thanks to
Grzegorz Kurtyka.
2007-06-21 10:02 nboichat
* db/: options.xml, options.xml.h, options.xml.in,
monitor/SAM0255.xml, monitor/SAM027D.xml: Add support for Samsung
SyncMaster 225BW. SAM027D.xml was for Samsung SyncMaster 206BW
and not for Samsung SyncMaster 226BW. Thanks to Oleg Artamonov.
2007-06-21 09:59 nboichat
* db/monitor/: GSM4E3A.xml, SAM026F.xml, SAM027D.xml: Add support
for: - Samsung SyncMaster 932B (Digital) - Samsung SyncMaster
226BW (Digital) - LG Flatron L2000C (Digital)
Thanks to Oleg Artamonov.
2007-06-21 09:50 nboichat
* db/monitor/ACR2416.xml: Add support for Acer AL2416Ws, thanks to
Oleg Artamonov.
2006-10-14 06:36 nboichat
* NEWS, configure.ac, db/options.xml: Prepare release 20061014
......
......@@ -4,7 +4,7 @@ Release Check List (Nicolas Boichat)
- make update-po
- poedit fr.po
- cvs commit
- svn commit
- update NEWS
- make clean
- change date in configure.ac
......@@ -23,7 +23,7 @@ Release Check List (Nicolas Boichat)
- cd ..
- ./commit.sh "Prepare release xx"
- cvs tag Release-xx
- svn cp https://ddccontrol.svn.sourceforge.net/svnroot/ddccontrol/trunk/ddccontrol-db https://ddccontrol.svn.sourceforge.net/svnroot/ddccontrol/tags/ddccontrol-db-xx -m "Tag release xx"
- make dist-bzip2
- ftp upload.sourceforge.net:
......
......@@ -2,5 +2,10 @@ SUBDIRS= db po
EXTRA_DIST = config.rpath intltool-extract.in intltool-merge.in intltool-update.in xml2h.pl po/POTFILES
# needed to conform GNU standards
# TODO: more sophisticated solution is welcome
README: README.md
cp $< $@
check-db:
cd db && make check-db
[![Build Status][travis-badge]][travis]
[travis-badge]: https://travis-ci.org/ddccontrol/ddccontrol-db.svg?branch=master
[travis]: https://travis-ci.org/ddccontrol/ddccontrol-db
# DDC/CI control database
Project `ddccontrol-db` contains database of monitor descriptors, which are used by `ddccontrol` and `gddccontrol` utilities to control monitor parameters using DDC/CI protocol.
* [Installation](#installation)
* [Installation from official packages](#installation-from-official-packages)
* [Installation from sources](#installation-from-sources)
* [Usage](#usage)
* [From GUI using gddccontrol](#from-gui-using-gddccontrol)
* [From command line using ddccontrol](#from-command-line-using-ddccontrol)
* [License](#license)
## Installation
The most convenient way to install `ddccontrol-db` is to use packages from official distribution repositories.
Manual installation is more complicated, but contains latest monitor profiles.
### Installation from official packages
On Ubuntu based distrubtions `ddccontrol-db`, along with utilities, can be installed using `apt`:
```shell
sudo apt install ddccontrol ddccontrol-db gddccontrol
```
Instructions for other distributions will be prepared later.
### Installation from sources
Install build depedencies (on Ubuntu):
```shell
sudo apt install intltool
```
Instructions for dependecies installation will be prepared later.
Latest repository can be cloned and built by:
```shell
git clone https://github.com/ddccontrol/ddccontrol-db.git
cd ddccontrol-db
./autogen.sh
./configure --prefix=/usr/
make
```
Finally, the build can be installed using:
```shell
sudo make install
```
## Usage
Monitor database is used indirectly with `ddccontrol` and `gddccontrol` utilities.
### From GUI using gddccontrol
`gddccontrol` is a graphical utility for monitor configuration. It is called **Monitor Settings** in list of applications.
Currently, root privileges are required to control monitor parameters, therefore the launcher automatically asks for a password.
Utility can launched directly from commandline:
```shell
sudo gddccontrol
```
### From command line using ddccontrol
`ddccontrol` allows monitor configuration directly from commandline. To probe I2C devices to find monitor buses use:
```shell
sudo ddccontrol -p
```
To read value of control `0x10` (brightness on VESA compliant monitors) for device `dev:/dev/i2c-4`:
```shell
sudo ddccontrol -r 0x10 dev:/dev/i2c-4
```
To set value of control `0x10` (brightness on VESA compliant monitors) to `75` for device `dev:/dev/i2c-4`:
```shell
sudo ddccontrol -r 0x10 -w 75 dev:/dev/i2c-4
```
See `ddccontrol -h` for more information.
## License
The project is licensed under `GNU General Public License v2.0` license. See [COPYING](COPYING) for details.