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

Michael Hagemann linux-thinkpad@linux-thinkpad.org
Mon, 5 Jan 2004 21:45:41 +0100


On Mon, 05 Jan 2004 21:29:04 +0100 Thomas Hood wrote:

> 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 .

And I thought:  WTF, why not put it back in? ;)

> What is it supposed to do?  And by the way, were did you reinsert it?

See my other post.  There was a patch attached to the original post.