1. 27 3月, 2012 19 次提交
  2. 22 3月, 2012 4 次提交
    • S
      apple_bl: Add register/unregister functions · 83e72dd9
      Seth Forshee 提交于
      Add functions to allow other modules to enable or disable apple_bl. This
      will be used by the gmux driver to disable apple_bl when the gmux is
      present, as it is a better and more reliable option for brightness
      control.
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      83e72dd9
    • S
      toshiba_acpi: Refuse to load on machines with buggy INFO implementations · f11f999e
      Seth Forshee 提交于
      Several Satellite models have a buggy implementation of the INFO method
      that causes ACPI exceptions when executed:
      
       ACPI Error: Result stack is empty! State=ffff88012d70f800 (20110413/dswstate-98)
       ACPI Exception: AE_AML_NO_RETURN_VALUE, Missing or null operand (20110413/dsutils-646)
       ACPI Exception: AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110413/dsutils-763)
       ACPI Error: Method parse/execution failed [\_SB_.VALZ.GETE] (Node ffff880131175eb0), AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
       ACPI Error: Method parse/execution failed [\_SB_.VALZ.INFO] (Node ffff880131175ed8), AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
       toshiba_acpi: ACPI INFO method execution failed
       toshiba_acpi: Failed to query hotkey event
      
      All known machines with this implementation also have a WMI interface
      with event GUID 59142400-C6A3-40FA-BADB-8A2652834100 which is not seen
      on any other models. Refuse to load toshiba_acpi on machines with this
      guid.
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      f11f999e
    • A
      toshiba_acpi: Support additional hotkey scancodes · af502837
      Azael Avalos 提交于
      These scancodes are used by many of the models now supported with
      the addition of TOS1900 device support.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      af502837
    • S
      toshiba_acpi: Support alternate hotkey interfaces · 29cd293f
      Seth Forshee 提交于
      There are two types of problems that prevent hotkeys from working
      on many of the machines supported by toshiba_acpi. The first of
      these is the lack of a functioning SCI for hotkey events. For these
      machines it is possible to filter the Fn keypresses from the
      keyboard and generate a notification by executing the ACPI NTFY
      method.
      
      The second problem is a lack of support for HCI_SYSTEM_EVENT, which
      is used for reading the hotkey scancodes. On these machines the
      scancodes can be read by executing the ACPI NTFY method.
      
      This patch fixes both problems by installing an i8042 filter when
      the NTFY method is present to generate notifications and by
      detecting which of INFO or HCI_SYSTEM_EVENT is supported for
      reading scancodes. If neither method of reading scancodes is
      supported, the hotkey input device is not registered.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      29cd293f
  3. 21 3月, 2012 17 次提交