lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080322151714.GA21194@atrey.karlin.mff.cuni.cz>
Date:	Sat, 22 Mar 2008 16:17:14 +0100
From:	Pavel Machek <pavel@....cz>
To:	Kristoffer Ericson <kristoffer.ericson@...il.com>
Cc:	rjw@...k.pl, linux-main <linux-kernel@...r.kernel.org>
Subject: Re: Proper way to invoke suspend?

Hi!

> Been looking around for examples, but obviously something I don't understand. 
> Currently I set apm_queue_event(APM_USER_SUSPEND) inside the power button interrupt, this does nothing.
> 
> However if I cat the state, it goes into suspend. Resume fails but thats another question.

I'd prefer not using apm_queue_event in new code... There are some
routines in kernel/power/main.c you should be calling...

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