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

Vojtech Pavlik
2005-01-07T15:34:28Z

On Fri, Jan 07, 2005 at 02:54:18PM +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?
>
> Yes, it looks redundant. Vojtech, could you check why this is still
> needed? It should not be.

We already have a patch removing that in the queue.

--
Vojtech Pavlik
SuSE Labs, SuSE CR