Package: hal
Version: 0.5.10-4
Severity: normal

Hi,
Since some time, like 2 weeks or so, my backlight control keys don't
work right anymore. They were working fine before.
(I figure it was my upgrade to 2.6.23 with preemtion enabled, which
means I can use the Dell dcdbas driver without interupting sound, mouse,
etc. whenever brightness levels or wireless status is set)

When I press "darker", the brightness goes down one step.
However, I can't go down further steps in brightness.
Pressing "up" will always increase the brightness level to maximum.
The "gnome-brightness-control" applet works fine, and allows me to set
all brightness levels.

Some debug information:
> lshal | grep num_levels
  laptop_panel.num_levels = 101  (0x65)  (int)
  laptop_panel.num_levels = 8  (0x8)  (int)

As you can see, I have two brightness controls in hal.

> hal-find-by-capability --capability laptop_pane
/org/freedesktop/Hal/devices/computer_backlight
/org/freedesktop/Hal/devices/dell_lcd_panel

Setting works for "computer_backlight", but not for dell_lcd_panel.
(Most likely because I have a BIOS password set)
Getting works for both, and dell_lcd_panel sees changes by computer_backlight.

Removing the file 
/usr/share/hal/fdi/policy/10osvendor/10-dell-laptop-brightness.fdi
and restarting hal doesn't change anything wrt. the keys.
The lshal statement above only gives one control now.

in /proc/acpi/video/VID/LCD/brightness it lists
levels:  100 100 12 24 36 48 60 72 84 100

So I'm wondering if I'm facing some rounding issue here.
The two brightness levels I can reach are 84 and 100.

Setting 100 causes the resulting value to be 100.
Setting 96 causes the resulting value to be 100.
Setting 95 causes the resulting value to be 84.
Setting 85 causes the resulting value to be 84.
Setting 84 causes the resulting value to be 84.
Setting 83 causes the resulting value to be 72.
Setting 73 causes the resulting value to be 72.
Setting 72 causes the resulting value to be 72.
Setting 71 causes the resulting value to be 60.

Setting 24 causes the resulting value to be 24.
Setting 23 causes the resulting value to be 12.
Setting 1 causes the resulting value to be 12.
So values are being rounded down in the range 12-95.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.23.9

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-==============
adduser                            | 3.105
dbus                     (>= 0.61) | 1.1.2-1
hal-info             (>= 20070402) | 20071212-1
libc6                   (>= 2.7-1) | 2.7-4
libdbus-1-3             (>= 1.1.1) | 1.1.2-1
libdbus-glib-1-2         (>= 0.74) | 0.74-1
libexpat1              (>= 1.95.8) | 1.95.8-4
libgcc1               (>= 1:4.2.1) | 1:4.2.2-4
libglib2.0-0           (>= 2.14.0) | 2.14.4-2
libhal-storage1                    | 0.5.10-4
libhal1                   (>= 0.5) | 0.5.10-4
libsmbios1                         | 0.13.10-1
libstdc++6              (>= 4.2.1) | 4.2.2-4
libusb-0.1-4         (>= 2:0.1.12) | 2:0.1.12-8
libvolume-id0           (>= 0.113) | 0.114-2
lsb-base                           | 3.1-24
mount                    (>= 2.13) | 2.13-13
pciutils                           | 1:2.2.4-1.1
pm-utils                           | 0.99.2-3
udev                    (>= 0.065) | 0.114-2
usbutils                           | 0.73-5

best regards,
Erich Schubert
-- 
     erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C     (o_
The problem with the future is that it keeps turning into the present. //\
   Wenn zwei gute Freunde sind, die einander kennen, Sonn' und Mond    V_/_
     begegnen sich, ehe sie sich trennen. --- Clemens von Brentano




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

Reply via email to