Package: pommed
Version: 1.1~dfsg-1
Severity: wishlist
Tags: patch

Hello,

I propose to configure the keyboard backlight off key so that the level
is toggled between 0 and the previous value.
This should work even if automatic keyboard backlight is _not_ used.

I do not use automatic keyboard backlight management since the algorithm
is not correct for me. backlight is activated just by moving my hands
when typing (when ambiant light is low) and so is very annoying. But
that should go to another bug report.

The patch is very easy:
--- pommed-1.1~dfsg/pommed/mactel/kbd_backlight.c       2006-12-25 
11:58:14.000000000 +0100
+++ pommed-1.1/pommed/mactel/kbd_backlight.c    2007-01-27 16:22:06.000000000 
+0100
@@ -101,7 +101,7 @@
   curval = kbd_backlight_get();

   /* automatic backlight toggle by user */
-  if ((val == KBD_BACKLIGHT_OFF) && (kbd_bck_status.auto_on))
+  if (val == KBD_BACKLIGHT_OFF)
     {
       if (!kbd_bck_status.off)
        {



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages pommed depends on:
ii  eject                        2.1.4-2.1   ejects CDs and operates CD-Changer
ii  libasound2                   1.0.13-1    ALSA library
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libconfuse0                  2.5-2       Library for parsing configuration 
ii  libdbus-1-3                  1.0.2-1     simple interprocess messaging syst
ii  libsmbios1                   0.12.1-3    Provide access to (SM)BIOS informa
ii  zlib1g                       1:1.2.3-13  compression library - runtime

Versions of packages pommed recommends:
ii  dbus                          1.0.2-1    simple interprocess messaging syst

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to