Your message dated Wed, 09 Jan 2008 23:47:04 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#430031: fixed in hotkey-setup 0.1-18 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: hotkey-setup Version: 0.1-17 Severity: wishlist Hi, thinkpad-keys is waking up many times per secound to poll the thinkpad keys.. i've written a small patch to make this more efficient, please apply. --- thinkpad-keys.c 2006-03-25 21:06:18.000000000 +0100 +++ ../../th/hotkey-setup-0.1/thinkpad-keys.c 2007-06-21 22:46:01.720680536 +0200 @@ -37,7 +37,9 @@ #define UINPUT_DEVICE "/dev/input/uinput" #define NVRAM_DEVICE "/dev/nvram" -#define POLL_DELAY 50 /* milliseconds */ +#define WAIT_DELAY 700 /* milliseconds */ +#define POLL_DELAY 20 /* milliseconds */ +#define KEY_BURST 100 /* 100 * POLL_DELAY for keypresses in a row */ static int init_nvram(void) { @@ -239,6 +241,7 @@ int nvram, uinput; struct record state[2]; int buttons, counter = 1; + int key_burst = 0; #if 1 /* Software volume control */ @@ -273,13 +276,21 @@ grok_nvram(nvram, state); - for(;; counter ^= 1) + for(;; counter ^= 1) { grok_nvram(nvram, state + counter); compare_nvram(&buttons, state + (counter^1), state + counter); - if(buttons &= mask) - punt_keycodes(uinput, buttons, codes); - usleep(POLL_DELAY*1000); + if(buttons &= mask) { + punt_keycodes(uinput, buttons, codes); + key_burst = KEY_BURST; + } + + if (key_burst>0) { + key_burst--; + usleep(POLL_DELAY*1000); + } + else + usleep(WAIT_DELAY*1000); } cleanup_uinput(SIGTERM); -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-vserver-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
--- End Message ---
--- Begin Message ---Source: hotkey-setup Source-Version: 0.1-18 We believe that the bug you reported is fixed in the latest version of hotkey-setup, which is due to be installed in the Debian FTP archive: hotkey-setup_0.1-18.dsc to pool/main/h/hotkey-setup/hotkey-setup_0.1-18.dsc hotkey-setup_0.1-18.tar.gz to pool/main/h/hotkey-setup/hotkey-setup_0.1-18.tar.gz hotkey-setup_0.1-18_i386.deb to pool/main/h/hotkey-setup/hotkey-setup_0.1-18_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated hotkey-setup package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 9 Jan 2008 23:23:18 +0100 Source: hotkey-setup Binary: hotkey-setup Architecture: source i386 Version: 0.1-18 Distribution: unstable Urgency: low Maintainer: Petter Reinholdtsen <[EMAIL PROTECTED]> Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]> Description: hotkey-setup - auto-configures laptop hotkeys Closes: 355813 430031 445737 458535 459423 459881 459898 Changes: hotkey-setup (0.1-18) unstable; urgency=low . * New maintainer (Closes: #459898). * Acknowledge NMU (Closes: #458535). * Merge changes from Ubuntu version 0.1-17ubuntu20. - Adds support for CLEVO D500P laptop (Closes: #355813) - Avoids circular dependencies between key and brightness events (Closes: #459881). - Reduces power and cpu consumption of thinkpad-keys (Closes: #430031) * Debian changes from earlier versions left to merge with Ubuntu: - Include LSB header in init.d script. - Make sure to exit the init.d script if the package is removed but not purged. - Depend on "console-tools | console-utilities" for the setkeycodes program. - Do not depend on newer sysv-rc, Debian is not using the multiuser argument for update-rc.d. - Remove runlevel 0 and 6 stop scripts by removing and adding the init.d script, as just removing the symlinks do not work with file-rc. - Updated standards-version from 3.6.1 to 3.7.3. * Add new keys for mute and volume up and down keys on Dell XPS M1330 (Closes: #459423). * Add keys left and right for Thinkpad X60 tablets (Closes: #445737). * Change formatting of NEWS file to keep lintian quiet. Files: 3bc9d618c849662e353bf53170f7f5b6 523 misc optional hotkey-setup_0.1-18.dsc 6b2ee206e8286f5af73951bba33684b3 19554 misc optional hotkey-setup_0.1-18.tar.gz 6dde60a768864977c78a485664842d49 21842 misc optional hotkey-setup_0.1-18_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHhVi120zMSyow1ykRAu/nAJ45oUsSIpUJC156r5/LcdDLbRnrmACfSR/E FZi7OJr2VswxQ24z9iSBI10= =My/1 -----END PGP SIGNATURE-----
--- End Message ---

