You are not logged in.
First sorry if thread is placed in the wrong forum, but I suspect this is somehow X or DE related.
Here's the problem, my screen won't turn back on when I close and open my laptop lid. It doesn't freeze (I can still type sudo reboot in terminal and reboot my system), the screen just remains blank.
I am using Xorg 1.5.3, Openbox, my rc.conf modules are: syslog-ng @hal @alsa @network !netfs !crond
Offline
Try switching to a console TTY (Ctrl+Alt+F1) and back to the X-Server (Ctrl+Alt+F7). It would at least be a workaround and maybe indicate where the problem stems from.
Offline
What is the output of dmesg and the last few output of /var/log/messages.log?
I believe this is acpi related.
Last edited by archlinuxsagi (2009-01-03 02:57:19)
Offline
Try switching to a console TTY (Ctrl+Alt+F1) and back to the X-Server (Ctrl+Alt+F7). It would at least be a workaround and maybe indicate where the problem stems from.
well that turns my screen back on but my touchpad stops working.
xorg output says something like this:
(EE) AlpsPS/2 ALPS GlidePoint: Device has changed - disabling.
What is the output of dmesg and the last few output of /var/log/messages.log?
I believe this is acpi related.
here's my new messages.log (I deleted the old one, rebooted, closed my lid and opened it then copied messages.log on blind from terminal and rebooted).
Offline
:syslog-ng @hal @alsa @network !netfs !crond
You run a tight ship.
I had almost the same problem.
I had to add the following to my /etc/acpi/actions/lm_lid.sh
#! /bin/sh
if grep -q open /proc/acpi/button/lid/LID/state
then
XAUTHORITY=$XAUTHORITY /usr/bin/xset -display :0.0 dpms force on
/usr/sbin/laptop_mode auto
/usr/bin/logger dpms force on
/usr/bin/logger $XAUTHORITY
else
XAUTHORITY=$XAUTHORITY /usr/bin/xset -display :0.0 dpms force off
/usr/in/logger dpms force off
/usr/bin/logger $XAUTHORITY
fi
#test -f /usr/sbin/laptop_mode || exit 0
# lid button pressed/released event handler
#/usr/sbin/laptop_mode auto
This should work for you.
Offline
Unfortunately it doesn't change anything
I have laptop-mode-tools installed btw, I even tried to load laptop-mode in rc.conf... Same thing.
Offline
well that turns my screen back on but my touchpad stops working.
This happens after hibernating/suspend on my laptop too.
#!/bin/sh
# The touchpad module has to be reloaded after hibernating
# (and after suspending, though), because otherwise the touchpad
# remains frozen upon awakening.
modprobe -r psmouse
modprobe psmouse
saved as 95-fixpad.sh in /etc/pm/sleep.d/
did it. Maybe you have another driver.
Offline
Try removing "/usr/bin/" from xset to make it like this:
#! /bin/sh
if grep -q open /proc/acpi/button/lid/LID/state
then
XAUTHORITY=$XAUTHORITY xset -display :0.0 dpms force on
/usr/sbin/laptop_mode auto
/usr/bin/logger dpms force on
/usr/bin/logger $XAUTHORITY
else
XAUTHORITY=$XAUTHORITY xset -display :0.0 dpms force off
/usr/bin/logger dpms force off
/usr/bin/logger $XAUTHORITY
fi
#test -f /usr/sbin/laptop_mode || exit 0
# lid button pressed/released event handler
#/usr/sbin/laptop_mode auto
That worked for me, but I also removed the laptop_mode line because I don't have laptop-mode-tools.
Offline
I'm having a related problem: if I switch to a vt (ctrl+alt+f1 etc), my mouse (touchpad) stops working. removing and reinserting psmouse works, but is there a better solution to this? thanks.
Offline
Having same problem on a Dell D610: after suspend or after switching to another vt then back to X the touchpad does not work. I have not tried installing the synaptics driver though. May try and see if it helps.
Offline
Bump. Same issue when changing to a vc
Offline
I managed to solve this (at least for my laptop)... added acpid daemon to my rc.conf (install with pacman first) and now screen turns on properly, also touchpad works when switching from TTY to X
Offline
There are also some hooks for pm-utils, which, I think (not home atm) go in /etc/pm-utils/sleep.d/.
You can put a script like this there:
#!/bin/bash
case $1 in
suspend)
chvt 1
;;
resume)
chvt 7
;;
Feel free to add module removal/probing as you see fit, it's a script, so you can't basically do anything you want with it.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline