hal-info: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Sun Mar 1 03:32:33 PST 2009


 fdi/information/10freedesktop/10-laptop-panel-hardware.fdi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1e97c1a55c896f2b83faa727f9a956bfb0f3db38
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Sun Mar 1 12:30:50 2009 +0100

    fix brightness_in_hardware for ThinkPads
    
    Fixed brightness_in_hardware for ThinkPads. The sysfs_path has
    changed on newer kernel version from /sys/class/backlight/thinkpad_screen
    to /sys/devices/virtual/backlight/thinkpad_screen. Match now
    for the suffix /backlight/thinkpad_screen to work with all kernel
    versions.

diff --git a/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi b/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi
index 632a459..ef35a18 100644
--- a/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi
+++ b/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi
@@ -30,7 +30,7 @@
         </match>
       </match>
 
-      <match key="linux.sysfs_path" string="/sys/class/backlight/thinkpad_screen">
+      <match key="linux.sysfs_path" suffix="/backlight/thinkpad_screen">
         <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
       </match>
 


More information about the hal-commit mailing list