[ltp] ThinkPad T41P with Debian

Rob Browning linux-thinkpad@linux-thinkpad.org
Thu, 19 Feb 2004 16:39:42 -0600


William R Sowerbutts <will@sowerbutts.com> writes:

>>Actually, I can't say for sure.  I haven't been using the wire in a
>>while, but I thought I remembered that it did.  At the very least it
>>doesn't hang a resume.  In case it matters, I have the driver compiled
>>directly into my kernel (it's not a module).
>
> Hmmm, when I try to modprobe the module after a sleep (the interface was not 
> used prior to going to sleep) I get this:

I definitely don't recall having any trouble, but I'll see if I can
test again sometime.  Though as I mentioned, my driver's not a module,
and (if it matters) I was resuming from an s4 suspend, not an s3
sleep.

> How does one enable kernel support? With CONFIG_SOFTWARE_SUSPEND or
> CONFIG_PM_DISK? They both seem to do similar things, which one are
> you using?  Also, the warnings about data loss are remarkably scary
> ;-)

I have both of those enabled, and I pass resume=/dev/SWAP to the
kernel via grub.  I hadn't really noticed that those were separate
subsystems, but according to Documentation/power/swsusp.txt, because
I've been using "echo 4 > /proc/acpi/sleep", it seems that I'm
invoking the (older, uglier, but better tested)
CONFIG_SOFTWARE_SUSPEND subsystem.  So far at least, I haven't had any
problems that I know of, as long as I modprobe -r the right devices
before suspending.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4