Re: sleep mode revisited

2002-07-31 Thread Vincent Danen

On Wed Jul 31, 2002 at 12:32:42AM -0400, Ornitorinco wrote:

 Hi,
 I'm sleep deprived too ;-). My case is worse though. 
 I have a new powerbook, I have installed the benH kernel
 (2.4.19rc3-ben0 from the binary though): when I close the lid 
 it seems to put the machine to sleep (although the breathing
 light does not go on).. when I open the lid the machine simply 
 stays like that. No life signs whatsoever. No matter what I do, 
 click, type, whatever I don't know how to make it wake up. 

Well, with the Mandrake kernel I did better than this...  the sleep
light would come on, but only in X would it not come back.  In a
console, sleeping worked fine.

I've got both 2.4.19rc3 and 2.4.19rc3-ben0 (currently booted into
2.4.19rc3) and it works just peachy.  Both were built from source.

 It is in some kind of suspended mode because the power button
 doesn't inmediately turn it on, I have to push it for a while
 as if I was to hard turn it off and then turn it on back again.
 
 Note this happens both on X and on console, I have both pmud 
 and powerbuttonsd running.  Can you tell me which of versions
 of those are you running? any special config?

No special configs... I've got pmud-0.10.1-1mdk installed,
pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages
are basic rebuilds of the packages Ben mentioned on the list a while
ago).  The only config changes were to /etc/pbbuttonsd.conf to set pmu
to /dev/pmu and mixer to /dev/mixer (forget what the original settings
were).  Are you sure that pbbuttonsd is running?  It would silently
error out on me and say OK when starting with the initscript, but
would actually never start because the paths to the mixer and pmu were
wrong.  Running pbbuttonsd on the commandline directly will tell you
if there are errors in the config.

 If anybody has any suggestions I'm willing to try it out. 

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import
{GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}


msg03791/pgp0.pgp
Description: PGP signature


Re: sleep mode revisited

2002-07-31 Thread Ben Reser

On Wed, Jul 31, 2002 at 11:22:05AM -0600, Vincent Danen wrote:
 No special configs... I've got pmud-0.10.1-1mdk installed,
 pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages
 are basic rebuilds of the packages Ben mentioned on the list a while
 ago).  The only config changes were to /etc/pbbuttonsd.conf to set pmu
 to /dev/pmu and mixer to /dev/mixer (forget what the original settings
 were).  Are you sure that pbbuttonsd is running?  It would silently
 error out on me and say OK when starting with the initscript, but
 would actually never start because the paths to the mixer and pmu were
 wrong.  Running pbbuttonsd on the commandline directly will tell you
 if there are errors in the config.

Those config changes were only necessary because you weren't using
devfs.  Anyone using devfs will have pbbuttonsd working out of the box.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

We tend to see all wars through the lens of the current conflict, and we
mine history for lessons convenient to the present purpose.
- Brian Hayes




Re: sleep mode revisited

2002-07-31 Thread Vincent Danen

On Wed Jul 31, 2002 at 10:30:11AM -0700, Ben Reser wrote:

 On Wed, Jul 31, 2002 at 11:22:05AM -0600, Vincent Danen wrote:
  No special configs... I've got pmud-0.10.1-1mdk installed,
  pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages
  are basic rebuilds of the packages Ben mentioned on the list a while
  ago).  The only config changes were to /etc/pbbuttonsd.conf to set pmu
  to /dev/pmu and mixer to /dev/mixer (forget what the original settings
  were).  Are you sure that pbbuttonsd is running?  It would silently
  error out on me and say OK when starting with the initscript, but
  would actually never start because the paths to the mixer and pmu were
  wrong.  Running pbbuttonsd on the commandline directly will tell you
  if there are errors in the config.
 
 Those config changes were only necessary because you weren't using
 devfs.  Anyone using devfs will have pbbuttonsd working out of the box.

Hmmm... you're right.  Just checked...  you can tell it to use
non-devfs entries and it will work whether devfs is used or not (devfs
makes the correct symlinks).  Wondered about that because my benH
kernel doesn't do devfs, but the linuxppc kernel does (just my playing
around).

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import
{GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}


