LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-17-2009, 05:30 PM   #1
Arcalyth
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian Lenny
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply

Tags
blank, compiz, dell, frozen, laptop, resume, screen, script, suspend, touchpad



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony Vaio VGN-TZ195N Debian\Lenny 2.6.24 Kernel Suspend/ Resume Backlight Issues mkisow Linux - Laptop and Netbook 2 03-11-2021 07:50 PM
fedora core 5 boot, suspend, and resume scripts? dansawyer Fedora 1 08-23-2006 06:22 PM
Fedora Core 4 Suspend Resume Mouse Problems eat_laser_scumbag Linux - Laptop and Netbook 4 08-21-2005 04:36 AM
SuSE 9.2: suspend/resume issues with Thinkpad r50p berbsd SUSE / openSUSE 7 11-13-2004 03:21 PM
Suspend / Resume scripts on slackware 9 boney Slackware 0 06-19-2003 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration