[libhid-discuss] Help on libhid - Accelerometer

domenico at terminus.it domenico at terminus.it
Mon Mar 10 15:53:52 UTC 2008


> Something doesn't look right here, and I don't have time
> to fully   investigate right now.
Any hint is always precious:
> 
> Basically, it should not be sending a report ID if there
> are no   report IDs defined in the HID report descriptor
> (note that it says   "length: 6" but you passed in an
> array of 5 bytes).
What do you mean for report ID? The message to be sent to
device?
But before sending report, I can't find the item-address to
send to:

WARNING: hid_find_object(): can't find requested item
0xff000001.0x00010046.0x000a0001 of USB device
002/002-1b67-000a-00-00[0].

I tryed almost every combination of what test_libhid tells
about the device:
  path: 0xff000001.0xff000002; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00000000; type: 0xb0
  path: 0xff000001.0x00010046.0x000a0001; type: 0x80
  path: 0xff000001.0x00010046.0x00000000.0x000a0040; type:
0x80
  path: 0xff000001.0x00010046.0x00000000.0x000a0041; type:
0x80
  path: 0xff000001.0x00010046.0x00000000.0x000a0042; type:
0x80

> For the hid_interrupt_read error, you may need to set the
> USB_DEBUG   environment variable to something non-zero.
I will add this and retry, but I'm working abroad and I can
access my mail only at the office, so I can tell tomorrow
about this...
thanks a lot!
domenico
> -- 
> Charles Lepple
> 
> 



More information about the libhid-discuss mailing list