msg03793/pgp0.pgp
Description: PGP signature


Re: sleep mode revisited

2002-07-31 Thread Ben Reser

On Wed, Jul 31, 2002 at 11:41:44AM -0600, Vincent Danen wrote:
 Hmmm... you're right.  Just checked...  you can tell it to use
 non-devfs entries and it will work whether devfs is used or not (devfs
 makes the correct symlinks).  Wondered about that because my benH
 kernel doesn't do devfs, but the linuxppc kernel does (just my playing
 around).

When I packaged it on my stock 8.2 system pbbuttonsd didn't like the
symlinks.  That may have been fixed in a subsequent release...

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

We tend to see all wars through the lens of the current conflict, and we
mine history for lessons convenient to the present purpose.
- Brian Hayes




Re: sleep mode revisited

2002-07-31 Thread Ornitorinco


Hi,
I did correct the config /dev/pmud, so maybe I'm missing devfs with
the new kernel. I'll check on that. 

I'm sure I am running pbbuttonsd because the start script would give an
error initially. It couldn't insert the module since in benh kernels
these things are not modules but built in the kernel. Once I eliminated
that from the script it ran merrily. 

Now that I think about, I really should compile the kernel, it will 
be easier to do the debugging. Two questions:
a) does the benh kernel have devfs at all? or is it just a matter
of enabling it at config time?
b) do you have the .config resulting from your compile? that way
I don't have to go guessing ppc options. I've only compiled intel
kernels before. 

Thanks,
Platy



On Wed, 2002-07-31 at 13:49, Ben Reser wrote:
 On Wed, Jul 31, 2002 at 11:41:44AM -0600, Vincent Danen wrote:
  Hmmm... you're right.  Just checked...  you can tell it to use
  non-devfs entries and it will work whether devfs is used or not (devfs
  makes the correct symlinks).  Wondered about that because my benH
  kernel doesn't do devfs, but the linuxppc kernel does (just my playing
  around).
 
 When I packaged it on my stock 8.2 system pbbuttonsd didn't like the
 symlinks.  That may have been fixed in a subsequent release...
 
 -- 
 Ben Reser [EMAIL PROTECTED]
 http://ben.reser.org
 
 We tend to see all wars through the lens of the current conflict, and we
 mine history for lessons convenient to the present purpose.
 - Brian Hayes






Re: sleep mode revisited

2002-07-30 Thread Ben Reser

On Wed, Jul 31, 2002 at 12:32:42AM -0400, Ornitorinco wrote:
 Hi,
 I'm sleep deprived too ;-). My case is worse though. 
 I have a new powerbook, I have installed the benH kernel
 (2.4.19rc3-ben0 from the binary though): when I close the lid 
 it seems to put the machine to sleep (although the breathing
 light does not go on).. when I open the lid the machine simply 
 stays like that. No life signs whatsoever. No matter what I do, 
 click, type, whatever I don't know how to make it wake up. 
 
 It is in some kind of suspended mode because the power button
 doesn't inmediately turn it on, I have to push it for a while
 as if I was to hard turn it off and then turn it on back again.
 
 Note this happens both on X and on console, I have both pmud 
 and powerbuttonsd running.  Can you tell me which of versions
 of those are you running? any special config?
 
 If anybody has any suggestions I'm willing to try it out. 
 Thanks,
 Platy
 
 ps. maybe compiling from source would do the trick? 

This is a different problem.  Your powerbook is probably new enough
that it's not supported by the kernel/pmud.  And just because other
people have say a TiBook or whatever you have doesn't mean apple hasn't
made some minute change that doesn't create an issue (they do it all the
time).

The issue that Vincent found a solution to was machines that would go to
sleep and wake up when in console mode but not under X...

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

We tend to see all wars through the lens of the current conflict, and we
mine history for lessons convenient to the present purpose.
- Brian Hayes




Re: sleep mode

2001-08-31 Thread David BAUDENS

