LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Crash Monitor/Display regularly? (https://www.linuxquestions.org/questions/debian-26/crash-monitor-display-regularly-4175471486/)

Xeratul 07-30-2013 01:21 PM

Crash Monitor/Display regularly?
 
Hi,

I have reinstalled Debian, and visibly
my Monitor turns off.

Similarly to the DPMS OFF.


I can still do SSH, and I typed:

vbetool dpms on
as indicated here, but the monitor does not turn ON again..

https://wiki.debian.org/accessibility

What would you suggest?

thanks in advance




edit: if I do over ssh (su): echo 3 > /proc/acpi/sleep
then the all pc is crashed !
cold reset
Code:


(2) systems where it is possible to call the video BIOS during S3
  resume. Unfortunately, it is not correct to call the video BIOS at
  that point, but it happens to work on some machines. Use
  acpi_sleep=s3_bios.

(3) systems that initialize video card into vga text mode and where
  the BIOS works well enough to be able to set video mode. Use
  acpi_sleep=s3_mode on these.

(4) on some systems s3_bios kicks video into text mode, and
  acpi_sleep=s3_bios,s3_mode is needed.

(5) radeon systems, where X can soft-boot your video card. You'll need
  a new enough X, and a plain text console (no vesafb or radeonfb). See
  http://www.doesi.gmxhome.de/linux/tm800s3/s3.html for more information.
  Alternatively, you should use vbetool (6) instead.

(6) other radeon systems, where vbetool is enough to bring system back
  to life. It needs text console to be working. Do vbetool vbestate
  save > /tmp/delme; echo 3 > /proc/acpi/sleep; vbetool post; vbetool
  vbestate restore < /tmp/delme; setfont <whatever>, and your video
  should work.


Xeratul 07-30-2013 01:40 PM

OK... temporally I enginneeered this very ugly script that is started at boot:

by vbetool.sh on


Code:

if [ "$1" = "--loopdpmsoff"    ] ; then
  while [ 1 ] ; do
    sudo vbetool dpms off
    echo "DPMS OFF"
    echo sleeping_dpms_off
    sleep 5m
    echo sleeping
    sudo vbetool dpms off
  done
  exit
fi






if [ "$1" = "--loopdpmson"    ] ; then

  while [ 1 ] ; do
    sudo vbetool dpms on
    echo "DPMS ON"
    echo sleeping_dpms_on
    sleep 5m
    echo sleeping
    sudo vbetool dpms on
  done
  exit
fi





if [ "$1" = "on"    ] ; then
        cd
        screen -ls
        if [ "$DISPLAY" != ""    ] ; then
            xterm  -e screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmson
          else
            screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmson
        fi


  exit
fi




if [ "$1" = "off"    ] ; then
        cd
        screen -ls
        if [ "$DISPLAY" != ""    ] ; then
            xterm-e screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmsoff
          else
            screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmsoff
        fi


  exit
fi

let's test if it fixes the x11 bug or whatever it might be


All times are GMT -5. The time now is 04:24 PM.