> >I've seen many references to 'pmud' for PowerBooks, but I haven't been
> >able to find any information on putting a desktop system to sleep. Can
> >it be done under Debian/Linux?
>
>
> Well, whatever you do, don't install and run pmud on a desktop
> machine.  It will lock your machine
> up.  Rebooting won't help - once you run pmud it automatically enters
> that hung state with every successive boot.  I learned this lesson
> the hard way several months ago.

Explanation: it seems that even with a PMU present (that pmud can make
sense of), the meaning of the 'lid is closed' bit in the PMU seems to be
different on desktop systems - pmud finds 'lid is closed' all the time and
sends the system to sleep right away when starting up.

The lockup might be related to other things - the kernel sleep code might
assume things about your hardware that don't hold true for desktops. But
then, BenH's been writing that stuff, and he doesn't make such obvious
mistakes as a rule :-)

> And like you, I'm still waiting to see if any sleep application has
> been written for a desktop machine.

Disable the 'lid close' detection in pmud (add -k to PMUD_FLAGS in
/etc/default/power). That should prevent pmud from incorrectly detecting
the lid close. If snooze still locks up the system after that, the kernel
driver is to blame.

snooze -f without pmud running is another thing to try (in case you don't
want to risk running pmud ever again, even with the -k flag).

Other than that, no idea.

        Michael

Reply via email to