[ltp] APM suspend with 2.6 kernel [IT WORKS!!!]

Thomas Hood linux-thinkpad@linux-thinkpad.org
Mon, 05 Jan 2004 21:29:04 +0100


On Mon, 2004-01-05 at 21:04, Michael Hagemann wrote:
> SUSPENDING ThinkPad 600E FINALLY WORKS!
> 
> This is probably a rather comical bug.  This innocent looking little
> piece of code reenables suspending on my ThinkPad 600E (2645-4A0):
> 
>   #if defined(__i386__)  /* Do we even need this? */
>          outb_p(0xc, 0x3f2);
>   #endif

Aha!  I saw that and wondered WTF it was doing there in ll_rw_blk.c .
What is it supposed to do?  And by the way, were did you reinsert it?

Anyway, good work, mate.

-- 
Thomas Hood <jdthood2@yahoo.co.uk>