Re: [gpm] GNOME Power Manager on Debian Etch



On Mon, 2006-02-13 at 17:12 +0100, Sjoerd Simons wrote:
> On Mon, Feb 13, 2006 at 12:14:10PM +0000, Richard Hughes wrote:
> > On Mon, 2006-02-13 at 13:05 +0100, Julien Valroff wrote:
> > > Hi,
> > > Thanks for your answer.
> > > 
> > > Le lun, 13 f�2006, Richard Hughes <hughsient gmail com> �ivait :
> > > 
> > > > On Sun, 2006-02-12 at 17:25 +0100, Julien Valroff wrote:
> > > [...]
> > > >> I notice 2 annoying things:
> > > >>
> > > >> * hibernate/suspend do not work:
> > > > Have you edited /etc/dbus/system.d/hal.conf and added your user ID? I
> > > > don't think debian has the at_console PAM stuff needed for this to "just
> > > > work" yet -- Alejandro, can you confirm as I think you mentioned you
> > > > bugzilla'd the debian hal package with a few fixes.
> > > 
> > > I haven't edited this file. I will check this. If it is successfull, it
> > > should be mentionned somewhere in the documentation, or on the website (or
> > > have I missed it?).
> > 
> > Yes, upstream HAL accepted the newer format of the hal.conf, so it's
> > easy to add a new user, and also explains why and what needs changing.
> > I'll attach it in case the hal version you are using uses the old
> > layout. I can't remember when the change went in.... I'll add this to
> > the faq page when it works for you :-)
> 
> If people use the file you attached here directly on there debian system, their
> hal will break (Hint, we run as user hal, not haldaemon)

Oops. Sorry.

> > Debian probably needs a bug to enable pam_console by default, but they
> > may see it as a security risk.
> 
> pam_console has various issues, so debian doesn't use it. We will start using
> pam_foreground to give the same experience though (and it doesn't have issues).

Sure, I've heard good things from Ubuntu about pam_foreground.

> > > >> Note that hald is not run as root, but as hal user. If I run it as root,
> > > >> as suggested on
> > > >> http://www.gnome.org/projects/gnome-power-manager/packages.html , gpm
> > > >> does not work as expected (almost no options in the preferences dialog
> > > >> for instance).
> > > 
> > > > You might want to try a newer g-p-m, there have been lots of changes
> > > > since 0.3.4. (see below)
> > > >
> > > >> * Unknown time:
> > > [...]
> > > > Again, I think this is fixed in a newer g-p-m.
> > > No, release 2.13.5 also gives an unknown time, and also warns about empty
> > > battery when not plugged to the AC (even if the battery is full).
> > 
> > :-( 
> > 
> > Can you open a bugzilla with the g-p-m verbose log please, if it does
> > not work tonight.
> > 
> > > [...]
> 
> I've got some reports that the battery applet also doesn't work okay on acpi
> system with the latest HAL. Could be the same problems.

Okay, does lshal get the right values?

> > > >> Do you have ideas about both problems?
> > > > If a editing hal.conf, and a newer g-p-m does not fix things, can you
> > > > grab a g-p-m and hald verbose trace please, the details for this are
> > > > found here: http://www.gnome.org/projects/gnome-power-manager/bugs.html
> > > I will check all these points tonight, once back home.
> > > I let you know ASAP.
> > 
> > Thanks.
> > 
> > > >> If I can fix them, I could prepare a Debian package for gpm.
> > > > Alejandro Vera has already done a deb which I've been trying to upload
> > > > for the last few days, but gnomeweb has been doing odd things. For the
> > > > moment it is here: http://gnome-power.sourceforge.net/data/debian/
> > > Since my first e-mail, I know some people from the Utopi project also work
> > > on this package (see project on Alioth).
> 
> Would be nice if you guys could look at the package we're working on and give
> comments or even help out with it :)  

I'm no Debian bloke, but I would be pleased to help out with g-p-m
packaging whenever required.

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]