Jeff Dairiki wrote: > 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.
I think I know what's going on. Can you try the attached patch? It'll still fail, but it'll print out some useful information for me. -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
Index: libconcord/remote.cpp =================================================================== RCS file: /cvsroot/concordance/concordance/libconcord/remote.cpp,v retrieving revision 1.36 diff -u -r1.36 remote.cpp --- libconcord/remote.cpp 14 Oct 2008 19:35:01 -0000 1.36 +++ libconcord/remote.cpp 20 Dec 2008 16:50:28 -0000 @@ -613,6 +613,12 @@ } } + if (err != 0) { + return err; + } + + printf("DEBUG: Time got set, about to read response..."); + /* read returned RESPONSE_DONE, otherwise next command wil fail! */ err = HID_ReadReport(rsp); if (err == 0) { @@ -621,6 +627,8 @@ } } + printf(" and got %d\n", err); + return err; }
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel