![]() |
| Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé. | |||||||
|
|||||||
| Debian Vos questions sur la distribution Debian |
![]() |
|
|
Outils de la discussion |
|
|
#1 (permalink) |
|
Membre habitué
![]() Date d'inscription: décembre 2005
Messages: 155
|
bonjour j'ai un problème.
J'ai un pc sous debian avec le serveur Xfree486 installé + un navigateur Web ( pas de bureau genre kde ou gnome ). Ce navigateur doit tourner 24/24/ car le pc est branché sur un écran en vitrine. Le problème c'est qu'il se met en veille toutes les 20 minutes. Voici mon fichier XF86config4 : Code :
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "SendCoreEvents" "true"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Touchscreen1"
Driver "elographics"
Option "Device" "/dev/ttyS0"
Option "AlwaysCore"
Option "screenno" "0"
Option "MinX" "50"
Option "MaxX" "4050"
Option "MinY" "50"
Option "MaxY" "4050"
Option "UntouchDelay" "3"
Option "ReportDelay" "1"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "sis"
Option "XaaNoOffscreenPixmaps"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31-60 # 30-83
VertRefresh 56-75 # 56-76
Option "DPMS" "false"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1100x576" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x576" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
Option "AllowMouseOpenFail" "true"
# InputDevice "Touchscreen1" "SendCoreEvents"
Option "BlankTime" "false" # Affiche un écran noir au bout de 5 minutes
Option "StandbyTime" "false" # Eteint l'écran au bout de 10 minutes (avec DPMS)
Option "SuspendTime" "false" # ?
Option "OffTime" "false" # ?
EndSection
Section "DRI"
Mode 0666
EndSection
Code :
Option "BlankTime" "100000" # Affiche un écran noir au bout de 5 minutes
Option "StandbyTime" "100000" # Eteint l'écran au bout de 10 minutes (avec DPMS)
Option "SuspendTime" "100000" # ?
Option "OffTime" "100000" # ?
J'ai essayé une solution moins artisanal : j'ai ajouter Code :
Option "DPMS" "false" dans device ça ne fonctionne pas l'écran s'etteint toujours. j'ai tapé Code :
setterm -powersave off Code :
cannot (un)set powersave mode |
|
|
|
|
|
#3 (permalink) |
|
Membre habitué
![]() Date d'inscription: décembre 2005
Messages: 155
|
Ouki et je dois mettre DPMS a ON aussi dans screen ou dans monitor ? pour ajouter la section serverflags je fais bien
Code :
Section ServerFlags Option "BlankTime" "0" # Affiche un �cran noir au bout de 5 minu$ Option "StandbyTime" "0" # Eteint l'�cran au bout de 10 minutes $ Option "SuspendTime" "0" # ? Option "OffTime" "0" # ? endSection |
|
|
|
|
|
#4 (permalink) | |
|
Membre éclairé
![]() Date d'inscription: septembre 2007
Localisation: Groville
Messages: 362
|
Citation:
|
|
|
|
|
|
|
#6 (permalink) |
|
Membre habitué
![]() Date d'inscription: décembre 2005
Messages: 155
|
petite question y a quelque chose d'autre qui se met en veille a part le serveur X ?
Parce que j'ai un pc sous ubuntu server ( sans serveur graphique ni bureau ) qui se met en veille quand il est sur les tty. y a une veille des tty ? Comment l'empecher ? edit : J'ai essayé en ajout l'option noacpi et acpi=off sur grub mais j'ai toujurs cette foutu mise en veille qui s'active et j'ai même mis le DPMS à false dans le fichier XF68conf4 dans la section moniteur. je commence à secher la :s Dernière modification par sneb5757 ; 27/06/2008 à 00h51 |
|
|
|
|
![]() |
![]() |
||
empecher mise en veille de XF86config4
|
||
| Outils de la discussion | |
|
|