1. 17 10月, 2008 1 次提交
  2. 15 10月, 2008 2 次提交
  3. 23 7月, 2008 2 次提交
  4. 22 7月, 2008 1 次提交
  5. 21 6月, 2008 1 次提交
  6. 20 10月, 2007 1 次提交
  7. 15 10月, 2007 1 次提交
  8. 14 10月, 2007 2 次提交
    • M
      HID: hidraw_connect() memleak fix · 709d27c0
      Mariusz Kozlowski 提交于
      It looks like hidraw_connect() is leaking memory in case of failure.
      Also it should return -ENOMEM when kzalloc fails.
      Signed-off-by: NMariusz Kozlowski <m.kozlowski@tuxland.pl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      709d27c0
    • J
      HID: add hidraw interface · 86166b7b
      Jiri Kosina 提交于
      hidraw is an interface that is going to obsolete hiddev one
      day.
      
      Many userland applications are using libusb instead of using
      kernel-provided hiddev interface. This is caused by various
      reasons - the HID parser in kernel doesn't handle all the
      HID hardware on the planet properly, some devices might require
      its own specific quirks/drivers, etc.
      
      hiddev interface tries to do its best to parse all the received
      reports properly, and presents only parsed usages into userspace.
      This is however often not enough, and that's the reason why
      many userland applications just don't use hiddev at all, and
      rather use libusb to read raw USB events and process them on
      their own.
      
      Another drawback of hiddev is that it is USB-specific.
      
      hidraw interface provides userspace readers with really raw HID
      reports, no matter what the low-level transport layer is (USB/BT),
      and gives the userland applications all the freedom to process
      the HID reports in a way they wish to.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      86166b7b