public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* DockApps (Was: Smart Battery System driver)
@ 2005-01-20 21:27 Johan Vromans
       [not found] ` <20050121101018.GB3945@himi.org>
       [not found] ` <16880.8771.253591.739342-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Johan Vromans @ 2005-01-20 21:27 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[Quoting Rich Townsend, on January 19 2005, 08:31, in "Re: Smart Battery Sy"]
> However, I'm surprised that the GB applet doesn't get the AC state from 
> polling /proc/acpi/adapter/AC0/state. I use wmacpi, and that shows up 
> the AC state fine...

Speaking of wmacpi: what is your favorite (acpi-related) docapp for
your laptop? 

wmacpi is quite nice (needs a couple of patches, though).
wmlaptop is also quite nice, but its ACPI support doesn't seem up to
	 date.
wmpower is also nice, etc.
wmacpimon doesn't get the values right.

Most of them have some form of libacpi that does a varying job. It is
clear that using the SBS info would be much easier, and better.

-- Johan


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: DockApps
       [not found]   ` <20050121101018.GB3945-Ji7FXtOmRLs@public.gmane.org>
@ 2005-01-21 12:57     ` Johan Vromans
       [not found]       ` <m2hdlb7xem.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Vromans @ 2005-01-21 12:57 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

simon-Ji7FXtOmRLs@public.gmane.org (Simon Fowler) writes:

>> wmacpi is quite nice (needs a couple of patches, though).
>
> If you're talking about wmacpi 2, what patches do you need?

I was talking 1.34, and didn't know you took over maintenance until I
read your previous mail.

The patches required for 1.34 concern the selection of batteries (on
my --and other-- systems it selects the second (absent) battery) and
adding a -geometry command line option (I run the dockapps as
individual programs, w/o suitable window manager). I also corrected
some of the colours in the pixmap (so you can change the colour of the
LCD segments in one edit).

> If not, try hitting http://himi.org/wmacpi/ and trying it out - it
> should work fine on any modern system (as long as the
> /proc/acpi/battery/ interface is there

I did, and I can't get it to work at all. I get an empty, zero-sized
window. Could be my lack of suitable window manager, though.

libdockapp 1.50 seems to be read protected, so I couldn't test the 2.1
RC.

> - if I can get some docs on the new SBS interface
> I'll gladly add code for handling it, though I can't test it
> myself).

I'll send you (via private e-mail, please do not ignore it ;-)) the
detailed output of all associated /proc/files. I hope this helps.

-- Johan



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: DockApps (Was: Smart Battery System driver)
       [not found] ` <16880.8771.253591.739342-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
@ 2005-01-21 13:30   ` Pedro Venda
       [not found]     ` <41F1040F.5020409-pQd4kjVL+REh2FBCd0jGRA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Pedro Venda @ 2005-01-21 13:30 UTC (permalink / raw)
  To: Johan Vromans; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johan Vromans wrote:
| [Quoting Rich Townsend, on January 19 2005, 08:31, in "Re: Smart Battery Sy"]
|
|>However, I'm surprised that the GB applet doesn't get the AC state from
|>polling /proc/acpi/adapter/AC0/state. I use wmacpi, and that shows up
|>the AC state fine...
|
|
| Speaking of wmacpi: what is your favorite (acpi-related) docapp for
| your laptop?

I use the kde thingy, klaptopdaemon, I think... works very well. reports AC
adapter presence and battery charge in percentage. not sure if it reports time
to empty...

regards,
pedro venda.

| Most of them have some form of libacpi that does a varying job. It is
| clear that using the SBS info would be much easier, and better.

hacking the lib would be the best way to use enhanced SBS information, although
I guess the driver state is not very matured to get people writing libraries to
access it. Also, having info/state entries in /proc is being "deprecated". /sys
was built for that and gradually all kernel drivers will be using it for
userspace interaction...

regards,
pedro venda.
- --

