Re: Acer Aspire 1690 Suspend/Hibernate Report with 2.6.29-rc3

Rafael J. Wysocki
2009-02-13T23:01:25Z

On Friday 13 February 2009, Pavel Machek wrote:
> On Tue 2009-02-10 15:24:48, Rafael J. Wysocki wrote:
> > On Tuesday 10 February 2009, Pavel Machek wrote:
> > > > Hi!
> > > >
> > > > > > > > Just a FYI, with my Acer Aspire 1690 using 2.6.29-rc3
> > > > > > > > suspend/hibernate behave in this manner:
> > > > > > > >
> > > > > > > > Hibernation completes ok but resumes immediately as if
> > > > > > > > I would have pressed the power button.
> > > > > >
> > > > > > Thanks a lot for the tip, indeed it makes hibernation
> > > > > > working again:
> > > > > >
> > > > > > root@localhost:~# echo shutdown > /sys/power/disk
> > > > > > root@localhost:~# pm-hibernate
> > > > > >
> > > > > > Great! Is there a way to make this default on my
> > > > > > system, e.g., with a quirk?
> > > > >
> > > > > Well, it would be better to fix it properly, than just work
> > > > > around it with quirk. I think it worked before and you already
> > > > > identified commit that breaks it?
> > > >
> > > > Yes, we found out it with Rafael last month:
> > > >
> > > > https://lists.linux-foundation.org/pipermail/linux-pm/2009-January/019225.html
> > > > https://lists.linux-foundation.org/pipermail/linux-pm/2009-January/019244.html
> > > > https://lists.linux-foundation.org/pipermail/linux-pm/2009-January/019251.html
> > >
> > > Hmm, hibernation rework broke that, and looks USB related. Maybe it is
> > > fixed in latest kernel (-rc4), as there were USB-keeps-systems-awake
> > > fixes.
> >
> > AFAICS, it is a chipset/BIOS problem.
> >
> > As long as we were using shutdown to turn off the box during hibernation,
> > things worked on these boxes. As soon as we started using the ACPI "enter S4"
> > feature, it stopped and ehci-hcd always happens to be the culprit (I had access
> > to one box with this issue, but unfortunately I don't have it any more).
> >
> > The only thing we can really do here is to blacklist all of the boxes with this
> > problem and handle them in a special way.
>
> Well, if unloading uhci/ohci/ehci helps, there should be a better
> solution than a blacklist.

Well, whatever ehci-hcd does to prepare the device for hibernation, it works
for the vast majority of systems. I'm not sure if we can modify the driver so
that it does the same for all of the systems out there without breaking any
working systems.

Thanks,
Rafael