Re: IBM T22/APM suspend does not work with yenta_socket module loadedon 2.6.8.1

From: Karel Gardas
Date: Thu Aug 19 2004 - 04:22:14 EST


On Thu, 19 Aug 2004, Russell King wrote:

> You could try grabbing the cbdump program from pcmcia.arm.linux.org.uk
> and trying to identify whether there's any differences in the register
> settings of the Cardbus bridges - between having no yenta module loaded
> and having yenta loaded with the sockets suspended using:
>
> echo 3 > /sys/class/pcmcia_socket/pcmcia_socket0/device/power/state
> echo 3 > /sys/class/pcmcia_socket/pcmcia_socket1/device/power/state
>
> (echo 0 to these files to resume the sockets.)

OK, diff is:

--- suspend-works.txt Thu Aug 19 11:09:43 2004
+++ suspend-does-not-work-sockets-suspended.txt Thu Aug 19 11:12:20 2004
@@ -25,7 +25,7 @@
Diagnostic [93] : 0x40
-- cardbus registers
CB_SOCKET_EVENT [00] : 0x00000000
- CB_SOCKET_MASK [04] : 0x00000000
+ CB_SOCKET_MASK [04] : 0x00000006
CB_SOCKET_STATE [08] : 0x30000006
CB_SOCKET_FORCE [0c] : 0x00000000
CB_SOCKET_CONTROL [10] : 0x00000000
@@ -36,7 +36,7 @@
I365_POWER [02] : 0x00
I365_INTCTL [03] : 0x50
I365_CSC [04] : 0x00
- I365_CSCINT [05] : 0x00
+ I365_CSCINT [05] : 0x08
I365_ADDRWIN [06] : 0x00
I365_IOCTL [07] : 0x00
I365_GENCTL [16] : 0x00c0
@@ -93,7 +93,7 @@
Diagnostic [93] : 0x40
-- cardbus registers
CB_SOCKET_EVENT [00] : 0x00000000
- CB_SOCKET_MASK [04] : 0x00000000
+ CB_SOCKET_MASK [04] : 0x00000006
CB_SOCKET_STATE [08] : 0x30000006
CB_SOCKET_FORCE [0c] : 0x00000000
CB_SOCKET_CONTROL [10] : 0x00000000
@@ -104,7 +104,7 @@
I365_POWER [02] : 0x00
I365_INTCTL [03] : 0x50
I365_CSC [04] : 0x00
- I365_CSCINT [05] : 0x00
+ I365_CSCINT [05] : 0x08
I365_ADDRWIN [06] : 0x00
I365_IOCTL [07] : 0x00
I365_GENCTL [16] : 0x00c0


FYI: when I suspend sockets by echoing 3, suspend also does not work
(yenta loaded).

Anything other what should I test?

Thanks,

Karel
--
Karel Gardas kgardas@xxxxxxxxxxxxxxxxxx
ObjectSecurity Ltd. http://www.objectsecurity.com

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