Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 1998 18:04:53 +0200 (CEST)
From:      Matthias.Apitz@SOFTCON.de (Matthias Apitz)
To:        mobile@FreeBSD.ORG
Cc:        nate@mt.sri.com (Nate Williams)
Subject:   PCMCIA cards after resume
Message-ID:  <199805171604.SAA00365@hunter.softcon.de>

next in thread | raw e-mail | index | archive | help


I'm still trying to debug why the PCMCIA cards don't come
back to life after a resume (only a physical removal/insertion
bring them back again). It looks like the user-land pccardd
does not see the pseudo-insert done in the kernel-land.
I'll check this in source once I can get access to the
code of pccardd (at the moment I only have the /usr/src/sys
of 2.2.6).

BTW: the code for the suspend in pccard.c calls disable_slot()
which itself does the power_off_slot -- but will the timeout
really happen before the kernel goes to sleep, e.g. is the
slot powered off during suspend?

        ...
        /* Power off the slot 1/2 second after removal of the card */
        timeout(power_off_slot, (caddr_t)slt, hz / 2);
        slt->pwr_off_pending = 1;

  matthias

-- 
firm: matthias.apitz@sisis.de [voc:+49 89 61308 351, fax: +49 89 61308 188]
priv: guru@thias.muc.de
 WWW: http://www.sisis.de/~guru/

"We don't care.  We don't have to.  You'll buy whatever we ship, so why bother?
 We're Microsoft." 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message



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