1. 27 10月, 2020 6 次提交
  2. 08 10月, 2020 8 次提交
  3. 07 10月, 2020 1 次提交
  4. 06 10月, 2020 1 次提交
    • H
      platform/x86: asus-wmi: Fix SW_TABLET_MODE always reporting 1 on many different models · 1797d588
      Hans de Goede 提交于
      Commit b0dbd97d ("platform/x86: asus-wmi: Add support for
      SW_TABLET_MODE") added support for reporting SW_TABLET_MODE using the
      Asus 0x00120063 WMI-device-id to see if various transformer models were
      docked into their keyboard-dock (SW_TABLET_MODE=0) or if they were
      being used as a tablet.
      
      The new SW_TABLET_MODE support (naively?) assumed that non Transformer
      devices would either not support the 0x00120063 WMI-device-id at all,
      or would NOT set ASUS_WMI_DSTS_PRESENCE_BIT in their reply when querying
      the device-id.
      
      Unfortunately this is not true and we have received many bug reports about
      this change causing the asus-wmi driver to always report SW_TABLET_MODE=1
      on non Transformer devices. This causes libinput to think that these are
      360 degree hinges style 2-in-1s folded into tablet-mode. Making libinput
      suppress keyboard and touchpad events from the builtin keyboard and
      touchpad. So effectively this causes the keyboard and touchpad to not work
      on many non Transformer Asus models.
      
      This commit fixes this by using the existing DMI based quirk mechanism in
      asus-nb-wmi.c to allow using the 0x00120063 device-id for reporting
      SW_TABLET_MODE on Transformer models and ignoring it on all other models.
      
      Fixes: b0dbd97d ("platform/x86: asus-wmi: Add support for SW_TABLET_MODE")
      Link: https://patchwork.kernel.org/patch/11780901/
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=209011
      BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1876997Reported-by: NSamuel Čavoj <samuel@cavoj.net>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      1797d588
  5. 05 10月, 2020 1 次提交
  6. 02 10月, 2020 3 次提交
  7. 29 9月, 2020 1 次提交
  8. 24 9月, 2020 11 次提交
  9. 21 9月, 2020 2 次提交
  10. 09 9月, 2020 2 次提交
  11. 04 9月, 2020 2 次提交
  12. 31 8月, 2020 1 次提交
    • G
      platform/chrome: cros_ec_trace: Add fields to command traces · 81431824
      Gwendal Grignou 提交于
      In ftrace, add more fields to the cros_ec command event:
      
        - Add size of commands to check if they are properly set.
        - Add offset (in case an EC is cascaded being another EC),
          to allow proper command output
      
      With:
      
        echo 1 > events/cros_ec/cros_ec_cmd/enable
      
      We now have (on samus)
      
      Invalid command for the sensor stack:
      
        ectool-6942  [002] ....  3082.783116: cros_ec_request_done: version: 3,
        offset: 0, command: EC_CMD_MOTION_SENSE_CMD, outsize: 2, insize: 19,
        ec result: EC_RES_INVALID_PARAM, retval: 0
      
      Powerd accessing PD EC being the main EC:
      
        powerd-1272  [002] ....    40.644026: cros_ec_request_done: version: 0,
        offset: 1, command: EC_CMD_USB_PD_POWER_INFO, outsize: 1, insize: 16,
        ec result: EC_RES_SUCCESS, retval: 16
      Signed-off-by: NGwendal Grignou <gwendal@chromium.org>
      Acked-by: NRaul E Rangel <rrangel@chromium.org>
      Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
      81431824
  13. 24 8月, 2020 1 次提交