[libhid-discuss] Help for my device

KELEEN uckuo at mcs.drexel.edu
Tue May 15 03:44:21 UTC 2007


Thank you for the instant reply!

The following is the output of the modified test_libhid.c. The outputs of the first execution and the rest of execution are the
same.


Thanks & Regards,
Keleen

debian:~/develop/libhid-0.2.15+20060325/test# ./test_libhid
 NOTICE: hid_init(): libhid 0.2.15+20060325.0.0 is being initialized.
  TRACE: hid_init(): initialising USB subsystem...
  TRACE: hid_init(): scanning for USB busses...
  TRACE: hid_init(): scanning for USB devices...
 NOTICE: hid_init(): successfully initialised HID library.
  TRACE: hid_new_HIDInterface(): creating a new HIDInterface instance...
  TRACE: hid_force_open(): forcefully opening a device interface according to matching criteria...
  TRACE: hid_get_usb_handle(): acquiring handle for a USB device...
  TRACE: hid_find_usb_device(): enumerating USB busses...
  TRACE: hid_find_usb_device(): enumerating USB devices on bus 005...
  TRACE: hid_find_usb_device(): inspecting USB device 005/001[0]...
  TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
  TRACE: hid_compare_usb_device(): inspecting vendor ID...
  TRACE: hid_compare_usb_device(): no match on vendor ID.
  TRACE: hid_compare_usb_device(): inspecting product ID...
  TRACE: hid_compare_usb_device(): no match on product ID.
  TRACE: hid_compare_usb_device(): no custom matching function supplied.
 NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 005/001[0] does not match 0x04e8.
  TRACE: hid_find_usb_device(): enumerating USB devices on bus 003...
  TRACE: hid_find_usb_device(): inspecting USB device 003/001[0]...
  TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
  TRACE: hid_compare_usb_device(): inspecting vendor ID...
  TRACE: hid_compare_usb_device(): no match on vendor ID.
  TRACE: hid_compare_usb_device(): inspecting product ID...
  TRACE: hid_compare_usb_device(): no match on product ID.
  TRACE: hid_compare_usb_device(): no custom matching function supplied.
 NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 003/001[0] does not match 0x04e8.
  TRACE: hid_find_usb_device(): enumerating USB devices on bus 004...
  TRACE: hid_find_usb_device(): inspecting USB device 004/001[0]...
  TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
  TRACE: hid_compare_usb_device(): inspecting vendor ID...
  TRACE: hid_compare_usb_device(): no match on vendor ID.
  TRACE: hid_compare_usb_device(): inspecting product ID...
  TRACE: hid_compare_usb_device(): no match on product ID.
  TRACE: hid_compare_usb_device(): no custom matching function supplied.
 NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 004/001[0] does not match 0x04e8.
  TRACE: hid_find_usb_device(): enumerating USB devices on bus 002...
  TRACE: hid_find_usb_device(): inspecting USB device 002/001[0]...
  TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
  TRACE: hid_compare_usb_device(): inspecting vendor ID...
  TRACE: hid_compare_usb_device(): no match on vendor ID.
  TRACE: hid_compare_usb_device(): inspecting product ID...
  TRACE: hid_compare_usb_device(): no match on product ID.
  TRACE: hid_compare_usb_device(): no custom matching function supplied.
 NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 002/001[0] does not match 0x04e8.
  TRACE: hid_find_usb_device(): enumerating USB devices on bus 001...
  TRACE: hid_find_usb_device(): inspecting USB device 001/003[0]...
  TRACE: hid_compare_usb_device(): comparing match specifications to USB device...
  TRACE: hid_compare_usb_device(): inspecting vendor ID...
  TRACE: hid_compare_usb_device(): match on vendor ID: 0x04e8.
  TRACE: hid_compare_usb_device(): inspecting product ID...
  TRACE: hid_compare_usb_device(): match on product ID: 0x6012.
  TRACE: hid_compare_usb_device(): no custom matching function supplied.
 NOTICE: hid_find_usb_device(): found a matching USB device 001/003[0].
  TRACE: hid_force_open(): claiming USB device 001/003[0].
 NOTICE: hid_force_open(): successfully claimed USB device 001/003[0].
  TRACE: hid_init_parser(): initialising the HID parser for USB Device 001/003[0]...
  TRACE: hid_init_parser(): allocating space for HIDData structure...
  TRACE: hid_init_parser(): successfully allocated memory for HIDData strcture.
  TRACE: hid_init_parser(): allocating space for HIDParser structure...
  TRACE: hid_init_parser(): successfully allocated memory for HIDParser strcture.
 NOTICE: hid_init_parser(): successfully initialised the HID parser for USB Device 001/003[0].
  TRACE: hid_prepare_hid_descriptor(): initialising the HID descriptor for USB device 001/003[0]...
  TRACE: hid_prepare_hid_descriptor(): retrieving HID descriptor for USB device 001/003[0]...
 NOTICE: hid_prepare_hid_descriptor(): successfully initialised HID descriptor for USB device 001/003[0] (61 bytes).
  TRACE: hid_prepare_report_descriptor(): initialising the report descriptor for USB device 001/003[0]...
  TRACE: hid_prepare_report_descriptor(): retrieving report descriptor for USB device 001/003[0]...
 NOTICE: hid_prepare_report_descriptor(): successfully initialised report descriptor for USB device 001/003[0].
  TRACE: hid_prepare_parser(): setting up the HID parser for USB device 001/003[0]...
  TRACE: hid_reset_parser(): resetting the HID parser for USB device 001/003[0]...
  TRACE: hid_prepare_parser(): dumping the raw report descriptor
  TRACE: hid_prepare_parser(): 0x000: 0x05 0x01 0x09 0x09 0xa1 0x01 0x05 0x01
  TRACE: hid_prepare_parser(): 0x008: 0x09 0x33 0x09 0x34 0x09 0x35 0x09 0x36
  TRACE: hid_prepare_parser(): 0x010: 0x09 0x37 0x09 0x38 0x09 0x39 0x09 0x43
  TRACE: hid_prepare_parser(): 0x018: 0x15 0x00 0x25 0xff 0x75 0x08 0x95 0x08
  TRACE: hid_prepare_parser(): 0x020: 0x81 0x02 0x09 0x33 0x09 0x34 0x09 0x35
  TRACE: hid_prepare_parser(): 0x028: 0x09 0x36 0x09 0x37 0x09 0x38 0x09 0x39
  TRACE: hid_prepare_parser(): 0x030: 0x09 0x43 0x15 0x00 0x25 0xff 0x75 0x08
  TRACE: hid_prepare_parser(): 0x038: 0x95 0x08 0x91 0x02 0xc0
  TRACE: hid_prepare_parser(): parsing the HID tree of USB device 001/003[0]...
 NOTICE: hid_prepare_parser(): successfully set up the HID parser for USB device 001/003[0].
 NOTICE: hid_force_open(): successfully opened USB device 001/003[0].
