View Full Version : [ubuntu] No trackpad after wakeup from suspend
anando
December 9th, 2008, 08:19 PM
Hi
I would be grateful for your advice regarding my macbook pro (1,1) running Intrepid Ibex and open source radeon driver (not fglrx).
It suspends and wakes up fine - but after it does, I can't use my trackpad anymore.
- Anando.
Dareajoe
December 10th, 2008, 07:22 AM
How do I set different mouse and trackpad speeds on Windows 2000 or XP laptop?I just got a wireless mouse for my laptop, and it is more sensitive than my trackpad. I went in to the Control Panel to lower the mouse pointer speed for the wireless mouse. This affected the trackpad, and now it is not sensitive enough. How can I configure these speeds separately?Thanks.
cyberdork33
December 11th, 2008, 04:51 PM
It suspends and wakes up fine - but after it does, I can't use my trackpad anymore.
after you resume and it is not working, run
sudo modprobe -r appletouch
then
sudo modprobe appletouch and see if it works.
anando
December 11th, 2008, 05:24 PM
Many thanks cyberdork - is there a way to make it happen automagically ? Perhaps a script or similar which gets executed after wake up from suspend ... just thinking aloud.
Cheers,
Anando.
after you resume and it is not working, run
sudo modprobe -r appletouch
then
sudo modprobe appletouch and see if it works.
anando
December 11th, 2008, 05:49 PM
I poked around a bit and added
modprobe -r appletouch
modprobe appletouch
to /etc/acpi/resume.d/99-macbook-fix.sh
But that does not work for me. I'd be grateful for any advice.
Incidentally, after resume, my USB mouse works for me.
Cheers,
Anand.
Many thanks cyberdork - is there a way to make it happen automagically ? Perhaps a script or similar which gets executed after wake up from suspend ... just thinking aloud.
Cheers,
Anando.
cyberdork33
December 12th, 2008, 11:42 AM
So I assume reloading the module worked?
You should be able to add modules that you want unloaded on suspend and reloaded on resume in /etc/default/acpi-support
anando
December 12th, 2008, 02:17 PM
Hi cyberdork
So I assume reloading the module worked?
You should be able to add modules that you want unloaded on suspend and reloaded on resume in /etc/default/acpi-support
Yes, reloading the module worked like a charm. Sorry I should have mentioned it earlier.
So, if I add appletouch to STOP_SERVICES, it would work. Do I understand you correctly ?
Cheers,
Anando.
cyberdork33
December 12th, 2008, 05:16 PM
So, if I add appletouch to STOP_SERVICES, it would work. Do I understand you correctly ?
It isn't a service, so no that wouldn't work.
I was referring to the "MODULES=" section, but from reading the top section of this file, it is depreciated now. I am not sure where to configure it.
ilsamos
December 15th, 2008, 06:21 PM
I have the same problem, no solution yet?
Thanks
Andrea
anando
December 15th, 2008, 08:43 PM
Andrea,
Yeah - I am awaiting a tip from our more experienced friends as well ...
A temporary solution is: after you wake up from suspend, and presented with your desktop with no trackpad working, do the following:
* Press Alt+F2 - this will open the 'Run Application' dialogue box
* Type xterm and press enter - this will open a terminal for you
* In the terminal, type (in succession):
sudo modprobe -r appletouch
sudo modprobe appletouch
Now you should have your trackpad working again.
This is a minor inconvenience - but one nevertheless. I wish there was an automatic way of modprobing appletouch upon wakeup - anyone ?
Cheers,
Anando.
cyberdork33
December 15th, 2008, 11:01 PM
Andrea,
Yeah - I am awaiting a tip from our more experienced friends as well ...
A temporary solution is: after you wake up from suspend, and presented with your desktop with no trackpad working, do the following:
* Press Alt+F2 - this will open the 'Run Application' dialogue box
* Type xterm and press enter - this will open a terminal for you
* In the terminal, type (in succession):
sudo modprobe -r appletouch
sudo modprobe appletouch
Now you should have your trackpad working again.
This is a minor inconvenience - but one nevertheless. I wish there was an automatic way of modprobing appletouch upon wakeup - anyone ?
Cheers,
Anando.
Well, you should be able to add those commands to a script similar to what you tried before, but those scripts don't seems to be executed.
According to the acpi-support file, it sounds like gnome-power-manager should be handling this now, I would start looking for its documentation.
ilsamos
December 17th, 2008, 05:48 PM
I think I have solved this problem! :guitar:
Maybe it's not exactly a smart solution but it works on my Macbook Santa Rosa 4,1 !
Just try to follow theese steps:
open the file /etc/default/acpi-support with your preferred editor:
sudo gvim /etc/default/acpi-support
find the line:
SUSPEND_METHODS="dbus-pm dbus-hal pm-utils"
and replace with:
SUSPEND_METHODS="pm-utils"
save, then type:
touch /etc/pm/sleep.d/99-macbook_fix
sudo chmod +x /etc/pm/sleep.d/99-macbook_fix
sudo gvim /etc/pm/sleep.d/99-macbook_fix
and write in it:
#!/bin/sh
modprobe -r appletouch
modprobe appletouch
save, reboot (I don't know if it is really needed but I did) and try to hibernate and wake up your mac!
I must thank the author of this webpage who inspired me the solution:
http://handyfloss.net/2008.11/hibernating-my-macbook-under-ubuntu-intrepid-ibex/
Let me know if it works for you too!
Bye
Andrea :p
ilsamos
December 17th, 2008, 06:15 PM
I suggest you to read the webpage I linked before, there's something strange (a bug) with acpi which may shorten hard drives lifetime..
Please excuse me for my bad English. :-?
anando
December 17th, 2008, 06:45 PM
Hey Andrea - Awesome - I got this to work in 2 out of two suspend/wakeups so far. I will wait for a few more times before I mark this thread as SOLVED.
- Anand.
I think I have solved this problem! :guitar:
.....
Let me know if it works for you too!
Bye
Andrea :p
cyberdork33
December 19th, 2008, 10:01 AM
I suggest you to read the webpage I linked before, there's something strange (a bug) with acpi which may shorten hard drives lifetime..
Please excuse me for my bad English. :-?
This problem has been around for awhile and the function is disabled in Ubuntu by default because of it.
david_edmundson
December 25th, 2008, 07:33 PM
I just rebuilt my kernel having replaced drivers/input/mouse/ appletouch.c with the file from the latest 2.6.28 kernel. It's had a load of changes. So far I've the mouse has restored from suspend perfectly every time.
cyberdork33
December 28th, 2008, 10:36 PM
I just rebuilt my kernel having replaced drivers/input/mouse/ appletouch.c with the file from the latest 2.6.28 kernel. It's had a load of changes. So far I've the mouse has restored from suspend perfectly every time.
awesome, thanks!
tealio
January 23rd, 2009, 11:45 AM
The modprobe solution worked for me, but it doesn't seem to be reading xorg.conf when the trackpad comes back... so every time i suspend i end up with the default trackpad settings.
does anyone know how to make xorg.conf be reread without restarting X?
is there a way to make this happen via modprobe?
EDIT: OK so this problem only happens when i run the commands from a terminal... when i suspend, for some reason it restores the mouse settings...
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.