1. 14 Dec, 2010 2 commits
    • Benjamin Tissoires's avatar
      HID: hid-mosart: support suspend/resume · c25bcd34
      Benjamin Tissoires authored
      The device has 2 modes. The first one is an emulation of a touchscreen
      by sending left and right button, and the second mode is the one used in
      dual-touch (sending trackingID, touch and else).
      
      In case of a suspend/resume, the device switch back to the first mode
      described above (with left and right buttons).
      This adds a hook in .reset_resume for the device to be switched to
      the correct mode (I just copied the code in mosart_probe).
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@enac.fr>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      c25bcd34
    • Benjamin Tissoires's avatar
      HID: hid-mosart: ignore buttons report · ad6d4267
      Benjamin Tissoires authored
      This commit allows the device to be recognized as a touchscreen, and not a
      touchpad by xf86-input-evdev.
      
      The device has 2 modes. The first one is an emulation of a touchscreen by
      sending left and right button, and the second mode is the one used in
      dual-touch (sending trackingID, touch and else).
      
      That's why there is a hid report containing left and right buttons
      (9000001 and 9000002). The point is that xorg relies on these fields to
      determine if it's a touchpad or a touchscreen.
      Clearing the report (return -1) makes xorg detecting it out of the box
      as a quite pleasant (dual)touchscreen.
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@enac.fr>
      Acked-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      ad6d4267
  2. 09 Dec, 2010 1 commit
  3. 03 Dec, 2010 1 commit
  4. 02 Dec, 2010 33 commits
  5. 01 Dec, 2010 3 commits