Re: what became of "apmd -C"?

2024-04-26 Thread Harald Dunkel
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

Re: what became of "apmd -C"?

2024-04-24 Thread Stuart Henderson
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. &

what became of "apmd -C"?

2024-04-24 Thread Harald Dunkel
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

apmd: howto resume with screen locked

2018-11-27 Thread shadrock uhuru
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

Re: apmd: howto resume with screen locked

2018-11-26 Thread Peter Hessler
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

Re: apmd: howto resume with screen locked

2018-11-25 Thread Edgar Pettijohn III
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 -

apmd: howto resume with screen locked

2018-11-25 Thread shadrock uhuru
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

apmd: howto resume with screen locked

2018-11-25 Thread shadrock uhuru
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

Re: apmd

2017-01-24 Thread Jordon
> 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)

Re: apmd

2017-01-24 Thread Otto Moerbeek
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)

Re: apmd

2017-01-24 Thread Stefan Sperling
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

Re: apmd

2017-01-24 Thread Jordon
> 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

apmd

2017-01-24 Thread jsg
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

Re: any updates for apmd exposing c-state preferences?

2015-03-11 Thread Philip Guenther
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

any updates for apmd exposing c-state preferences?

2015-03-11 Thread Nicholas Sielicki
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

Re: apmd.8 lacks of hibernation quirks info

2014-12-08 Thread Alessandro DE LAURENZIS
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

apmd.8 lacks of hibernation quirks info

2014-12-07 Thread Alessandro DE LAURENZIS
) 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

Re: apmd.8 lacks of hibernation quirks info

2014-12-07 Thread Mike Larkin
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

document apmd -C replacement : perfpolicy

2014-10-23 Thread Daniel Jakots
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:

Re: Idea for apmd

2012-06-17 Thread Jes
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

Re: apmd closes/crashes on lid close

2012-06-04 Thread Robert Connolly
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

Re: apmd closes/crashes on lid close

2012-06-04 Thread Robert Connolly
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

Re: apmd closes/crashes on lid close

2012-06-04 Thread Peter Laufenberg
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

Re: apmd closes/crashes on lid close

2012-06-04 Thread Stuart Henderson
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

apmd closes/crashes on lid close

2012-06-03 Thread Robert Connolly
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

Re: apmd closes/crashes on lid close

2012-06-03 Thread Philip Guenther
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

Re: apmd closes/crashes on lid close

2012-06-03 Thread Jan Stary
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

Re: apmd closes/crashes on lid close

2012-06-03 Thread Dan Harnett
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

Re: apmd closes/crashes on lid close

2012-06-03 Thread Stuart Henderson
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

Re: Idea for apmd

2012-06-01 Thread Juan Francisco Cantero Hurtado
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

Re: Idea for apmd

2012-05-31 Thread Tomas Bodzar
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

Re: Idea for apmd

2012-05-31 Thread Jes
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

Re: Idea for apmd

2012-05-31 Thread Ted Unangst
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

Re: Idea for apmd

2012-05-31 Thread Juan Francisco Cantero Hurtado
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

Re: Idea for apmd

2012-05-31 Thread Juan Francisco Cantero Hurtado
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

Re: Idea for apmd

2012-05-31 Thread Stuart Henderson
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

Idea for apmd

2012-05-30 Thread Juan Francisco Cantero Hurtado
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

Re: apmd -C and playing HD media

2012-01-26 Thread frantisek holop
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

apmd -C and playing HD media

2012-01-25 Thread frantisek holop
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

Re: apmd -C and playing HD media

2012-01-25 Thread frantisek holop
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:

Re: apmd -C and playing HD media

2012-01-25 Thread Christian Weisgerber
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

Re: Question about apmd power savings

2011-10-20 Thread Benny Lofgren
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

Re: Question about apmd power savings

2011-10-19 Thread STeve Andre'
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

Question about apmd power savings

2011-10-18 Thread Joe S
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

Re: Question about apmd power savings

2011-10-18 Thread Geoff Steckel
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

Re: Question about apmd power savings

2011-10-18 Thread Joe S
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

Re: Question about apmd power savings

2011-10-18 Thread Brynet
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

Re: Question about apmd power savings

2011-10-18 Thread Peter Theunis
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

Re: Question about apmd power savings

2011-10-18 Thread Joe S
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

Re: Question about apmd power savings

2011-10-18 Thread STeve Andre'
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

Re: Question about apmd power savings

2011-10-18 Thread Amit Kulkarni
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

Re: apmd scripts

2010-10-28 Thread Jason McIntyre
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

Re: apmd scripts

2010-10-28 Thread Jan Stary
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

Re: apmd scripts

2010-10-28 Thread Jason McIntyre
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

apmd scripts

2010-10-27 Thread Jan Stary
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

apmd issues after upgrading to 4.5

2009-05-05 Thread The Wraith
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

Re: apmd issues after upgrading to 4.5

2009-05-05 Thread The Wraith
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

Re: apmd -f /dev/acpi?

2007-02-05 Thread Pau Amaro-Seoane
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

Re: apmd -f /dev/acpi?

2007-02-05 Thread Peter Hessler
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

apmd -f /dev/acpi?

2007-02-04 Thread Pau Amaro-Seoane
, 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

Re: apmd -f /dev/acpi?

2007-02-04 Thread Vijay Sankar
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

Re: apmd -f /dev/acpi?

2007-02-04 Thread Stuart Henderson
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

Re: apmd -f /dev/acpi?

2007-02-04 Thread Nick Nauwelaerts
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

Re: apmd -f /dev/acpi?

2007-02-04 Thread Peter Hessler
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

Re: apmd resume + xlock

2006-12-12 Thread Paul de Weerd
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

Re: apmd resume + xlock

2006-12-12 Thread James Turner
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

Re: apmd resume + xlock

2006-12-12 Thread Greg Thomas
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

Re: apmd resume + xlock

2006-12-12 Thread Marcus Popp
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

Re: apmd resume + xlock

2006-12-12 Thread James Turner
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

Re: apmd resume + xlock

2006-12-12 Thread James Turner
, 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

Re: apmd resume + xlock

2006-12-12 Thread James Turner
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.

Re: apmd resume + xlock

2006-12-12 Thread Darrin Chandler
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

Re: SOLVED: apmd resume + xlock

2006-12-12 Thread James Turner
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

apmd resume + xlock

2006-12-11 Thread 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

[4.0] apmd on toshiba satellite A30

2006-11-06 Thread atstake atstake
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

Re: [4.0] apmd on toshiba satellite A30

2006-11-06 Thread Wijnand Wiersma
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

apmd -C in 3.9

2006-04-26 Thread Stephan A. Rickauer
[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

Re: apmd -C in 3.9

2006-04-26 Thread Jurjen Oskam
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