home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hal / fdi / information / 10freedesktop / 10-laptop-panel-hardware.fdi < prev    next >
Encoding:
Extensible Markup Language  |  2009-04-09  |  2.3 KB  |  43 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
  2. <deviceinfo version="0.2">
  3.   <!-- Some laptops have software controllable backlights and will provide
  4.        notifications on keypresses, but will also change the brightness
  5.        directly in firmware. If software changes the value in response to
  6.        a press, there's a risk that a further event will be generated and
  7.        a feedback loop occur. brightness_in_hardware indicates to clients
  8.        that they should not act in response to keypress notifications. -->
  9.   <device>
  10.     <match key="info.category" string="laptop_panel">
  11.       <!-- For Asus EeePC -->
  12.       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor"
  13.           string="ASUSTeK Computer INC.">
  14.         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="701">
  15.           <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
  16.         </match>
  17.       </match>
  18.       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="TOSHIBA">
  19.         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="SATELLITE M100">
  20.           <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
  21.         </match>
  22.       </match>
  23.       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="Hewlett-Packard">
  24.         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="2510p;2710p;nc2400">
  25.           <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
  26.         </match>
  27.     <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="4410s;4415s;4416s;Compaq 5X5">
  28.       <!-- needed since the acpi video module reports it handle the events, but it don't work on this machines-->
  29.           <merge key="laptop_panel.brightness_in_hardware" type="bool">false</merge>
  30.         </match>
  31.       </match>
  32.  
  33.       <match key="linux.sysfs_path" suffix="/backlight/thinkpad_screen">
  34.         <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
  35.       </match>
  36.  
  37.     </match>
  38.     <match key="linux.sysfs_path" contains="/sys/devices/virtual/backlight/acpi_video">
  39.       <merge key="laptop_panel.brightness_in_hardware" type="bool">false</merge>
  40.     </match>
  41.   </device>
  42. </deviceinfo>
  43.