Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X.org Hintergrundbeleuchtung TFT abschalten!???
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Mon Jun 21, 2004 11:46 am    Post subject: X.org Hintergrundbeleuchtung TFT abschalten!??? Reply with quote

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
View user's profile Send private message
ossi
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 221
Location: DDR

PostPosted: Mon Jun 21, 2004 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Mon Jun 21, 2004 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
ossi
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 221
Location: DDR

PostPosted: Mon Jun 21, 2004 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerix
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2004
Posts: 104
Location: Germany

PostPosted: Mon Jun 21, 2004 11:39 pm    Post subject: Reply with quote

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
Code:
Option "DPMS"

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
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Tue Jun 22, 2004 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum