Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-19 Thread Benjamin Herrenschmidt
On Tue, 2004-12-07 at 10:08 +0100, Michael Schmitz wrote: > fact, even the earlier Powerbooks work with 16 levels only these days - > the 32 level stuff must have been way back when the G3 Powerbooks were new > :-) > The backlight level 'register' would permit 255 levels (which ones are > safe to u

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-07 Thread Matthias Grimm
On Tue, 7 Dec 2004 10:08:06 +0100 (CET) Michael Schmitz <[EMAIL PROTECTED]> wrote: > The backlight level 'register' would permit 255 levels (which ones are > safe to use is a matter of some confusion, though). The 16 levels are just > a matter of convenience to keep the backlight_conv[] tables sho

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-07 Thread Michael Schmitz
> > I can fix the manpage WRT on/off feature. ISTR that earlier models > > (Powerbook G3?) had 32 backlight levels (can anyone confirm that?) so the > > adjustment range isn't necessarily the same for all. > > All Powerbooks using a PMU version 12 (G3 Pismo and all G4) have only 16 > (0..15) > bri

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Matthias Grimm
On Mon, 6 Dec 2004 17:39:13 +0100 (CET) Michael Schmitz <[EMAIL PROTECTED]> wrote: > I can fix the manpage WRT on/off feature. ISTR that earlier models > (Powerbook G3?) had 32 backlight levels (can anyone confirm that?) so the > adjustment range isn't necessarily the same for all. All Powerbooks

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Michael Schmitz
> > 'fblevel' with no option will report the backlight level. > > Arghh ;-) > > This is not stated in fblevels manpage :( btw, the manpage also tells me about It's part of the fblevels usage message, though. The on/off feature is a later addition to fblevel ... > a maximum vaue of 31 while my ibo

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Holger Levsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Monday 06 December 2004 15:22, Michael Schmitz wrote: > > Attached is "sleep-quiet", which I put into /etc/power/scripts.d/ and > > made a link to /etc/power/event.d/sleep-quiet. As I didn't find a way to > > determine the current fblevel easil

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Michael Schmitz
> Attached is "sleep-quiet", which I put into /etc/power/scripts.d/ and made a > link to /etc/power/event.d/sleep-quiet. As I didn't find a way to determine > the current fblevel easily - a level of 15 is assumed. If you know how to do > this, I'd be happy to hear about it. IIRC 'fblevel off' will

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Michael Schmitz
> Attached is "sleep-quiet", which I put into /etc/power/scripts.d/ and made a > link to /etc/power/event.d/sleep-quiet. As I didn't find a way to determine > the current fblevel easily - a level of 15 is assumed. If you know how to do > this, I'd be happy to hear about it. 'fblevel' with no optio

SOLVED: Re: entering sleep mode quietly/non-verbose

2004-12-06 Thread Holger Levsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Friday 03 December 2004 08:30, Colin Leroy wrote: > You can add fblevel 0 and fblevel 15 in /etc/power/pmcs-pbbuttonsd > script, in suspend and resume case... It should work. Thanks! It does work nicely indeed ;-) Only X still looks a little b