[libhid-discuss] libhid problems with interrupt_read/write

Charles Lepple clepple at ghz.cc
Thu Apr 5 19:03:55 UTC 2007


Thomas Maclean wrote:
> 2) Any suggestions as to why I might be seeing segfaults (in believed good
> code)?

Didn't realize the code was so compact. I'm looking at Ion now, and I see
where it is reading into.

Nothing jumps out at me, but I'll take a closer look at it later.

You might also try valgrind, but be forewarned that it will emit a lot of
spurious errors because valgrind does not know about libusb's ioctl()
calls.

-- 
Charles Lepple
clepple at ghz.cc




More information about the libhid-discuss mailing list