On Friday 31 August 2001 02:12, you wrote:
 On Thu, Aug 30, 2001 at 10:48:42AM +0200, Henrik Edlund wrote:
  Do anyone feel that 8.0ppc was rushed out the door?

 Sadly, given that there are problems with MandrakeUpdate (lack of
 archetecture path in the updates dir path). 

It's a know problem with primary server. Problem is currently same with 
Intel version. It should be solved soon.


 Among other little things.

Which ones? Please give us feedback or we will not be able to fix them.

If you can, please report bugs here: https://qa.mandrakesoft.com/. If 
you can't, report them here.


 However, IMHO it's still the best PPC distribution out there.

Thanks :-)

-- 
MandrakeSofthttp://www.mandrakesoft.com
Paris, FRANCE   --David






Re: sleep mode

2001-08-30 Thread David BAUDENS

On Wednesday 29 August 2001 23:08, you wrote:
  QM pmud is for (older) laptops; I am almost certain that you will
  need QM somet other solution for a desktop...
 RE: desktop power management

 APM kernel stuff maybe ?  I do not know whether this is supported on
 PPC architecture.

There is an emulation in latest Benh kernels.



  What kind of power (battery, processor, screen) montor should I use
  for my iBook2?
 RE: portables

 You need two separate things:
 1) something to put the machine to sleep, detect low-battery, report
 battery levels.  This is pmud
 2) some cool widget for your desktop which waves/flashes/makes
 sounds/draws ace pictures etc which includes some battery level
 report. I would recommend gkrellm w/ the gkrellm-pmu plugin for this.

 Apparently bronxe-key powerbooks, Titaniums are supported by pmud
 now.

/.../

But for Titanium, you also need a recent kernel (2.4.8-benh0 or higher) 
if you want use sleep function on a Titanium.

-- 
MandrakeSofthttp://www.mandrakesoft.com
Paris, FRANCE   --David






Re: sleep mode

2001-08-30 Thread Sylvain OBEGI


  You need two separate things:
  1) something to put the machine to sleep, detect low-battery, report
  battery levels.  This is pmud
  2) some cool widget for your desktop which waves/flashes/makes
  sounds/draws ace pictures etc which includes some battery level
  report. I would recommend gkrellm w/ the gkrellm-pmu plugin for this.
 
  Apparently bronxe-key powerbooks, Titaniums are supported by pmud
  now.
 
 /.../
 
 But for Titanium, you also need a recent kernel (2.4.8-benh0 or higher) 
 if you want use sleep function on a Titanium.

For Titanium and iBook 2.


Sylvain OBEGI
Email : [EMAIL PROTECTED]
ICQ : 661913






Re: sleep mode

2001-08-30 Thread Henrik Edlund

On Thu, 30 Aug 2001, Toby Givens wrote:

TG Yes...but so was OSX. :-)
TG
TG Ain't life fun?

Well OSX is a non-Free product so you expect it be useless, faulty and
forbidden for use... :-)

I noticed an 8.1 beta release for x86 now, can we expect a simultaneous
8.1ppc stable release together with 8.1x86? Is MandrakeSoft making a
commitment to PPC as it has to x86 or is this just a test-run to test the
market?

I am considering a complete move from x86 architecture to PPC as I am
tired of badly integrated hardware. I considered SuSE a few weeks ago, but
their commitment to the PPC platform seems to be very low, not having
released 7.2ppc for many months.

Maybe a bit off-topic for the cooker list, but I don't believe
MandrakeSoft provides any other list for PPC discussions?

Regards, Henrik

-- 
Henrik Edlund [EMAIL PROTECTED]
http://www.edlund.org/

You're young, you're drunk, you're in bed, you have knives; shit
happens. -- Angelina Jolie






Re: sleep mode

2001-08-30 Thread Toby Givens

I hope Mandrake continues to provide parallel release support for x86 
and ppc. I've used Mandrake-Linux on the dreaded x86 platform for 
some time, usually with good results. I would imagine that it will 
take a bit of time for the ppc port to mature as it continues to do 
on the x86 platform. In the meantime...we must keep on cooking.

