Hi all,

Here's a buglet report for the CVS version of
concordance/libconcord when used with a Harmony 550.

I just got a Harmony 550.   Concordance 0.20 worked great for uploading
configs.   I then updated to the current CVS version of concordance
(so that I could learn IR commands --- that worked great, too).
The CVS version, however, fails to upload configs.

The problem seems to arise when concordance tries to set the clock
in the Harmony 550.   After the new config is written to flash,
the remote is reset, then the remote's clock is set.   The clock-setting
fails (error -110), and this causes concordance to exit with code 1
before it gets around to doing the HTTP POST.

The problem seems to have appeared in CVS revision 1.34.

Running CVS 'concordance --set-time' also fails.  The debug output
which results is:

====
Concordance 0.20+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

DEBUG (FindRemote): bNumEndpoints 2
DEBUG (check_ep): address 81 attrib 03 max_length 64
DEBUG (check_ep): address 02 attrib 03 max_length 64
Requesting Identity: 100%                 done
DEBUG (HID_ReadReport): Failed to read from device: -110 (No error)
Remote time has been set to 2008/12/19 Fri 13:30:48 +0
Failed with error -110
====


I have patched concordance.c so that it reports but ignores the
error from set_time().   This seems to have fixed the config upload
function.

I don't know enough about the guts of the USB protocol, libusb,
etc. to know whether the error returned from HID_ReadReport signifies
a real problem or not.  I have no idea, really, whether the time is
being set correctly.  (Though, 'concordance --get-time' reports a
correct time, so I guess it is?)


Thanks for your great work!   Let me know what I can do to help.

Jeff Dairiki

------------------------------------------------------------------------------
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to