Skip to content
Snippets Groups Projects
  1. Jun 16, 2011
  2. Jun 12, 2011
    • Benjamin Tissoires's avatar
      HID: hid-multitouch: fix broken eGalax · b84bd27f
      Benjamin Tissoires authored
      
      Since the inclusion of eGalax devices in 2.6.39, I've got some
      bug reports for 480d and other devices.
      The problem lies in the reports descriptors: eGalax supports both
      pen and fingers, and so the reports descriptors contained both.
      But hid-multitouch relies on them to detect the last item in each
      field to send the multitouch events. In 480d, the last item is not
      Y as it should but Pressure. That means that the fields are not
      aligned and X,Y are at 0,0 (the other touch coordinates of the report).
      
      With this patch, the detection is made only when the field ContactID
      has been detected inside the collection.
      
      There is still a problem with the detections of the range as stylus
      and fingers may not have the same min/max, but it's a start.
      
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@enac.fr>
      Reviewed-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      b84bd27f
  3. Jun 07, 2011
  4. May 26, 2011
  5. May 24, 2011
    • Jimmy Hon's avatar
      HID: add quirk for HyperPen 10000U · e23be0a2
      Jimmy Hon authored
      
      Add 5543:0064 UC-Logic Technology Corp. Aiptek HyperPen 10000U to quirks with
      HID_QUIRK_MULTI_INPUT.
      
      Originally the device is reporting the x,y coordinates on Z and RX. By adding
      this quirk, there will be two kernel devices. The first one is muted and the
      second device will report coordinates on X and Y.
      
      Signed-off-by: default avatarJimmy Hon <honyuenkwun@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      e23be0a2
    • Jiri Kosina's avatar
      HID: hiddev: fix potential use-after-free · 7f77897e
      Jiri Kosina authored
      
      Commit 6cb4b040 ("HID: hiddev: fix race between hiddev_disconnect
      and hiddev_release") made it possible to access hiddev (for unlocking
      the existance mutex) once hiddev has been kfreed.
      
      Change the order so that this can not happen (always unlock the mutex first,
      it is needed only to protect access to ->exist and ->open).
      
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      7f77897e
  6. May 23, 2011
Loading