All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Karel Gardas <kgardas@objectsecurity.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IBM T22/APM suspend does not work with yenta_socket module loaded on 2.6.8.1
Date: Thu, 19 Aug 2004 10:30:06 +0100	[thread overview]
Message-ID: <20040819103006.D546@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.43.0408191113180.1006-100000@thinkpad.gardas.net>; from kgardas@objectsecurity.com on Thu, Aug 19, 2004 at 11:15:24AM +0200

On Thu, Aug 19, 2004 at 11:15:24AM +0200, Karel Gardas wrote:
> 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:

Argh, sorry, it didn't take effect.  You need:

echo -e '3\0' > /sys/class/pcmcia_socket/pcmcia_socket0/device/power/state
echo -e '3\0' > /sys/class/pcmcia_socket/pcmcia_socket1/device/power/state

I forgot that sysfs is fussy when it comes to parsing numbers. ;(

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

  reply	other threads:[~2004-08-19  9:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19  8:16 IBM T22/APM suspend does not work with yenta_socket module loaded on 2.6.8.1 Karel Gardas
2004-08-19  8:47 ` Russell King
2004-08-19  8:54   ` Karel Gardas
2004-08-19  9:15   ` Karel Gardas
2004-08-19  9:30     ` Russell King [this message]
2004-08-19  9:46       ` Karel Gardas
2004-08-19  9:55         ` Russell King
2004-08-19 10:55           ` Karel Gardas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040819103006.D546@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=kgardas@objectsecurity.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.