Re: [Fwd: Re: [Fwd: Re: APM Suspend Problem]]

From: pZa1x
Date: Mon Dec 22 2003 - 14:42:14 EST


I upgraded to 2.6.0 release but APM + yenta_socket still won't coexist (ie. Thinkpad T20 won't suspend with both)

pZa1x wrote:
The patch wouldn't apply so I put the line into yenta_socket.c manually. I recompiled kernel + modules but there was no different on reboot.

Suspend works with pcmcia_core installed but when yenta_socket is added, suspend no longer works.

Russell King wrote:

On Mon, Dec 08, 2003 at 04:38:06PM +0000, pZa1x wrote:

[Recap] Pursuing for the 2.6.0-test11 kernel, the problem where a Thinkpad T20 can't suspend when running APM + PCMCIA. [/Recap]

Please find attached 10 dumps. I've attached a bit more than you asked but I hope the (long) filenames are self-explanatory.



Ok, that's fine.

Could you see if this patch solves your problem please? (This patch
might apply with an offset).

--- linux/drivers/pcmcia/yenta_socket.c.old Sun Sep 28 09:54:57 2003
+++ linux/drivers/pcmcia/yenta_socket.c Tue Oct 21 23:18:47 2003
@@ -500,6 +500,7 @@
/* Disable CSC interrupts */
cb_writel(socket, CB_SOCKET_MASK, 0x0);
+ exca_writeb(socket, I365_CSCINT, 0);
return 0;
}





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/