On Mon, 13 May 2013, Phil Dibowitz wrote:

>>> Had a chance to try it?
>>
>> Yeah.  I think for the hidraw version, we would need a kernel change in
>> order to get the hidraw devices created.  So, that's probably not the best
>> option at least in the short term.
>>
>> So, as far as using the patch with the libusb version, there was still a
>> bit of work to do.  :)  There were a few crashes to fix, and some of the
>> function calls were not quite right.  But after fiddling with it for a
>> bit, I've at least got it sort of talking to remotes now.  There is
>> something still not quite right, though - the messages that I'm seeing
>> returned in debug are a little off.
>>
>> If you want, I can send you my changes, or I can try to keep working on
>> it?
>
> Wow, thanks! I was just expecting the debug output. :)
>
> Whichever you prefer. I do have a little downtime, but if you have it somewhat
> working, I guess it's hard for me to develop and not have a remote handy.

Well, I figured since you didn't have a remote handy, it would be easier 
for me to just try and debug myself.  :)

> I am curious what I got wrong in the general find-and-attach-a-remote part
> though.

Well, that part was failing to find a remote with the hidraw version 
because there were no /dev/hidraw* devices present.  So, nothing wrong on 
your part.  When I switched to libusb, it was finding a remote but then 
crashing later when you filled out the strings in hid_info.  HIDAPI 
returns strings as wchar_t* (vice char*), which unfortunately can't just 
be cast to char*.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to