View previous topic :: View next topic |
Author |
Message |
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Mon Jun 21, 2004 11:46 am Post subject: X.org Hintergrundbeleuchtung TFT abschalten!??? |
|
|
hallo,
ich hatte endlich eine funktionierende Konfiguration um die Hintergrundbeleuchtung (backlight) meines TFT abzuschalten. Nach dem Wechsel von XFrre86 auf X.org (evtl. lag es auch am Wechsel von Kernel 2.6.3 auf 2.6.6?) funktioniert das nicht mehr. Schwarz wird der Bildschirm, aber eben noch immer mit Hintergrundbeleuchtung.
/etc/X11/xorg.conf
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
Load "glx"
EndSection
##################
Section "Files"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/ukr/"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
###################
Section "ServerFlags"
EndSection
###################
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "microsoft"
Option "XkbLayout" "de"
EndSection
###################
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "CorePointer"
Option "Buttons" "8"
Option "Name" "MX700"
Option "Protocol" "IMPS/2"
Option "Vendor" "LOGITECH"
Option "ZAxisMapping" "4 5"
EndSection
###################
Section "Monitor"
Identifier "sony"
HorizSync 28-92
VertRefresh 56-85
vendorname "[sony]"
modelname "[sony]"
Option "DPMS" # Wichtig für Hintergrundbeleuchtung abschalten
EndSection
###################
Section "Device"
Identifier "geforce"
Driver "nvidia"
VideoRam 65536
Option "NoLogo" "1"
Option "CursorShadow" "boolean"
Option "DigitalVibrance" "0"
vendorname ""
boardname ""
EndSection
###################
Section "Screen"
Identifier "Screen 1"
Device "geforce"
Monitor "sony"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 0 0
EndSubsection
EndSection
#####################
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
# Diese Zeilen bewirken auch die Abschaltung der Hintergrundbeleuchtung
Option "BlankTime" "5" # Blank the screen after 5 minutes (Fake)
Option "StandbyTime" "10" # Turn off screen after 10 minutes (DPMS)
Option "SuspendTime" "10" # Full suspend after 20 minutes
Option "OffTime" "11" # Turn off after half an hour
EndSection
Section "DRI"
Mode 0666
EndSection
Section "InputDevice"
Identifier "Keyboard"
Option "XkbModel" "microsoft"
Option "XkbLayout" "de"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Driver "mouse"
EndSection
------------------------------------------------------------
Kernel:
Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
#
# APM (Advanced Power Management) BIOS Support
#
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
ossi Apprentice
Joined: 11 Apr 2004 Posts: 221 Location: DDR
|
Posted: Mon Jun 21, 2004 11:54 am Post subject: |
|
|
in xorg.conf sektion "ServerLayout"
steht bei mir
Code: | Option "OffTime" "3" |
und damit geht nach 3 minuten "nichtstun" das licht aus ! |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Mon Jun 21, 2004 12:49 pm Post subject: |
|
|
Ich hatte diese Option bereits gesetzt!
Ich habe dann auch mal die anderen Optionen deaktiviert:
Option "BlankTime" "5" # Blank the screen after 5 minutes (Fake)
Option "StandbyTime" "10" # Turn off screen after 10 minutes (DPMS)
Option "SuspendTime" "10" # Full suspend after 20 minutes
Auch das brachte keine Besserung. Soll ich denn den KDE Bildschirmschoner auch noch ausschalten? _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
ossi Apprentice
Joined: 11 Apr 2004 Posts: 221 Location: DDR
|
Posted: Mon Jun 21, 2004 12:51 pm Post subject: |
|
|
SvenFischer wrote: | Soll ich denn den KDE Bildschirmschoner auch noch ausschalten? |
probier das doch mal, wenn ich mich recht entsinne musste ich auch den xscreensaver bei mir deaktivieren. |
|
Back to top |
|
|
gerix Tux's lil' helper
Joined: 12 May 2004 Posts: 104 Location: Germany
|
Posted: Mon Jun 21, 2004 11:39 pm Post subject: |
|
|
an meinem laptop habe ich das gleiche problem:
kernel 2.6.6, Nvidia 1.0.5341-r1 (geforce fx go 5200)
ich habe sichergestellt, dass DPMS aktiviert ist:
Code: | # cat /var/log/Xorg.0.log|grep DPMS
(II) Loading extension DPMS
(**) NVIDIA(0): DPMS enabled]
|
in der Section "Monitor" der xorg.conf steht ja auch
dann habe ich in die Section "ServerFlags" eingetragen:
Code: | Option "BlankTime" "1"
Option "StandbyTime" "2"
Option "SuspendTime" "3"
Option "OffTime" "4"
|
x neu gestartet und gewartet... leider ging die hintergrundbeleuchtung auch nach 5min nicht aus.. (nur schwarzer bildschirm)
könnte am kernel oder an xorg liegen!?
aber vielleicht hilft jemanden dieses vorgehen weiter.
gute anlaufstelle für die xorg.conf einstellungen ist übrigens http://freedesktop.org/~xorg/X11R6.7.0/doc/xorg.conf.5.html
oder
#man xorg.conf _________________ mfg
gerix |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Tue Jun 22, 2004 6:18 am Post subject: |
|
|
Scheinbar hängt es auch von dem Grafikkartentreiber NVidia ab, evtl. ist der in der aktuellen Version fehlerhaft, denn ich habe auch 1.0.5336-r2, die -r3 Version lässt sich bei mir noch nicht kompilieren, dürfte aber auch keine Besserung bringen. _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
|