Subject: Re: pcmcia power management hooks for com device (was Re: NetBSD master CVS tree commits)
To: enami tsugutomo <enami@but-b.or.jp>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 10/08/1997 14:08:12
enami tsugutomo writes:
> From: enami@but-b.or.jp
> Date: 08 Oct 1997 14:30:44 +0900
>
> But how can we do if com device was open during suspension
> (actually it still hanged after resume:-)? Enabling power after
> resume is different matter?
>
> Probably, we need resume_hook (and suspend_hook ?) like shutdown_hook
> and make com device to install necessary hook and make apm (if i386
> port) to call the hook, don't we?
We really need a more general "events" mechanism in the kernel to
handle subscription to such things in general, and to permit us to
pass events to userland daemons...
Perry