[thinkpad] [ltp] tpctl
Tino Keitel
linux-thinkpad@linux-thinkpad.org
Fri, 17 Jan 2003 08:40:43 +0100
On Fri, Jan 17, 2003 at 00:19:48 -0500, Bjorn Knutsson wrote:
> On 15 Jan 2003 10:05, Charles E Taylor IV wrote:
> > On Wed, 15 Jan 2003 09:38:10 -0500
> > "JC WOODWARD" <jcwoodward@att.net> wrote:
> >
> > > As an aside, a review of the archive of this list will reveal
> > > that hibernation and PCMIA don't mix very well. My experience on
> > > an uncomplicated system with only internal devices is that it
> > > works very reliably.
> >
> > The solution to the PCMCIA/hibernation problem is pretty simple on
> > the several thinkpads I've used - pop out the cards before
> > hibernating.
>
> Whoa! Lets not go crazy here! All you need to do is to shut the
> pcmcia devices down. My T23 has everything built in so I haven't
> played with this for a while, but on my old 600X, all you needed to
> do was to use cardctl. I don't remember if I used 'suspend/resune' or
> 'eject/insert'. I think I even had it working from apmd so that it
> would shut them down when you pressed the hibernate key combo, and
> restart them when you came back from hibernation, but I could have
> hallucinated that - I normally suspend using a script-file that does
> some additional things before shutting down.
I did the same. I bound a script to a key and was able to hibernate
with PCMCIA cards inserted. The script containes a "cardctl suspend"
and calls "tpctl --H" after that.
Regards,
Tino
--
tino.keitel@innominate.com
dipl.-inf. Innominate Security Technologies AG
software engineer networking people
tel: +49.30.6392-3308 http://www.innominate.com/