From: Nicolas B. <ni...@bo...> - 2005-09-20 12:52:06
|
Hi Paul, On Wed, 2005-09-14 at 23:58 +1000, Paul Andreassen wrote: > On Wed, 14 Sep 2005 08:47 am, Nicolas Boichat wrote: > > Your monitors are very similar to my Mitsubishi 2060u. Could you try to > > put the attached files in ddccontrol-db/db/monitor (and run "make > > install" again of course)? Then please send me the outputs of the same > > two commands (so I can see if there is missing controls, and ask > > Mitsubishi for their meanings). > > The MEL4513 (Mitsubishi Diamond Plus 92) returns 'Error while getting value: > Vertical Linearity', 'Vertucal Linearity Balance', 'Top Corner Distortion > Balance' and 'Bottom Corner Distortion Balance' when running gddccontrol. > $ LANG= LC_ALL= ddccontrol -p -c -d > out.txt 2>&1 Ok. Please replace MEL44B0.xml with the one attached, it should make these error messages disappear. > The only problem with the MEL4513 (Mitsubishi Diamond Pro 2070sb) seems to be > the OSD language setting. I have it set on English but gddccontrol shows it > as German. > $ LANG= LC_ALL= ddccontrol pci:01:00.0-2 -c -d > out2.txt 2>&1 Ok that's a minor problem. Thanks for both outputs, I'll send them to NEC/Mitsubishi, and recontact you when I have better monitor xml files, with missing controls. > > > I've compile this under Debian Stable (with some unstable programs > > > installed) and ran into the "ddccontrol-0.2 compile error" reported > > > earlier on this mail-list. My fix was to force Xinerama in the configure > > > script because it wasn't detected and I need it. Attached is the > > > relevant part of config.log which may show why it wasn't detected. > > > > Strange problem... Could you tell me what you did exactly to force > > Xinerama to be enabled? > > > > I added a 'ac_cv_lib_Xinerama_XineramaQueryExtension=yes' to line 8531 in the > configure script. This skips the test and sets Xinerama as present. The > conftest.c program will compile by adding the '-lXext' option to the gcc > command. Ok... Anyway I'll stop using Xinerama in the next releases (GTK provides everything needed), so I won't take time to fix this problem. > The following script adjusts my monitors' brightness depending on daytime or > nighttime. Thank you because I use to do this manually. > > HOUR=$(date +%H) > echo HOUR=$HOUR > > READ=$(ddccontrol pci:01:00.0-1 -r 0x12) > READ=${READ##*+/} > READ=${READ%%/*} > echo READ=$READ > > if (($HOUR > 6)) && (($HOUR < 17)); then > if (($READ != 230)); then > ddccontrol pci:01:00.0-2 -r 0x12 -w 230 -s > ddccontrol pci:01:00.0-1 -r 0x12 -w 230 -s > ddccontrol pci:01:00.0-2 -r 0x10 -w 204 -s > ddccontrol pci:01:00.0-1 -r 0x10 -w 204 -s > fi > else > if (($READ != 128)); then > ddccontrol pci:01:00.0-2 -r 0x12 -w 127 -s > ddccontrol pci:01:00.0-1 -r 0x12 -w 128 -s > ddccontrol pci:01:00.0-2 -r 0x10 -w 102 -s > ddccontrol pci:01:00.0-1 -r 0x10 -w 102 -s > fi > fi Nice! Best regards, Nicolas |