Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2010 08:00:16 +0000 (UTC)
From:      Kai Wang <kaiw@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libusbhid data.c descr.c parse.c usage.c usbhid.h usbvar.h
Message-ID:  <201003270800.o2R80R76085114@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kaiw        2010-03-27 08:00:16 UTC

  FreeBSD src repository

  Modified files:
    lib/libusbhid        data.c descr.c parse.c usage.c usbhid.h 
                         usbvar.h 
  Log:
  SVN rev 205728 on 2010-03-27 08:00:16Z by kaiw
  
  Merge improvements from kernel HID parser to the userland usbhid(3)
  parser.  This merge does not change any API and should not break any
  native or thirdparty applications.
  
  Changes include:
  
  * Merge multiple report ID support and other improvements from kernel
    HID parser.
  * Ignore rid argument in hid_start_parser, parse all the report items since
    we now support multiple report ID.
  * Skip report ID byte in hid_get_data() and set report ID byte in
    hid_set_data(), if report ID is non-zero.
  * Reimplement hid_get_report_id: instead get report id from uhid device
    (which is always 0), try parsing the report descriptor and return the
    first report ID encountered.
  
  Reviewed by:    hps
  Silent on:      -usb mailing list
  
  Revision  Changes    Path
  1.7       +23 -8     src/lib/libusbhid/data.c
  1.13      +21 -1     src/lib/libusbhid/descr.c
  1.11      +330 -208  src/lib/libusbhid/parse.c
  1.9       +1 -0      src/lib/libusbhid/usage.c
  1.13      +30 -33    src/lib/libusbhid/usbhid.h
  1.5       +2 -2      src/lib/libusbhid/usbvar.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003270800.o2R80R76085114>