Hi! > > Well, auto suspending when screensaver is active would still be > > useful. > > > > (And IIRC some machines kept screen on when in S-state unless driver > > powered it down... but that might be S1. > > > > > The reason why you can't enter ACPI S-states from CPUidle is because you > > > need to go out of the idle loop to execute some ACPI-specific stuff. Which > > > is not even specific to Intel chips, but to ACPI in general. > > > > The code was little tricky/unclean, but it "worked" for me at one > > point... I called it "sleepy linux". > > Yes, you can find a system where it might kind of work (just because > _PTS is empty or something like this). Is it going to work in general? > No way. IIRC I solved it by just calling _PTS when sleepy Linux was enabled. It had side effect of lighting up moon icon, but otherwise seemed to work ok. I do not think ACPI says what can and can not be done after _PTS... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm