[ltp] A thousand ways to wake a ThinkPad (X20)?

Richard Neill linux-thinkpad@linux-thinkpad.org
Sun, 12 Feb 2006 19:21:05 +0000


André Wyrwa wrote:

> My issue is that i would like to have an easy (semi)automatic way to
> wakeup from resume - and that WakeOnLAN is not really an option.
> The ThinkPad's power adapter is connected to a power pass-through port
> of my stereo and i configured acpid to suspend it on ac-offline (hence
> when i use my remote to switch off the stereo, the TP will suspend and
> sit patiently, quietly and modest in it's corner).

Seems to me that:

1)You're using the "dumb" device to control the "smart" one. Maybe you 
should make the Thinkpad act as master.

2)Do you really want to suspend the TP. Wouldn't it suffice to
turn off the display, spindown the disk, and turn off the fan?

Stopping the HDD is easy (hdparm). What you then need to do is make sure 
that nothing wakes it again.  So, I guess:

    i) Set the HDD to spindown after X minutes of inactivity (or on your 
command)

    ii)Make sure no daemons need to access the filesystem.

    iii)Anything you don't want to kill can be stopped temporarily with 
kill -STOP  (and -CONT).


Is this helpful?

Richard


P.S. Parallel ports are very good for controlling external hardware!
Or an LIRC transmitter.