Re: [concordance-devel] Sleep and Windows
Stephen Warren wrote: > On Tue, April 15, 2008 12:18 am, Phil Dibowitz wrote: >> Stephen Warren wrote: >>> This raises the question though: What happens if the current initial 5 >>> second wait isn't long enough? >> What do you mean? If my 5 second sleep isn't enough, I sleep for >> another 5. And then another 5. And then 5 more. 5 more. 5 more. THEN >> I give up. > > I mean, what if, after the first 5 second sleep, the system hasn't noticed > USB disconnect due to remote reboot. Ah, I see. I suppose that's possible. > I guess with the call to identify in the loop now, that's not an issue, > because identify should fail, and cause the loop to loop again. Indeed. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity 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 signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: > Now I did a firmware updrade (v2.5 -> v2.6) with the logitech windows > software and dumped the firmware again with concordance... The firmware > dump is exactly the same as the old one (that reported the wrong > version). But now the firmware version is correctly recognised as v2.6. > > I tried to downgrade the firmware from v2.6 to v2.5 (with my old > firmware dump). After downgrade concordance is also reporting the wrong > version (v2.6 instead of v2.5). Yeah, this seems to confirm my suspicion that we're upgrading the remote properly and its running on the new firmware, but we're not updating something somewhere to tell it what version it's running. My guess is that these remotes can't dynamically determine their firmware version, unlike the 8 series. > Any Suggestions? Is it possible to log the usb transfer (firmware > upgrade) in windows (like usbmon in linux)? Yes, as Stephen pointed out, SnoopyPro is what you want, and export to XML. Please send that to me off list (or provide a link to the list, if you prefer). I actually have a SnoopPro dump of a firmware upgrade, which is who I got the existing code as far as I do, but another one can't hurt. Thanks. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity 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 signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
On Tue, April 15, 2008 9:35 am, Michael Frase wrote: > Any Suggestions? Is it possible to log the usb transfer (firmware > upgrade) in windows (like usbmon in linux)? Yes. Use SnoopyPro, available from: http://sourceforge.net/project/showfiles.php?group_id=34567 Once you have the captures in the tool, you'll want to perform an "export" operation to the "XML" format. You can then send in the XML files. If you're curious, the "consnoop" directory in CVS contains an application that can analyze these XML files. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Sleep and Windows
On Tue, April 15, 2008 12:18 am, Phil Dibowitz wrote: > Stephen Warren wrote: >> This raises the question though: What happens if the current initial 5 >> second wait isn't long enough? > > What do you mean? If my 5 second sleep isn't enough, I sleep for > another 5. And then another 5. And then 5 more. 5 more. 5 more. THEN > I give up. I mean, what if, after the first 5 second sleep, the system hasn't noticed USB disconnect due to remote reboot. In this case (which I could easily imagine on a heavily swapping system), the code will enumerate the original pre-reset Harmony device, and then fail. I guess with the call to identify in the loop now, that's not an issue, because identify should fail, and cause the loop to loop again. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Now I did a firmware updrade (v2.5 -> v2.6) with the logitech windows software and dumped the firmware again with concordance... The firmware dump is exactly the same as the old one (that reported the wrong version). But now the firmware version is correctly recognised as v2.6. I tried to downgrade the firmware from v2.6 to v2.5 (with my old firmware dump). After downgrade concordance is also reporting the wrong version (v2.6 instead of v2.5). Any Suggestions? Is it possible to log the usb transfer (firmware upgrade) in windows (like usbmon in linux)? Am Donnerstag, den 10.04.2008, 12:25 -0700 schrieb Phil Dibowitz: > Michael Frase wrote: > > Hi Phil, > > > > thanks for your quick replies and changes in cvs. I'm back again and > > tested latest cvs with my harmony 555. > > Michael sent me, off-list, a his LatestUpdate.EZUp, and a firmware dump from > both before and after the upgrade. > > Here's whats REALLY odd. I massaged the LatestUpdate.EZUp to be in the > format we write out fw dumps in, and it's IDENTICAL (minus the magic bytes, > of course) to his current fw dump: > > - > CAEF3FF012000201C86BC96B010109A537D08D940101 > + > 43724847CAEF3FF012000201C86BC96B010109A537D08D940101 > > Those are the only two lines that show up in the diff. > > Meanwhile, there's drastic differences between his dump now and his dump > from before. > > In other words, it appears to be running on the latest firmware, but > reporting old firmware. > > Honestly, I haven't even the slightest clue why... much less why Michel and > Stefan can't upgrade successfully, but Marcel can, which is an even stranger > mystery. > > It would be interesting to see a firmware dump from an upgraded unit - > Marcel, can you do a dump from your remote and send it to me. I'm not sure > it'll show me anything new, but I'm kinda at a loss for better ideas. > > - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ___ concordance-devel mailing > list concordance-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/concordance-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel