Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 13:37:59 +0900 (JST)
From:      hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi)
To:        raj@cisco.com
Cc:        freebsd-mobile@freebsd.org, hosokawa@ntc.keio.ac.jp
Subject:   Re: Powering down PCMCIA modem card
Message-ID:  <199903300437.NAA20589@afs.ntc.mita.keio.ac.jp>
In-Reply-To: Your message of "Tue, 30 Mar 1999 13:20:09 JST". <199903300420.UAA00485@kitab.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199903300420.UAA00485@kitab.cisco.com>
raj@cisco.com writes:

>> I'm trying to write some code to power down my PCMCIA modem card when
>> it's not in use.  I've been successful in suspending the disk drive,
>> in this method so I know the code it working correctly and that I'm
>> understanding the standards correctly.  According to the APM V1.2
>> specs (this is the version of APM I have) device codes starting with
>> 0x600 are for PCMCIA cards.  I have tried powering down all devices
>> between 0x600 and 0x6ff, and the only one which doesn't fail is 0x6ff
>> (all PCMCIA devices), however this doesn't power off the modem or
>> ethernet cards which are plugged in at the time.
>> 
>> Has anyone had any success with powering down PCMCIA devices?

"pccardc power ? 0" option of pccardc in PAO can power down the PCMCIA
cards without removal, but it also disables the corresponding device
drivers (it only emulates removal of PCMCIA cards), and it won't back
to the active status without using "pccardc power ? 1" manually again.

Better implementation is desired but I have no idea.  And I'm using
this feature because it's useful in outdoor use.

--
HOSOKAWA, Tatsumi
Information Technology Center
Keio University
hosokawa@itc.keio.ac.jp


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?199903300437.NAA20589>