1. 06 11月, 2007 2 次提交
    • H
      ACPI: thinkpad-acpi: support 16 levels of brightness (v3) · a3f104c0
      Henrique de Moraes Holschuh 提交于
      Lenovo ThinkPads often have 16 brightness levels in EC, and not just eight
      levels like older ThinkPads.  They also have standard ACPI backlight
      brightness control.
      
      We detect the number of brightness levels by the presence of a BCLL package
      with 16 entries.  If BCLL is not there, we assume eight levels (Z6*).  If
      it is there, but it doesn't have 16 entries, we assume eight levels (T60).
      Otherwise we assume sixteen levels (T61, X61, etc).
      
      We don't use _BCL because it can have side-effects in thinkpads.  Thanks to
      Thomas Renninger <trenn@suse.de> for notifying me of this potential
      problem.
      
      Using the standard ACPI backlight brightness control *instead* of the
      native thinkpad backlight control is a better idea, though.  A different
      patch will take care of this.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Thomas Renninger <trenn@suse.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a3f104c0
    • H
      ACPI: thinkpad-acpi: revert keymap changes · e927c08d
      Henrique de Moraes Holschuh 提交于
      Revert commit fba956c4, "Map volume and
      brightness events on thinkpads".
      
      That commit made some modifications to the default keymaps that cause bad
      behaviour on all IBM ThinkPads if HAL doesn't know to change them into
      passive (on-screen-display only) events.
      
      The proper solution for IBM ThinkPads is to use the _NOTIFY version of the
      key codes for the IBM default map (which are not available in mainline
      yet), and for the Lenovo keymap, it will take some studying of the various
      DSDTs and testing to know the best path (which I will do shortly).
      
      For more data, refer to:
      http://thread.gmane.org/gmane.linux.kernel/591037/focus=591045Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Jeremy Katz <katzj@redhat.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e927c08d
  2. 05 11月, 2007 6 次提交
  3. 04 11月, 2007 10 次提交
  4. 03 11月, 2007 22 次提交