1. 06 3月, 2017 1 次提交
    • D
      HID: chicony: Add support for another ASUS Zen AiO keyboard · f2f10b7e
      Daniel Drake 提交于
      Add support for media keys on the keyboard that comes with the
      Asus V221ID and ZN241IC All In One computers.
      
      The keys to support here are WLAN, BRIGHTNESSDOWN and BRIGHTNESSUP.
      
      This device is not visibly branded as Chicony, and the USB Vendor ID
      suggests that it is a JESS device. However this seems like the right place
      to put it: the usage codes are identical to the currently supported
      devices, and this driver already supports the ASUS AIO keyboard AK1D.
      Signed-off-by: NDaniel Drake <drake@endlessm.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f2f10b7e
  2. 22 2月, 2017 1 次提交
  3. 14 2月, 2017 2 次提交
  4. 08 2月, 2017 1 次提交
  5. 03 2月, 2017 2 次提交
  6. 31 1月, 2017 2 次提交
  7. 27 1月, 2017 11 次提交
  8. 23 1月, 2017 3 次提交
  9. 20 1月, 2017 2 次提交
  10. 19 1月, 2017 1 次提交
    • J
      HID: wacom: Fix sibling detection regression · a9ce7856
      Jason Gerecke 提交于
      Commit 345857bb ("HID: wacom: generic: Add support for sensor offsets") included
      a change to the operation and location of the call to 'wacom_add_shared_data'
      in 'wacom_parse_and_register'. The modifications included moving it higher up
      so that it would occur before the call to 'wacom_retrieve_hid_descriptor'. This
      was done to prevent a crash that would have occured when the report containing
      tablet offsets was fed into the driver with 'wacom_hid_report_raw_event'
      (specifically: the various 'wacom_wac_*_report' functions were written with the
      assumption that they would only be called once tablet setup had completed;
      'wacom_wac_pen_report' in particular dereferences 'shared' which wasn't yet
      allocated).
      
      Moving the call to 'wacom_add_shared_data' effectively prevented the crash but
      also broke the sibiling detection code which assumes that the HID descriptor
      has been read and the various device_type flags set.
      
      To fix this situation, we restore the original 'wacom_add_shared_data'
      operation and location and instead implement an alternative change that can
      also prevent the crash. Specifically, we notice that the report functions
      mentioned above expect to be called only for input reports.  By adding a check,
      we can prevent feature reports (such as the offset report) from
      causing trouble.
      
      Fixes: 345857bb ("HID: wacom: generic: Add support for sensor offsets")
      Signed-off-by: NJason Gerecke <jason.gerecke@wacom.com>
      Tested-by: NPing Cheng <pingc@wacom.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      a9ce7856
  11. 13 1月, 2017 2 次提交
  12. 12 1月, 2017 7 次提交
  13. 06 1月, 2017 2 次提交
  14. 05 1月, 2017 1 次提交
  15. 02 1月, 2017 2 次提交