[Pkg-utopia-maintainers] Bug#479091: hal-info: laptop_panel.brightness_in_hardware not set on Asus EeePC

Tomaz Solc tomaz.solc at tablix.org
Fri May 2 17:31:33 UTC 2008


Package: hal-info
Version: 20080317+git20080318-1
Severity: normal
Tags: patch


Hi

I'm attaching a patch that sets "laptop_panel.brightness_in_hardware"
property on Asus EeePC (this laptop makes LCD backlight changes
automatically without any software intervention).

Together with patch attached to #479089 this fixes gnome-power-manager
problems with brightness hotkeys on this laptop.

Thanks
Tomaz Solc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
-------------- next part --------------
--- /usr/share/hal/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi.orig	2008-05-02 13:09:46.000000000 +0200
+++ /usr/share/hal/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi	2008-05-02 13:11:57.000000000 +0200
@@ -7,6 +7,12 @@
        This is a hardware "feature" seen on some IBM and Lenovo laptops. -->
   <device>
     <match key="info.category" string="laptop_panel">
+    <!-- For Asus EeePC -->
+      <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="ASUSTeK Computer INC.">
+        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="701">
+          <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
+        </match>
+      </match>
       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="TOSHIBA">
         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="SATELLITE M100">
           <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>


More information about the Pkg-utopia-maintainers mailing list