[libhid-discuss] Broken pipe yet again
alfredo alvarez
zeus2003 at yahoo.com
Mon Mar 31 15:57:12 UTC 2008
Here is the output from a run of my program it includes the error i also wanted to mention that the program ( firmaware) actually gets detected by my machine and runs with the normal windows driver fine. but when i try to use it to get a report i can't. If it is the firmware anywhere i can get a working example or someone i can talk to ?
NOTICE: hid_init(): libhid 0.2.15+20060325.0.0 is being initialized.
NOTICE: hid_init(): successfully initialised HID library.
NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 004/001[0] does not match 0x04d8.
NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 003/001[0] does not match 0x04d8.
NOTICE: hid_find_usb_device(): vendor 0x0000 of USB device 001/001[0] does not match 0x04d8.
NOTICE: hid_find_usb_device(): found a matching USB device 002/002[0].
NOTICE: hid_force_open(): successfully claimed USB device 002/002[0].
NOTICE: hid_init_parser(): successfully initialised the HID parser for USB Device 002/002[0].
NOTICE: hid_prepare_hid_descriptor(): successfully initialised HID descriptor for USB device 002/002[0] (50 bytes).
NOTICE: hid_prepare_report_descriptor(): successfully initialised report descriptor for USB device 002/002[0].
NOTICE: hid_prepare_parser(): successfully set up the HID parser for USB device 002/002[0].
NOTICE: hid_force_open(): successfully opened USB device 002/002[0].
device identification of HIDInterface 002/002[0]:
dev_handle: 0x0804b188
device: 0x080541f8
location: 002/002
manufacturer: Microchip Technology Inc.
product: Mouse To a Circle Demo
parse tree of HIDInterface 002/002[0]:
path: 0x00010002.0x00010001.0x00000000; type: 0x80
path: 0x00010002.0x00010001.0x00000000; type: 0x80
path: 0x00010002.0x00010001.0x00000000; type: 0x80
path: 0x00010002.0x00010001.0x00000000; type: 0x80
path: 0x00010002.0x00010001.0x00010030; type: 0x80
path: 0x00010002.0x00010001.0x00010031; type: 0x80
NOTICE: hid_find_object(): found requested item.
WARNING: hid_get_input_report(): failed to retrieve report from USB device 002/002[0]:error sending control message: Broken pipe.
hid_get_input_report failed with return code 20
Movement in x: 0 Movement in y: 0
NOTICE: hid_close(): successfully closed USB device 002/002[0].
NOTICE: hid_cleanup(): successfully deinitialised HID library.
Charles Lepple <clepple at ghz.cc> wrote: On Mar 27, 2008, at 10:13 PM, alfredo alvarez wrote:
> So i'm again getting the broken pipe message this time is actually
> the device for my project.
Can you send the exact error message?
Note that depending on what error code you are seeing, it may be a
problem with the firmware (e.g. it does not support the transfer in
hid_get_input_report().)
--
Charles Lepple
---------------------------------
Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now
More information about the libhid-discuss
mailing list