On 2024-04-24 09:30:29, Stuart Henderson wrote:
To get similar to previous behaviour, you can either install obsdfreqd
from packages (userland monitoring, similar to old old apmd -C), or
some people run with a kernel patch like this:
Index: kern/sched_bsd.c
On 2024-04-24, Harald Dunkel wrote:
> Hi folks,
>
> https://www.openbsd.org/faq/upgrade57.html doesn't mention it, so
> I wonder what became of "apmd -C"? The man page for OpenBSD 5.7
> silently dropped this option, but even apmd of 7.5 still accepts
> it.
&
Hi folks,
https://www.openbsd.org/faq/upgrade57.html doesn't mention it, so
I wonder what became of "apmd -C"? The man page for OpenBSD 5.7
silently dropped this option, but even apmd of 7.5 still accepts
it.
?
Regards
Harri
On 11/26/18 9:26 AM, Peter Hessler wrote:
> On 2018 Nov 26 (Mon) at 01:18:59 + (+), shadrock uhuru wrote:
> :
> :also how do i resume from hibernate or suspend with the screen locked
> :
> :i use i3 and lock the screen with xautolock and i3lock in .i3/config
> :
> :i put i3lock in
On 2018 Nov 26 (Mon) at 01:18:59 + (+), shadrock uhuru wrote:
:
:also how do i resume from hibernate or suspend with the screen locked
:
:i use i3 and lock the screen with xautolock and i3lock in .i3/config
:
:i put i3lock in /etc/apm/resume
:
:when i resume from ZZZ no lock screen
On 11/25/18 7:16 PM, shadrock uhuru wrote:
Hi everyone
i have in my /etc/rc.conf.local
apmd "-A -Z8 -t120"
my laptop doesn't hibernate when the power falls below 8%
is there more that i need to configure ?
shadrock
try:
rcctl set apmd status on
rcctl set apmd flags -A -
also how do i resume from hibernate or suspend with the screen locked
i use i3 and lock the screen with xautolock and i3lock in .i3/config
i put i3lock in /etc/apm/resume
when i resume from ZZZ no lock screen appears, i am brought straight
to my desktop
shadrock
Hi everyone
i have in my /etc/rc.conf.local
apmd "-A -Z8 -t120"
my laptop doesn't hibernate when the power falls below 8%
is there more that i need to configure ?
shadrock
> On Jan 24, 2017, at 12:54 PM, Stefan Sperling wrote:
>
> On Tue, Jan 24, 2017 at 11:52:56AM -0600, Jordon wrote:
>>> OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016
>>> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>>> cpu0: Intel(R) Core(TM)
On Tue, Jan 24, 2017 at 07:54:44PM +0100, Stefan Sperling wrote:
> On Tue, Jan 24, 2017 at 11:52:56AM -0600, Jordon wrote:
> > > OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016
> > >dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > > cpu0: Intel(R) Core(TM)
On Tue, Jan 24, 2017 at 11:52:56AM -0600, Jordon wrote:
> > OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016
> >dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > cpu0: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz ("GenuineIntel" 686-class)
> 3.30 GHz
>
>
> A
> OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016
>dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz ("GenuineIntel" 686-class)
3.30 GHz
A ‘6600’ would be a Skylake CPU, and skylake is not yet supported.
I’m seeing
Have a Dell Optiplex Desktop that following suspend/sleep presents garbage
while in x and
needs rebooting to recover.
apmd,apm and /var/log/daemon report that A/C status is not knowm.
Anyone have this problem or a solutuon?
dmesg.boot attached
thanks in advance.
OpenBSD 6.0
On Tue, Mar 10, 2015 at 9:51 PM, Nicholas Sielicki nlsieli...@wisc.edu wrote:
I'm curious if there are any planned updates to apmd with regards to exposing
a means for a user to set which c-state a processor should go into.
...
As of 5.4-current, MWAIT is going to C1 when idle in all cases [3
Hello,
I'm curious if there are any planned updates to apmd with regards to exposing a
means for a user to set which c-state a processor should go into.
See this prior mailing list thread for context:
http://comments.gmane.org/gmane.os.openbsd.misc/209854
The reason I ask is that when looking
Hello Mike,
On Sun 07/12 10:58, Mike Larkin wrote:
Which machines don't work, and how do they break? I would like to know.
Please file a bug report (man sendbug).
Last time I tried hibernation on my ThinkPad R61 (running current) was
some months ago and, even being both sleep and resume
) a proposed patch for the man page (as per the 5.6 code):
--- ./usr.sbin/apmd/apmd.8 Thu Jul 24 03:04:58 2014
+++ ./usr.sbin/apmd/apmd.8.patched Sun Dec 7 17:47:58 2014
@@ -137,14 +137,15 @@
in the requested state after running the configuration script and
flushing the buffer cache.
.Pp
to be executed
before entering the S4 state (/etc/apm/hibernate), even if uses the same
file (/etc/apm/resume) after resuming from both S3 and S4 (if my
understanding is wrong, please correct me).
So:
1) a proposed patch for the man page (as per the 5.6 code):
--- ./usr.sbin/apmd/apmd.8
Hi,
I wanted to use the new performance throttling system but I had to look
for what to change so if I can prevent others from doing it. Feel free
to modify the wording :)
Cheers,
Daniel
Index: sysctl.8
===
RCS file:
at 3:45 AM, Juan Francisco Cantero Hurtado
i...@juanfra.info wrote:
This is important because when I open a web page with a lot of
javascript, the browser is very slow. Also when I compile
something with make -j1, apmd doesn't raise the speed of my
CPU, I need use make -j4 for raising
Sometimes apmd crashes from a system suspend, and sometimes it does not.
Sometimes xidle runs xlock, and sometimes it does not.
Sometimes xlock asks for a password, and sometimes it does not.
Can anyone tell me whether they have all of these working consistently and
reliably?
They were
xset dpms 5 10 15 isn't doing anything either, nor xset s 4.
On Sun, Jun 3, 2012 at 11:40 PM, Robert Connolly
robertconnolly1...@gmail.com wrote:
Sometimes apmd crashes from a system suspend, and sometimes it does not.
Sometimes xidle runs xlock, and sometimes it does not.
Sometimes xlock
dump xset -q and wsconsctl -a, compare working/non-working states, check
for possible race condition?
-- p
xset dpms 5 10 15 isn't doing anything either, nor xset s 4.
On Sun, Jun 3, 2012 at 11:40 PM, Robert Connolly
robertconnolly1...@gmail.com wrote:
Sometimes apmd crashes from a system
On 2012-06-04, Robert Connolly robertconnolly1...@gmail.com wrote:
Sometimes apmd crashes from a system suspend, and sometimes it does not.
Sometimes xidle runs xlock, and sometimes it does not.
Sometimes xlock asks for a password, and sometimes it does not.
Can anyone tell me whether
Hello.
I am running apmd without arguments from rc.conf. I am also running lid
close suspend from sysctl.conf. When I close the lid, and open it again,
apmd is gone from 'ps auxw'.
In /etc/apm/suspend I am hitting xidle with a signal 30. xidle is sparking
xlock with a -startCmd apm -C
On Sat, Jun 2, 2012 at 11:38 PM, Robert Connolly
robertconnolly1...@gmail.com wrote:
I am running apmd without arguments from rc.conf. I am also running lid
close suspend from sysctl.conf. When I close the lid, and open it again,
apmd is gone from 'ps auxw'.
ktrace?
run it under gdb (passing
On Jun 02 23:38:14, Robert Connolly wrote:
Hello.
I am running apmd without arguments from rc.conf. I am also running lid
close suspend from sysctl.conf. When I close the lid, and open it again,
apmd is gone from 'ps auxw'.
In /etc/apm/suspend I am hitting xidle with a signal 30.
Why
On Sun, Jun 03, 2012 at 12:41:31AM -0700, Philip Guenther wrote:
On Sat, Jun 2, 2012 at 11:38 PM, Robert Connolly
robertconnolly1...@gmail.com wrote:
I am running apmd without arguments from rc.conf. I am also running lid
close suspend from sysctl.conf. When I close the lid, and open
On 2012-06-03, Jan Stary h...@stare.cz wrote:
On Jun 02 23:38:14, Robert Connolly wrote:
Hello.
I am running apmd without arguments from rc.conf. I am also running lid
close suspend from sysctl.conf. When I close the lid, and open it again,
apmd is gone from 'ps auxw'.
In /etc/apm
when I open a web page with a lot of
javascript, the browser is very slow. Also when I compile something with
make -j1, apmd doesn't raise the speed of my CPU, I need use make
-j4 for raising the cpu speed to 2700Mhz.
What shows top, vmstat, systat about %sys, %usr, %idle during
On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado
i...@juanfra.info wrote:
Hi. I've been using OpenBSD on my netbook daily for a few months. I was
using apmd with the -C setting. My netbook is slow and the battery life
is important, so 800Mhz (apmd -C) or 1600Mhz (apm
openbsd laptop (thinkpad R61 2200 Mhz ) has a good performance
with apmd -C.
BR
Jes (from Corunha :) )
El 30/05/2012 20:50, Juan Francisco Cantero Hurtado i...@juanfra.info
escribis:
Hi. I've been using OpenBSD on my netbook daily for a few months. I was
using apmd with the -C setting. My netbook
On Thu, May 31, 2012 at 08:28, Tomas Bodzar wrote:
On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado
i...@juanfra.info wrote:
This is important because when I open a web page with a lot of
javascript, the browser is very slow. Also when I compile something with
make -j1, apmd
is very slow. Also when I compile something with
make -j1, apmd doesn't raise the speed of my CPU, I need use make
-j4 for raising the cpu speed to 2700Mhz.
What shows top, vmstat, systat about %sys, %usr, %idle during that
time? Because you can have 800MHz of CPU, but %usr and/or %sys
On Thu, May 31, 2012 at 08:28:34AM +0200, Tomas Bodzar wrote:
On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado
i...@juanfra.info wrote:
Hi. I've been using OpenBSD on my netbook daily for a few months. I was
using apmd with the -C setting. My netbook is slow and the battery
slow. Also when I compile something with
make -j1, apmd doesn't raise the speed of my CPU, I need use make
-j4 for raising the cpu speed to 2700Mhz.
What shows top, vmstat, systat about %sys, %usr, %idle during that
time? Because you can have 800MHz of CPU, but %usr and/or %sys can be
eg. only
Hi. I've been using OpenBSD on my netbook daily for a few months. I was
using apmd with the -C setting. My netbook is slow and the battery life
is important, so 800Mhz (apmd -C) or 1600Mhz (apm -A) is not a big
difference for me.
Now I have a desktop computer with support for cpu speed scaling
hmm, on Wed, Jan 25, 2012 at 11:26:19PM +, Christian Weisgerber said that
frantisek holop min...@obiit.org wrote:
i like -C. but if it doesnt increase setperf while watching HD,
when does it do it then? its heuristic is off a bit.
apm -C is pretty much useless if hw.ncpu 1.
maybe
hi there,
i have noticed when i was trying to play HD media
both in mplayer or vlc, the video was always getting
out of sync. in /etc/rc.conf.local i have:
apmd_flags=-C
because per the man page
-C Start apmd in cool running performance adjustment mode. In this
mode
hmm, on Wed, Jan 25, 2012 at 10:40:28PM +0100, frantisek holop said that
hi there,
i have noticed when i was trying to play HD media
both in mplayer or vlc, the video was always getting
out of sync. in /etc/rc.conf.local i have:
dmesg, just in case.
OpenBSD 5.1-beta (GENERIC.MP) #167:
frantisek holop min...@obiit.org wrote:
i like -C. but if it doesnt increase setperf while watching HD,
when does it do it then? its heuristic is off a bit.
apm -C is pretty much useless if hw.ncpu 1.
--
Christian naddy Weisgerber na...@mips.inka.de
On 2011-10-20 03.53, STeve Andre' wrote:
On 10/18/11 23:58, Amit Kulkarni wrote:
On Tue, Oct 18, 2011 at 6:36 PM, STeve Andre'and...@msu.edu wrote:
http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/sched_bsd.c
I think looking at that file, maybe the CPU's cores are all awake
On 10/18/11 23:58, Amit Kulkarni wrote:
On Tue, Oct 18, 2011 at 6:36 PM, STeve Andre'and...@msu.edu wrote:
If going from 1.3GHz to 800MHz saves .5 watts, the power supply isn't
the most efficient, I'd say. You ought to see several watts, though less
than 10, at a wild guess. Of course, your
This isn't a problem and I'm not complaining, I'm just a bit curious
as apmd didn't save me as much power as I hoped for. I noticed that
apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since
March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it
out apmd on my HP
On 10/18/2011 02:53 PM, Joe S wrote:
This isn't a problem and I'm not complaining, I'm just a bit curious
as apmd didn't save me as much power as I hoped for. I noticed that
apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since
March 2011, -CURRENT recognizes the K10 cpus, so I
On Tue, Oct 18, 2011 at 12:22 PM, Geoff Steckel g...@oat.com wrote:
Were you running a CPU-intensive workload on the CPU(s)? Changing the clock
speed of an idle chip won't change the power usage very much in absolute
terms. If the CPU has multiple cores, exercising them all at once may
On Tue, Oct 18, 2011 at 11:53:25AM -0700, Joe S wrote:
This isn't a problem and I'm not complaining, I'm just a bit curious
as apmd didn't save me as much power as I hoped for. I noticed that
apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since
March 2011, -CURRENT recognizes
you could replace that 3.5 disk drive with a 2.5 one and save some more that
way..
On Oct 18, 2011, at 11:53 AM, Joe S js.li...@gmail.com wrote:
This isn't a problem and I'm not complaining, I'm just a bit curious
as apmd didn't save me as much power as I hoped for. I noticed that
apmd
it might.
Playing with voltage settings may have helped, but it seemed risky.. no other
implementation messages with it either.
The effects are more noticable on laptops, but for desktops/workstatons, it's
not really worth enabling apmd, just make sure you have decent cooling.
-Bryan.
Bryan, I
supply.
--STeve Andre'
On 10/18/11 14:53, Joe S wrote:
This isn't a problem and I'm not complaining, I'm just a bit curious
as apmd didn't save me as much power as I hoped for. I noticed that
apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since
March 2011, -CURRENT recognizes
On Tue, Oct 18, 2011 at 6:36 PM, STeve Andre' and...@msu.edu wrote:
If going from 1.3GHz to 800MHz saves .5 watts, the power supply isn't
the most efficient, I'd say. You ought to see several watts, though less
than 10, at a wild guess. Of course, your kill-a-watt meter might be off,
too. I
On Wed, Oct 27, 2010 at 03:12:51PM +0200, Jan Stary wrote:
I run a -current apmd on a MacBook3,1.
It suspends and resumes just fine.
There seems to be a slightly unclear detail
in the apmd(8) manpage however:
/etc/apm/suspend
/etc/apm/standby
/etc/apm/resume
/etc
On Oct 28 18:35:27, Jason McIntyre wrote:
On Wed, Oct 27, 2010 at 03:12:51PM +0200, Jan Stary wrote:
I run a -current apmd on a MacBook3,1.
It suspends and resumes just fine.
There seems to be a slightly unclear detail
in the apmd(8) manpage however:
/etc/apm/suspend
On Thu, Oct 28, 2010 at 08:00:14PM +0200, Jan Stary wrote:
if some developer wants to agree that jan is correct we can look at a
fix. jan, i think your diff is incorrect - isn;t it just repeating what
we've already said? if what you say is true, isn;t the best fix just to
remove the
I run a -current apmd on a MacBook3,1.
It suspends and resumes just fine.
There seems to be a slightly unclear detail
in the apmd(8) manpage however:
/etc/apm/suspend
/etc/apm/standby
/etc/apm/resume
/etc/apm/powerup
/etc/apm/powerdownThese files contain the host's
stuff, and I can use `sysctl hw.setperf=0` to get it to 800MHz
(minimum and cool), but apmd does not do it automatically. So for now I have
it with -L (manual mode) but I'd like apmd to do this automatically.
I should point out that I disabled apm in the kernel and left acpi enabled
(apm would crash
the
scaling stuff, and I can use `sysctl hw.setperf=0` to get it to 800MHz
(minimum and cool), but apmd does not do it automatically. So for now I have
it with -L (manual mode) but I'd like apmd to do this automatically.
I should point out that I disabled apm in the kernel and left acpi enabled
Hi,
to summarise again my problem...
My goal is to be able to suspend (zzz/ apm -S). apm0 is not supported in
this laptop.
Then I thought of trying to set up apmd over /dev/acpi with the current
kernel I downloaded from ftp.openbsd.org - current (both bsd and bsd.mp)
to have the latest version
Suspend is not supported yet in ACPI.
On 2007 Feb 05 (Mon) at 15:45:15 +0100 (+0100), Pau Amaro-Seoane wrote:
:Hi,
:
:to summarise again my problem...
:
:My goal is to be able to suspend (zzz/ apm -S). apm0 is not supported in
:this laptop.
:
:Then I thought of trying to set up apmd over /dev
, copied them to / with
the names bsd.acpi and bsd.mp.acpi
Then I rebooted (bsd.acpi -c and/or bsd.mp.acpi -c) and UKC said 385 acpi0
enabled and everything was looking fine (apart from the problem that I didn't
get any dhcp offer?).
I wait until it's up and then make sudo apmd -f /dev/acpi
rebooted (bsd.acpi -c and/or bsd.mp.acpi -c) and UKC said 385 acpi0
enabled and everything was looking fine (apart from the problem that I
didn't get any dhcp offer?).
I wait until it's up and then make sudo apmd -f /dev/acpi with the hope
that I could get apm to work over acpi but when I type zzz
On 2007/02/04 19:50, Pau Amaro-Seoane wrote:
I just downloaded cd40.iso from ftp://ftp.openbsd.org/pub/OpenBSD/snapshots
and
installed openbsd on my laptop because I thought the kernel would be -current
but when booting I tried bsd -c and then UKC enable acpi but nothing
happened,
...
Then
On Sun, 4 Feb 2007 19:50:26 +0100
Pau Amaro-Seoane [EMAIL PROTECTED] wrote:
I just downloaded cd40.iso from
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots and installed openbsd on
my laptop because I thought the kernel would be -current but when
booting I tried bsd -c and then UKC enable acpi
On 2007 Feb 04 (Sun) at 19:50:26 +0100 (+0100), Pau Amaro-Seoane wrote:
:I wait until it's up and then make sudo apmd -f /dev/acpi with the hope that I
:could get apm to work over acpi but when I type zzz or apm -S nothing
:happens...
suspend is not yet supported in acpi.
--
Horses
On Mon, Dec 11, 2006 at 11:13:08PM -0500, James Turner wrote:
| I've read the apmd and xlock man pages and am having trouble getting xlock
| to start after a resume. I created the file /etc/apm/resume and chmod
| 755. But for some reason, it doesn't run on resume. Permissions are
| root/wheel
xidle was a great suggestion thanks. The below script doesn't work
either, and for some reason when running apmd in debug mode nothing gets
outputted from what I can tell. For locking the screen before suspend
I'll probably just stick with Theo's suggestion and run xlock zzz,
although I
On 12/12/06, James Turner [EMAIL PROTECTED] wrote:
xidle was a great suggestion thanks. The below script doesn't work
either, and for some reason when running apmd in debug mode nothing gets
outputted from what I can tell. For locking the screen before suspend
I'll probably just stick
Hi James,
On 2006-12-12T11:45, James Turner wrote:
xidle was a great suggestion thanks. The below script doesn't work
either, and for some reason when running apmd in debug mode nothing gets
outputted from what I can tell. For locking the screen before suspend
I'll probably just stick
Marcus,
I tried your script, but when I come back from resume X seems to die and
after a few minutes I get kicked to xdm.
Hi James,
On 2006-12-12T11:45, James Turner wrote:
xidle was a great suggestion thanks. The below script doesn't work
either, and for some reason when running apmd
,
On 2006-12-12T11:45, James Turner wrote:
xidle was a great suggestion thanks. The below script doesn't work
either, and for some reason when running apmd in debug mode nothing
gets
outputted from what I can tell. For locking the screen before suspend
I'll probably just stick with Theo's
On a good note, if I add the -mode option back in and move the suspend
script to a resume script, xlock gets started on resume. There is a
slight delay before xlock kicks in where you see the current xsession, but
I guess it's better then nothing.
James Turner wrote:
I tried the script again without -mode matrix and it works just fine. It
seems that running -mode matrix crashes x on resume. Anyone have any
ideas why?
Not specifically, but that reminds me... For a short while I was running
with random screensavers and found core files
Thanks for everyone's help. I got xlock working with the suspend script
by just removing the -mode matrix option. The matrix mode uses to much
cpu anyways. I know have xidle and suspend script working great. Thanks
again.
On Tue, 12 Dec 2006, Greg Thomas wrote:
On 12/12/06, James Turner
I've read the apmd and xlock man pages and am having trouble getting xlock
to start after a resume. I created the file /etc/apm/resume and chmod
755. But for some reason, it doesn't run on resume. Permissions are
root/wheel. On a weird note, when I ran sudo apmd rather then letting
apmd
I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
I started apmd and here's my ps output
root 10023 0.0 0.1 240 316 ?? Ss 5:57AM0:00.00 apmd
But when I do apm it says
Battery state: unknown, 0% remaining, unknown life estimate
A/C adapter state: not known
2006/11/6, atstake atstake [EMAIL PROTECTED]:
I am running OBSD 4.0-release (i386) on Toshiba Satellite A30.
I started apmd and here's my ps output
root 10023 0.0 0.1 240 316 ?? Ss 5:57AM0:00.00 apmd
But when I do apm it says
Battery state: unknown, 0% remaining, unknown
[EMAIL PROTECTED]:# for i in 1 2 3; do md5 -t | grep Time; done
Time = 2.926772 seconds
Time = 1.039970 seconds
Time = 0.594676 seconds
Really nice... saving the world by saving power ;)
--
Stephan
[demime 1.01d removed an attachment of type application/pgp-signature which had
a name of
On Wed, Apr 26, 2006 at 10:26:55PM +0200, Olivier Cherrier wrote:
Or did I miss something and is apmd not supported on amd64?
It is only in recent versions/snapshots.
Ah thanks. Should have noticed, I only picked the OpenBSD Current
selection of the amd64 manpages section of www.openbsd.org
78 matches
Mail list logo