Public bug reported:

Binary package hint: hal

hal Version: 0.5.10+git20080301-1ubuntu1
gpm Version: 2.21.92-0ubuntu2

On my Dell Inspiron 1501 laptop brightness keys work fine because they are done 
in hardware (bios 2.6.3), but dim on idle/battery does not work. I narrowed it 
down to the following method in addon-dell-backlight.cpp not working (or the 
libsmbios function it calls):
    static void write_backlight (u32 newBacklightValue, dbus_bool_t onAC)

hald gives the following messages
[8587]: 16:18:39.466 [D] addon-dell-backlight.cpp:210: Received SetBrightness 
DBus call
[8587]: 16:18:39.466 [E] addon-dell-backlight.cpp:113: Could not access the 
dcdbas kernel module. Please make sure it is loaded

The 'dcdbas' module is loaded according to lsmod (and read_backlight
does work). When this is fixed, gpm also needs to respect
"laptop_panel.brightness_in_hardware = true' (which is set on my
laptop). ie, keypresses  should not result in "SetBrightness" dbus
calls. Right now it does send them (according to the change log way back
in early 2006 it was supported, but it seemed to be ripped out when
files where reorganized. There is still some code (in gpm-brightness-
kbd.c), but it is always false. Apart from that the keypresses are
picked up by gpm-brightness-lcd.c, but there is no code for ignoring
keypresses here.

Note the that gpm needs to process the keypresses to show the osd (just
don't send SetBrightness). Ignoring SetBrightness in addon-dell-
backlight (or deeper down the stack) is also not an option since than
dim on idle/backlight wont work.

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: hal
+ 
+ hal Version: 0.5.10+git20080301-1ubuntu1
+ gpm Version: 2.21.92-0ubuntu2
  
  On my Dell Inspiron 1501 laptop brightness keys work fine because they are 
done in hardware (bios 2.6.3), but dim on idle/battery does not work. I 
narrowed it down to the following method in addon-dell-backlight.cpp not 
working (or the libsmbios function it calls):
      static void write_backlight (u32 newBacklightValue, dbus_bool_t onAC)
  
  hald gives the following messages
  [8587]: 16:18:39.466 [D] addon-dell-backlight.cpp:210: Received SetBrightness 
DBus call
  [8587]: 16:18:39.466 [E] addon-dell-backlight.cpp:113: Could not access the 
dcdbas kernel module. Please make sure it is loaded
  
  The 'dcdbas' module is loaded according to lsmod (and read_backlight
  does work). When this is fixed, gpm also needs to respect
  "laptop_panel.brightness_in_hardware = true' (which is set on my
  laptop). ie, keypresses  should not result in "SetBrightness" dbus
  calls. Right now it does send them (according to the change log way back
  in early 2006 it was supported, but it seemed to be ripped out when
  files where reorganized. There is still some code (in gpm-brightness-
  kbd.c), but it is always false. Apart from that the keypresses are
  picked up by gpm-brightness-lcd.c, but there is no code for ignoring
  keypresses here.
  
  Note the that gpm needs to process the keypresses to show the osd (just
  don't send settbrightness). Ignoring setbrightness in addon-dell-
  backlight (or deeper down the stack) is also not an option since than
  dim on idle/backlight wont work.

** Also affects: gnome-power-manager (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- Dim on idle/batery does not work on Dell laptop 
+ Dim on idle/battery does not work on Dell laptop

** Description changed:

  Binary package hint: hal
  
  hal Version: 0.5.10+git20080301-1ubuntu1
  gpm Version: 2.21.92-0ubuntu2
  
  On my Dell Inspiron 1501 laptop brightness keys work fine because they are 
done in hardware (bios 2.6.3), but dim on idle/battery does not work. I 
narrowed it down to the following method in addon-dell-backlight.cpp not 
working (or the libsmbios function it calls):
      static void write_backlight (u32 newBacklightValue, dbus_bool_t onAC)
  
  hald gives the following messages
  [8587]: 16:18:39.466 [D] addon-dell-backlight.cpp:210: Received SetBrightness 
DBus call
  [8587]: 16:18:39.466 [E] addon-dell-backlight.cpp:113: Could not access the 
dcdbas kernel module. Please make sure it is loaded
  
  The 'dcdbas' module is loaded according to lsmod (and read_backlight
  does work). When this is fixed, gpm also needs to respect
  "laptop_panel.brightness_in_hardware = true' (which is set on my
  laptop). ie, keypresses  should not result in "SetBrightness" dbus
  calls. Right now it does send them (according to the change log way back
  in early 2006 it was supported, but it seemed to be ripped out when
  files where reorganized. There is still some code (in gpm-brightness-
  kbd.c), but it is always false. Apart from that the keypresses are
  picked up by gpm-brightness-lcd.c, but there is no code for ignoring
  keypresses here.
  
  Note the that gpm needs to process the keypresses to show the osd (just
- don't send settbrightness). Ignoring setbrightness in addon-dell-
+ don't send SetBrightness). Ignoring SetBrightness in addon-dell-
  backlight (or deeper down the stack) is also not an option since than
  dim on idle/backlight wont work.

-- 
Dim on idle/battery does not work on Dell laptop 
https://bugs.launchpad.net/bugs/201433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to