Pedro João Lopes Venda
email: pjvenda-pQd4kjVL+REh2FBCd0jGRA@public.gmane.org
http://arrakis.dhis.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB8QQPeRy7HWZxjWERAr2ZAKCmoe3RITPablOLXkLfn3U3lOLZegCgy73d
gM0hwGZUxxBsoKDLk15nUEc=
=WT8Y
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: DockApps
       [not found]       ` <m2hdlb7xem.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
@ 2005-01-21 14:22         ` Simon Fowler
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Fowler @ 2005-01-21 14:22 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On Fri, Jan 21, 2005 at 01:57:05PM +0100, Johan Vromans wrote:
> simon-Ji7FXtOmRLs@public.gmane.org (Simon Fowler) writes:
> > If not, try hitting http://himi.org/wmacpi/ and trying it out - it
> > should work fine on any modern system (as long as the
> > /proc/acpi/battery/ interface is there
> 
> I did, and I can't get it to work at all. I get an empty, zero-sized
> window. Could be my lack of suitable window manager, though.
> 
Well, you should be able to run it even without wmaker, but I
personally haven't tested it . . . 

> libdockapp 1.50 seems to be read protected, so I couldn't test the 2.1
> RC.
> 
Thanks for that - fixed now.

> > - if I can get some docs on the new SBS interface
> > I'll gladly add code for handling it, though I can't test it
> > myself).
> 
> I'll send you (via private e-mail, please do not ignore it ;-)) the
> detailed output of all associated /proc/files. I hope this helps.
> 
Thanks - I'll hack something up basd on that, but I'd still like
some documentation ;-) Richard's response to my other email shows
why it's necessary.

Simon

-- 
PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc
(crappy) Homepage: http://himi.org
doe #237 (see http://www.lemuria.org/DeCSS) 
My DeCSS mirror: ftp://himi.org/pub/mirrors/css/ 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: DockApps (Was: Smart Battery System driver)
       [not found]     ` <41F1040F.5020409-pQd4kjVL+REh2FBCd0jGRA@public.gmane.org>
@ 2005-01-21 15:49       ` Fred Labrosse
  0 siblings, 0 replies; 5+ messages in thread
From: Fred Labrosse @ 2005-01-21 15:49 UTC (permalink / raw)
  To: Pedro Venda; +Cc: Johan Vromans, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Pedro Venda writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > Johan Vromans wrote:
 > | [Quoting Rich Townsend, on January 19 2005, 08:31, in "Re: Smart Battery Sy"]
 > |
 > |>However, I'm surprised that the GB applet doesn't get the AC state from
 > |>polling /proc/acpi/adapter/AC0/state. I use wmacpi, and that shows up
 > |>the AC state fine...
 > |
 > |
 > | Speaking of wmacpi: what is your favorite (acpi-related) docapp for
 > | your laptop?
 > 
 > I use the kde thingy, klaptopdaemon, I think... works very well. reports AC
 > adapter presence and battery charge in percentage. not sure if it reports time
 > to empty...
 > 

It does, if you still the mouse pointer over it.  Does the same with time
to fully charged, but seems to be broken...

Fred



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-21 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 21:27 DockApps (Was: Smart Battery System driver) Johan Vromans
     [not found] ` <20050121101018.GB3945@himi.org>
     [not found]   ` <20050121101018.GB3945-Ji7FXtOmRLs@public.gmane.org>
2005-01-21 12:57     ` DockApps Johan Vromans
     [not found]       ` <m2hdlb7xem.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-21 14:22         ` DockApps Simon Fowler
     [not found] ` <16880.8771.253591.739342-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-01-21 13:30   ` DockApps (Was: Smart Battery System driver) Pedro Venda
     [not found]     ` <41F1040F.5020409-pQd4kjVL+REh2FBCd0jGRA@public.gmane.org>
2005-01-21 15:49       ` Fred Labrosse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox