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

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 08/19/04

  • Next message: Stephen C. Tweedie: "Re: PF_MEMALLOC in 2.6"
    Date:	Thu, 19 Aug 2004 09:47:02 +0100
    To: Karel Gardas <kgardas@objectsecurity.com>
    
    

    On Thu, Aug 19, 2004 at 10:16:04AM +0200, Karel Gardas wrote:
    > I've found that APM suspend is not working on my IBM T22 properly, when
    > cardbus services are loaded. I've identified the problematic piece of code
    > as a yenta_socket module -- when I stop cardmgr and unload this module,
    > suspend starts to work.

    So it doesn't even work with cardmgr stopped and yenta loaded?
    Have you tried removing any cards plugged in to the sockets?

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

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Stephen C. Tweedie: "Re: PF_MEMALLOC in 2.6"

    Relevant Pages

    • Re: IBM T22/APM suspend does not work with yenta_socket module loaded on 2.6.8.1
      ... On Thu, 19 Aug 2004, Russell King wrote: ... >> cardbus services are loaded. ... >> suspend starts to work. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Suspend 2 merge
      ... since swsusp1 cheats and discards caches. ... before suspend attempt 800MB were in use. ... half-of-memory limit does not bite too badly). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rc2-mm1 swsusp bug report.
      ... > It is easy to lose sight of the user perspective on these things if all ... > sprinkling the code with panics, ... never fails to suspend and is in Linus' tree. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: swsusp disk fails in bk-current - intel_agp at fault?
      ... You are right, for resume-during-suspend, we may as well risk it. ... > suspend and Nigel's partial device trees) would be so much ... :-) I think we can simply make device freeze/unfreeze fast enough. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Screwy clock after apm suspend
      ... something wanting timeout of five minutes, then suspend one minute ... machine sleeps for a hour. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)