Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 15:53:31 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        jesse@wingnet.net
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: pccard 56k preventing suspend 
Message-ID:  <20030912225331.BEF1D5D08@ptavv.es.net>
In-Reply-To: Message from Jesse Guardiani <jesse@wingnet.net>  of "Fri, 12 Sep 2003 18:49:31 EDT." <bjtihs$nc5$1@sea.gmane.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Jesse Guardiani <jesse@wingnet.net>
> Date: Fri, 12 Sep 2003 18:49:31 -0400
> Sender: owner-freebsd-mobile@freebsd.org
> 
> Kevin Oberman wrote:
> 
> >> From: Jesse Guardiani <jesse@wingnet.net>
> >> Date: Fri, 12 Sep 2003 18:29:57 -0400
> >> Sender: owner-freebsd-mobile@freebsd.org
> >> 
> >> Hmmmm....
> >> 
> >> Just when I thought I had everything working:
> >> 
> >> I bought a remanufactured 56k 3Com Megahertz 3CXM756.
> >> 
> >> The modem works great, but now I've found that I
> >> can't suspend my laptop unless I remove the card.
> >> 
> >> Nothing bad happens if I try to suspend with the
> >> card plugged in - it just goes into standby mode,
> >> and I can come out of standby with no ill side-
> >> effects, but it's a bit inconvenient having to
> >> remove my shiny new pccard everytime I want to
> >> suspend.
> >> 
> >> Any ideas?
> >> 
> >> I tried using pccardc to power down the slot, but
> >> I'm not running pccardd, and /dev/card* doesn't
> >> exist...
> > 
> > This seems to be an IBM BIOS issue that I've never tracked down. I
> > seldom use a PCcard with my T30 as it has WiFi and Ethernet built in,
> > but I believe that it suspends OK when I disconnect the AC line.
> 
> Wow. You're right. That works. Wierd.
> 
> 
> > I
> > might also get there by switching from X to a vty. I did this a lot on
> > my old 600E.
> 
> I automatically switch to a vty from my rc.suspend script. Otherwise
> the laptop never comes back on-line on resume.
> 
> Anyway, I'm a big fan of scripting. If I add:
> 
> device card 1 # pccard bus
> 
> Do you think I'll then be able to power down the card slot with:
> 
> pccardc power 1 0
> 
> And then do a successful suspend even with the AC plugged?
> 
> Also, do I have to add that device line to my kernel? Or is there a
> dynamic way to do it using the hints file?

I don't think that this will work. imp can say for sure, but I think
you would need to completely switch to OLDCARD to use pccardc and that
won't work with CardBus cards. I think your stuck with pulling the
plug before suspending. (You can plug it right back in. It will sty
suspended.) 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030912225331.BEF1D5D08>