[ltp] APM suspend with 2.6 kernel [IT WORKS!!!]
Michael Hagemann
linux-thinkpad@linux-thinkpad.org
Mon, 5 Jan 2004 21:40:04 +0100
On Mon, 05 Jan 2004 21:04:56 +0100 Michael Hagemann wrote:
> I will try find out a little more about this port, any help is greatly
> appreciated.
I think I found the relevant lkml discussion. The question about this
is first raised here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0207.2/1423.html
and, following the thread, more insights are here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0207.2/1439.html
The write to the port basically turns off the floppy drive. The only
case were this command is meaningful seems to be when the kernel is
booted from a floppy disk and doesn't have the floppy driver built in.
The proposal was to put it into the boot sector code... didn't check
yet whether it is included there.
Another place where this might fit is the ThinkPad checking code during
boot, which enables interrupts during suspend. I will try to fit it in
there...
michael