Re: [PATCH] swsusp: properly suspend and resume *all* devices

Takashi Iwai
2005-01-07T13:47:19Z

At Thu, 6 Jan 2005 23:29:27 +0100,
Pavel Machek wrote:
>
> Hi!
>
> > I have a problem with net-devices, ne2000 in particular, in 2.6.9 and
> > 2.6.10, too. After a resume the ne2000-device doesn't work anymore. I
> > have to restart it using the initscripts.
> >
> > How do I add suspend/resume support (to ISA devices, like my ne2000)?
> > Can you point me to some information/tutorial?
>
> Look how i8042 suspend/resume support is done and do it in similar
> way...

Yep it's fairly easy to implement in that way (I did for ALSA).

But i8042 has also pm_register(), mentioning about APM. Isn't it
redundant?

Takashi