Fortunately I haven't leap into the OSX debacle. Man...what was Apple 
thinking when they used the BSD kernel??? No flames please! I can't 
help myself...I'm a Linux man.

What does this have to do with sleep mode? I don't know either.

BTW - I don't have a fresh copy of 8.1 ppc yet but soonvery soon.


tkg



On Thu, 30 Aug 2001, Toby Givens wrote:

TG Yes...but so was OSX. :-)
TG
TG Ain't life fun?

Well OSX is a non-Free product so you expect it be useless, faulty and
forbidden for use... :-)

I noticed an 8.1 beta release for x86 now, can we expect a simultaneous
8.1ppc stable release together with 8.1x86? Is MandrakeSoft making a
commitment to PPC as it has to x86 or is this just a test-run to test the
market?

I am considering a complete move from x86 architecture to PPC as I am
tired of badly integrated hardware. I considered SuSE a few weeks ago, but
their commitment to the PPC platform seems to be very low, not having
released 7.2ppc for many months.

Maybe a bit off-topic for the cooker list, but I don't believe
MandrakeSoft provides any other list for PPC discussions?

Regards, Henrik

--
Henrik Edlund [EMAIL PROTECTED]
http://www.edlund.org/

You're young, you're drunk, you're in bed, you have knives; shit
happens. -- Angelina Jolie


-- 
T.K. Givens
3467 Confederate Highway
Lodge, SC 29082




Re: sleep mode

2001-08-30 Thread Ben Reser

On Thu, Aug 30, 2001 at 10:48:42AM +0200, Henrik Edlund wrote:
 Do anyone feel that 8.0ppc was rushed out the door?

Sadly, given that there are problems with MandrakeUpdate (lack of
archetecture path in the updates dir path).  Among other little things.

However, IMHO it's still the best PPC distribution out there.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Wizard's First Rule - People are stupid, they will believe anything
if they want it to be true or they fear it is true - Terry Goodkind




RE: sleep mode

2001-08-30 Thread Jonathan Sailor

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just my luck

- -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sylvain
OBEGI
Sent: Thursday, August 30, 2001 5:21 AM
To: [EMAIL PROTECTED]
Subject: Re: sleep mode



  You need two separate things:
  1) something to put the machine to sleep, detect low-battery,
  report battery levels.  This is pmud
  2) some cool widget for your desktop which waves/flashes/makes
  sounds/draws ace pictures etc which includes some battery level
  report. I would recommend gkrellm w/ the gkrellm-pmu plugin for
  this. 
 
  Apparently bronxe-key powerbooks, Titaniums are supported by pmud
  now.
 
 /.../
 
 But for Titanium, you also need a recent kernel (2.4.8-benh0 or
 higher)  if you want use sleep function on a Titanium.

For Titanium and iBook 2.


Sylvain OBEGI
Email : [EMAIL PROTECTED]
ICQ : 661913


-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

iQA/AwUBO4648d0IbHN+6I/YEQIMawCg8YaryOkGozAahYGTPxyiTBvBIcUAoNdg
J5P1hknfBRj5967w1TPwHI4j
=9Qml
-END PGP SIGNATURE-





Re: sleep mode

2001-08-29 Thread Ben Reser

On Tue, Aug 28, 2001 at 11:23:16PM -0600, Vincent Danen wrote:
 How can I put my mandrake 8.0 box into sleep mode on the ppc?  At the
 very least I'd like the monitor shut down after X minutes... I tried
 setting the power-off settings in the gnome control panel, but it only
 turns the screensaver on.  Since this machine gets toasty real fast,
 I'd like to have it go into sleep mode after 20 minutes of being
 idle... any ideas on how i can accomplish this?

I don't recall what type of machine you had.  But PMUD is probably the
package you need to install and run.  Unfortunately programs like the
gnome control panel are going to try and use the PC style Power
Management.  Apple having a serious case of NIH had to make up their
own.

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Wizard's First Rule - People are stupid, they will believe anything
if they want it to be true or they fear it is true - Terry Goodkind