Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 18:34:57 +0300
From:      "Vladimir Chukharev" <chu@kemia.me.tut.fi>
To:        gnome@freebsd.org
Cc:        Joe Marcus Clarke <marcus@freebsd.org>
Subject:   Re: HEADS UP: Realtime update support added to battstat
Message-ID:  <op.ss6v8jjc1taxl4@kempc17.me.tut.fi>

next in thread | raw e-mail | index | archive | help
You wrote:

> If you're running 5.X or higher, and have been longing for realtime
> battery status updates in the battstat applet, apply this patch to devd:
>http://www.marcuscom.com/downloads/devd.diff
>Then rebuild and restart devd.  Next, cvsup your ports tree, and rebuild
> gnomeapplets2.  When you restart GNOME, you should find that battstat
> will update as soon as you unplug your laptop without driving up the
> CPU.
>I talked with Warner about getting this patch put into devd officially,
> and he says he's for it.  Once this happens, it should be much easier to
> get access to devd events from userland.
>To get devd working, do the following after downloading my patch:
># cd /usr
> # patch -p < /path/to/devd.diff
> # cd src/sbin/devd
> # make all
> # make install
> # etc/rc.d/devd restart
>Let me know what you think.
>Joe
>--=20
> Joe Marcus Clarke
> FreeBSD GNOME Team      ::      gnome@FreeBSD.org
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome

I tried it. After addition of the Battery Monitor to a panel
it did detect the status and a change of the status correctly,
but in a minuite or so with unplugged power supply, it crashed.

Probably related things. Since an upgrade of gdm about
a week ago I constantly get two messages when I log in.
First is that I have wrong permissions for file .dmrc ,
though I created an empty file with this name and with
indicated permissions/owner. Second, that panel is already
running.

Well, while typing this I tried a few times to
connect/disconnect the power, it did not crash again.

Best regards,
-- 
V.Chukharev

Oops, the report from bugbuddy disappered... Sorry.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ss6v8jjc1taxl4>