LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Suspend/Resume - custom scripts and mouse issues (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suspend-resume-custom-scripts-and-mouse-issues-705475/)

Arcalyth 02-17-2009 05:30 PM

Suspend/Resume - custom scripts and mouse issues
 
Hi. I recently installed Debian Lenny onto my Dell Studio XPS 16 laptop. I'm having issues getting resume to work properly. I can suspend, but when I resume and compiz was running, my screen shows up with only my cursor and some corrupted textures. I attempted to solve this by writing a script /etc/acpi/suspend.d/00-compiz.sh that executes the following:
Code:

#!/bin/sh
killall compiz
killall compiz.real
xfwm4

and /etc/acpi/resume.d/99-compiz.sh
Code:

#!/bin/sh
killall xfwm4
compiz --replace

These scripts don't appear to be working, however. Manually killing compiz before suspending will show my screen as normal upon resume, but simply running pm-suspend, gnome-power-cmd, or /usr/share/acpi-support/suspendorhibernate won't.

In both cases, my touchpad becomes completely unusable on resume. I tried to solve this by using another script:
Code:

#!/bin/sh
modprobe -r psmouse
echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind
echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind
modprobe psmouse

It doesn't work and I'm not sure what else to try.

Can anyone help? This issue is really the only one keeping me from using Linux permanently on my laptop.


All times are GMT -5. The time now is 01:33 PM.