On 21-Mar-2000 Benjamin F. Zhou wrote: > Hi, > > I know pcmcia services consume a lot of energy, (the cards are always hot). > So I > want to write and run a script as batch to shut them down after idling for a > certain period of time. > > Can anyone tell me where I can find such knowledge? >
place a hook in /etc/apm.d. Thr problem lies in what to do to the cards. Many cardbus cards when suspended will lock the system upon being woke up. It may be better to do a cardctl eject / insert. Just watch out for mounted filesystems and what not.

