aa177b7402
Source obtained from http://sourceforge.net/projects/wmacpi/files/. 2008 November 14 2.2rc4 Change the way that we sleep/wait for activity, to use select rather than a fixed-length sleep, supplied by Julien Blache of Debian: Hi, The attached patch for wmacpi makes it use select() instead of sleeping. It also adjusts the timeout of the select() call depending on the blink & scroll options. If scrolling is not activated, there's no reason to wake up 10x/sec. If blinking is activated, waking up once per second is enough. If blinking is not activated, then we can wake up just to update the data and we're fine. With scrolling and blinking disabled, this saves a number of wakeups and helps battery life. Unfortunately there's another source of wakeups that's probably due to libdockapp that still makes 6 wakeups/seconds (in another thread it seems). With this patch wmacpi makes a best effort to match the sample rate set by the user, but that's hardly an issue I think. I haven't released this patch yet in Debian, so if you like it and want to roll out a release, feel free :) Otherwise I'll add it to the package soon. Thanks, JB.
36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
|
|
Empty original changeset by Simon Fowler <simon@himi.org>:
|
|
[project @ simon@himi.org--wmacpi/wmacpi--mainline--2.0--patch-2]
|
|
Fixes for compiling against libdockapp-0.5.0
|
|
This amounted to a four line patch - narrowing the type of
|
|
the dockapp width and height to an unsigned short.
|
|
|
|
Unfortunately this isn't compatible with libdockapp-0.4.0
|
|
now.
|
|
|
|
Empty original changeset by Simon Fowler <simon@himi.org>:
|
|
[project @ simon@himi.org--wmacpi/wmacpi--mainline--2.0--patch-3]
|
|
Upped version numbers for 2.1 release.
|
|
That's about it.
|
|
|
|
Empty original changeset by Simon Fowler <simon@himi.org>:
|
|
[project @ simon@himi.org--wmacpi/wmacpi--mainline--2.0--patch-4]
|
|
Small patch submitted by Patrice Dumas <pertusus at free.fr>
|
|
Keywords: libdockapp build fixes
|
|
Build fixes for newer versions of libdockapp.
|
|
|
|
Empty original changeset by Simon Fowler <simon@himi.org>:
|
|
[project @ simon@himi.org--wmacpi/wmacpi--mainline--2.0--patch-5]
|
|
Updated email address and changelog for alpha release.
|
|
Since my dreamcraft.com.au address will be going away at some point . . .
|
|
|
|
Empty original changeset by Simon Fowler <simon@himi.org>:
|
|
[project @ simon@himi.org--wmacpi/wmacpi--mainline--2.0--patch-6]
|
|
Fix for 'charged' battery status
|
|
Some batteries report their status as 'discharging' when they're
|
|
fully charged, some report their status as 'charged' - previously
|
|
I was only checking for 'discharging' when switching out of the
|
|
battery charging state, now we check for 'charged' as well.
|
|
|
|
This fixes part of Debian bug #393617.
|