device identification of HIDInterface 001/003[0]:
  dev_handle:    0x0804a220
  device:        0x08055250
  location:      001/003
  manufacturer:  FIRSTEC
  product:       EEPROM RW Operator
  TRACE: hid_reset_parser(): resetting the HID parser for USB device 001/003[0]...
  TRACE: hid_dump_tree(): iterating the parse tree for USB device 001/003[0]...
parse tree of HIDInterface 001/003[0]:
  path: 0x00010009.0x00010033; type: 0x80
  path: 0x00010009.0x00010034; type: 0x80
  path: 0x00010009.0x00010035; type: 0x80
  path: 0x00010009.0x00010036; type: 0x80
  path: 0x00010009.0x00010037; type: 0x80
  path: 0x00010009.0x00010038; type: 0x80
  path: 0x00010009.0x00010039; type: 0x80
  path: 0x00010009.0x00010043; type: 0x80
  path: 0x00010009.0x00010033; type: 0x90
  path: 0x00010009.0x00010034; type: 0x90
  path: 0x00010009.0x00010035; type: 0x90
  path: 0x00010009.0x00010036; type: 0x90
  path: 0x00010009.0x00010037; type: 0x90
  path: 0x00010009.0x00010038; type: 0x90
  path: 0x00010009.0x00010039; type: 0x90
  path: 0x00010009.0x00010043; type: 0x90
  TRACE: hid_reset_parser(): resetting the HID parser for USB device 001/003[0]...
  TRACE: hid_interrupt_write(): writing interrupt report to device 001/003[0] ...
 NOTICE: hid_interrupt_write(): successfully sent interrupt report to device 001/003[0]
  TRACE: hid_close(): closing USB device 001/003[0]...
  TRACE: hid_close(): closing handle of USB device 001/003[0]...
 NOTICE: hid_close(): successfully closed USB device 001/003[0].
  TRACE: hid_reset_parser(): resetting the HID parser for USB device 001/003[0]...
  TRACE: hid_close(): freeing memory allocated for HID parser...
  TRACE: hid_close(): resetting HIDInterface...
 NOTICE: hid_cleanup(): successfully deinitialised HID library.


More information about the libhid-discuss mailing list