Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-19 Thread Michel Dänzer
On Fri, 2003-06-13 at 11:53, Michael Schmitz wrote: > > > Running apm scripts is possible from pwrctl-local if desired. > > > > Is there any reason not to do it by default, other than they're called > > /etc/apm/event.d/* instead of /etc/pmu/event.d/* ? > > The main reason is I don't know what ev

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-16 Thread Soeren Sonnenburg
On Wed, 2003-06-11 at 17:22, Patrick Baltz wrote: > pmud does however run /etc/power/pwrctl and /etc/power/pwrctl-local right and for compatibility reasons I have for sleep run-parts --arg=suspend --arg=power /etc/apm/event.d and for wakeup run-parts --arg=resume --arg=suspend /etc/apm/event.d i

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michael Schmitz
> > Running apm scripts is possible from pwrctl-local if desired. > > Is there any reason not to do it by default, other than they're called > /etc/apm/event.d/* instead of /etc/pmu/event.d/* ? The main reason is I don't know what events are used by apmd, and how to map them to pmud events. Add th

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michel Dänzer
On Fri, 2003-06-13 at 11:20, Michael Schmitz wrote: > > > x86 specific nonsense. > > > > APM the hardware standard may be, but the /etc/apm/event.d/* hooks don't > > look x86 specific at all to me. If pmud used them, that might save > > people some common configuration headaches. > > What 'events'

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Carlos Perelló Marín
El vie, 13-06-2003 a las 11:13, Michael Schmitz escribió: > > > Complete enough to make apmd work on powerpc? > > > > I think so. > > Go ahead and give it a try. More choice is better :-) apt-get install apmd It's already done :-P > > Michael -- Carlos Perelló Marín Debian GNU/Linux Sid

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michael Schmitz
> > x86 specific nonsense. > > APM the hardware standard may be, but the /etc/apm/event.d/* hooks don't > look x86 specific at all to me. If pmud used them, that might save > people some common configuration headaches. What 'events' does apmd generate? Is there a good 1:1 correspondence to 'events

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michael Schmitz
> > Complete enough to make apmd work on powerpc? > > I think so. Go ahead and give it a try. More choice is better :-) Michael

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michel Dänzer
On Fri, 2003-06-13 at 10:40, Michael Schmitz wrote: > > Running apm scripts is possible from pwrctl-local if desired. Is there any reason not to do it by default, other than they're called /etc/apm/event.d/* instead of /etc/pmu/event.d/* ? -- Earthling Michel Dänzer \ Debian (powerpc), XFre

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Stefano Zacchiroli
On Thu, Jun 12, 2003 at 07:36:57PM -0600, [EMAIL PROTECTED] wrote: > x86 specific nonsense. Apple laptops use (varying revisions of) a chip called > the Power Management Unit, or PMU. Hence 'pmud' for power management The point here is not the architecture. The point is has a common place where ho

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Carlos Perelló Marín
El vie, 13-06-2003 a las 10:40, Michael Schmitz escribió: > > > > Advanced Power Management (Daemon): is a daemon able to trigger actions > > > > > > Does it exist for powerpc hardware? For Alpha, Mips, Sparc, ... ?? > > > > > > > There is an APM emulation for PowerPC that lets you use some of the

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michael Schmitz
> > > Advanced Power Management (Daemon): is a daemon able to trigger actions > > > > Does it exist for powerpc hardware? For Alpha, Mips, Sparc, ... ?? > > > > There is an APM emulation for PowerPC that lets you use some of the APM > utils that are not available with pmud (some battery monitors, a

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michel Dänzer
On Fri, 2003-06-13 at 03:36, [EMAIL PROTECTED] wrote: > Quoting Stefano Zacchiroli <[EMAIL PROTECTED]>: > > > Advanced Power Management (Daemon): is a daemon able to trigger > > actions > > upon receiving power management daemon. You can use it to perform the > > actions actually done by pbbuttons

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Carlos Perelló Marín
El vie, 13-06-2003 a las 09:22, Michael Schmitz escribió: > > On Thu, Jun 12, 2003 at 03:39:08PM +0200, Michael Schmitz wrote: > > > > And so ... powerbook people is living without apm events or what? > > > WTF is apm? > > > > Advanced Power Management (Daemon): is a daemon able to trigger actions

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-13 Thread Michael Schmitz
> On Thu, Jun 12, 2003 at 03:39:08PM +0200, Michael Schmitz wrote: > > > And so ... powerbook people is living without apm events or what? > > WTF is apm? > > Advanced Power Management (Daemon): is a daemon able to trigger actions Does it exist for powerpc hardware? For Alpha, Mips, Sparc, ... ??

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-12 Thread dpates
Quoting Stefano Zacchiroli <[EMAIL PROTECTED]>: > Advanced Power Management (Daemon): is a daemon able to trigger > actions > upon receiving power management daemon. You can use it to perform the > actions actually done by pbbuttonsd, but even more ... > > For example /etc/apm/event.d/anacron is

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-12 Thread Stefano Zacchiroli
On Thu, Jun 12, 2003 at 03:39:08PM +0200, Michael Schmitz wrote: > > And so ... powerbook people is living without apm events or what? > WTF is apm? Advanced Power Management (Daemon): is a daemon able to trigger actions upon receiving power management daemon. You can use it to perform the actions

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-12 Thread Michael Schmitz
> On Tue, Jun 10, 2003 at 09:55:06AM +0200, Michael Schmitz wrote: > > pmud does not run anything in /etc/apm/*.d. > > Ok, and so neither pbbuttonsd. > > And so ... powerbook people is living without apm events or what? WTF is apm? Michael

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-11 Thread Patrick Baltz
pmud does however run /etc/power/pwrctl and /etc/power/pwrctl-local Stefano Zacchiroli wrote: On Tue, Jun 10, 2003 at 09:55:06AM +0200, Michael Schmitz wrote: pmud does not run anything in /etc/apm/*.d. Ok, and so neither pbbuttonsd. And so ... powerbook people is living without apm events

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-11 Thread Stefano Zacchiroli
On Tue, Jun 10, 2003 at 09:55:06AM +0200, Michael Schmitz wrote: > pmud does not run anything in /etc/apm/*.d. Ok, and so neither pbbuttonsd. And so ... powerbook people is living without apm events or what? TIA, Cheers. -- Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Ita

Re: pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-10 Thread Michael Schmitz
> APM events from /etc/apm/*.d seems not to be executed. Is this a bug or > an unimplemented feature? > > pbbuttonsd states to be fully able to replace pmud but it seems to me > (yes, I'm not sure indeed) that when I was using pmud + pbbuttonsd APM > events were executed. pmud does not run anythin

pbbuttonsd && APM events (/etc/apm/*.d/)

2003-06-08 Thread Stefano Zacchiroli
I'm using pbbuttonsd (unstable distribution) and I've removed completely pmud. APM events from /etc/apm/*.d seems not to be executed. Is this a bug or an unimplemented feature? pbbuttonsd states to be fully able to replace pmud but it seems to me (yes, I'm not sure indeed) that when I was using p