Awesome howto, thank you! I'll try it on my dell laptop.
Hey, thanks for the tutorial. I implemented it and it worked just fine ... until I went to log out.
When I shut down, the computer went through it's normal shutdown screens, the screen went blank, then stayed power up. I waited 5 mins and nothing. I had to hold down the power button for seven seconds to turn it all the way off. Then the next time I went to power up and log in, instead of the normal 30-45 seconds or so that it takes to get to the login screen, it took over 5 minutes. Once in, I did a little poking around in the forums about these problems, starting with the shutdown problem. I found this thread:
Talking about udev events and such, and I remembered going through your tutorial and entering the 80-thinkpad-T61.rules file. As an experiment, I moved the file out of /etc/udev/rules.d up one level, and what do you know, shutdown and power were back to normal. I repeated several times and sure enough, everything is fine and repeatable now.
So, my question is, what is magical about this file that is causing my powerup/shutdown issues. Looking at the README in /etc/udev/rules.d, there is something about that number at the beginning of the file name, but by their description, 80 seems fine.
Any ideas or tips you can offer?
But I have just checked on the computer I am at the moment (Thinkpad T61) and I have it down as /etc/udev/rules.d/60-thinkpad-T61.rulesCode:80 rules that run programs (but do not load modules)
I can't remember from when I wrote the tutorial if the 80 was a mistake or what, but again, from that README file 80 seems ok.
I'm assuming you are doing this on a Thinkpad right... not too sure what the behavior would be on other hardware.
Hope this helps, sorry I don't have a more specific answer...
Hey there, I'm running this on a T61p. I just changed the file name from an 80 to a 60 and the results are the same, slow boots and incomplete shutdowns.
I'll do some research and if I find a solution, I'll post it here on the thread.
Thanks for our help.
Well, I've played around with this a little bit. I turned off the splash screen during bootup so I could see where things get hung up. I booted into 3 different kernels from grub:
For all three, the boot hung for several minutes at the following lines:
[26.xxxxxx] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[26.xxxxxx] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input12
Without the 80- (or 60-) rule file in place in /etc/udev/rules.d, the boot up sequence moves through this step with no problem.
That's as much as I've had time to do, just putting it out there to see if it sparks any ideas.
Last edited by nhmtnbkr; August 28th, 2009 at 03:31 PM.
Found the solution to the startup delay!
Delete the file 80-thinkpad-T61.rules by:
And instead of that we will catch the dock/undock with the following udev rule by:Code:sudo rm /etc/udev/rules.d/80-thinkpad-T61.rules
And paste the following:Code:gksudo gedit /lib/udev/rules.d/85-thinkpad-T61.rules
The rest should be the same as we are still calling the dock.sh script.Code:KERNEL=="dock.0", ACTION=="change", RUN+="/etc/thinkpad/dock.sh"
Restart hal to immediately see the changes.