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

From: Takashi Iwai
Date: Fri Jan 07 2005 - 08:48:27 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/