1. 25 2月, 2013 5 次提交
  2. 18 12月, 2012 1 次提交
  3. 28 7月, 2012 2 次提交
    • A
      asus-nb-wmi: add some video toggle keys · 3766054f
      AceLan Kao 提交于
      There are some new video switch keys that used by newer machines.
      0xA0 - SDSP HDMI only
      0xA1 - SDSP LCD + HDMI
      0xA2 - SDSP CRT + HDMI
      0xA3 - SDSP TV + HDMI
      But in Linux, there is no suitable userspace application to handle this,
      so, mapping them all to KEY_SWITCHVIDEOMODE.
      Signed-off-by: NAceLan Kao <acelan.kao@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      3766054f
    • A
      asus-nb-wmi: add wapf quirk for ASUS machines · d2044c5a
      AceLan Kao 提交于
      The BIOS of these machines will try to enable/disable wifi/bt in
      their own sqeuence. It won't read the enable/disable parameter
      in WMI command, but just iterates the wifi/bt's status described below
      1st. enable wifi, enable bt
      2nd. disable wifi, enable bt
      3rd. enable wifi, disable bt
      4th. disable wifi, disable bt
      That will totally mess up the rfkill status, since we will try to read
      wifi and bt's status and reset it again while booting up.
      
      To avoid this, these machines should set the wapf value to 4,
      that will let software totally control the wifi/bt's status and
      BIOS will do nothing instead of sending out the 0x88(KEY_RFKILL) event
      instead of 0x5e(wifi enable), 0x5f(wifi diable), 0x7d(bt enable), and
      0x7e(bt disable) through WMI.
      
      With this patch[1], it will handle the KEY_RFKILL event correctly and
      will block/unblock wifi and bt together.
      
      1. https://lkml.org/lkml/2012/5/21/75Signed-off-by: NAceLan Kao <acelan.kao@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      d2044c5a
  4. 27 3月, 2012 4 次提交
  5. 06 8月, 2011 1 次提交
  6. 28 3月, 2011 1 次提交
    • C
      asus-nb-wmi: Asus Notebooks WMI Driver · b229ece9
      Corentin Chary 提交于
      Introduce a new driver for Asus Notebooks shipped with
      a WMI device instead of the old ACPI device. The WMI
      device is almost the same as the one present in Eee PC,
      but the event guid and the keymap are different.
      
      The keymap comes from asus-laptop module.
      
      On Asus notebooks, when you call the WMI device, you always
      need a 64bit buffer, even if you only want to get the state
      of a device (tested on a G73).
      Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      b229ece9