Re: [concordance-devel] Firmware Upgrade 525

2008-04-08 Thread Phil Dibowitz
Stefan Arndt wrote:
>>> OK, updated cvs.
>>>
>>> But it is still Firmware 2.1 after all...
>> It looks like you may have a 2.1 firmware file. You may want to remove it
>> and then try downloading it through the site again. For what it's worth,
>> someone else with your remote was just able to upgrade to 2.6 with the
>> latest CVS. Which isn't to say there's no problems - there might still
>> be...
>> but it's at least one success...
>>
>> -- 
>> Phil Dibowitz [EMAIL PROTECTED]
> 
> OK, downloaded new firmware, upgraded but still 2.1

Bringing this discussion back to the list... Stefan, send me files off-list,
but please keep the discussion on the list.

Marcel and Stefan, can you each send me your LatestFirmware.EZHex off-list?
Marcel, you have a 555, right, and Stefan, you have a 525?

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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Phil Dibowitz
Phil Dibowitz wrote:
> Marcel de Jong wrote:
>> Yes it does, after that the site also doesn't complain about needing a
>> firmware update. It seems to function like it should.
> 
> Hmmm. If you do a firmware upgrade with the official software, do you see a
> 'upgrade - boot into safemode - reboot again' cycle? Or does it immediately
> boot into normal mode?

Scratch that, I just checked in what should be a fix. Can you try it now?

-- 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Phil Dibowitz
Marcel de Jong wrote:
> Yes it does, after that the site also doesn't complain about needing a
> firmware update. It seems to function like it should.

Hmmm. If you do a firmware upgrade with the official software, do you see a
'upgrade - boot into safemode - reboot again' cycle? Or does it immediately
boot into normal mode?

> The only hurdle I'm now facing is not being able to learn the remote
> any new codes. See my other email.

Yeah, I saw it. It's fixed now.

-- 
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] Learn-IR not yet working?

2008-04-08 Thread Phil Dibowitz
Marcel de Jong wrote:
> Hello all,
> 
> I'm afraid I have some bad news, not sure if others have had this as well.
> When I tried to set up my 555, I needed to have the remote learn some
> new trick via IR (basically because it refused to turn on or off me TV
> and all other devices I have), but when I ran the command it gave me
> this error message:

It got broken sometime recently - when the file_read() stuff was done. I
fixed it in CVS, thanks for pointing that out.

-- 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Marcel de Jong
On Wed, Apr 9, 2008 at 1:16 AM, Phil Dibowitz <[EMAIL PROTECTED]> wrote:
> Marcel de Jong wrote:
>  > I've just now updated it again, recompiled both libconcord and
>  > concordance, it upgraded the firmware once more. And still it reboots
>  > itself into safe mode.
>  > The firmware however is upgraded
>
>  So it boots into safemode, you reboot it, and then it boots normally with
>  the upgraded firmware?
>

Yes it does, after that the site also doesn't complain about needing a
firmware update. It seems to function like it should.

The only hurdle I'm now facing is not being able to learn the remote
any new codes. See my other email.

greetings,
Marcel de Jong

-
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Phil Dibowitz
Marcel de Jong wrote:
> I've just now updated it again, recompiled both libconcord and
> concordance, it upgraded the firmware once more. And still it reboots
> itself into safe mode.
> The firmware however is upgraded

So it boots into safemode, you reboot it, and then it boots normally with
the upgraded firmware?

-- 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Marcel de Jong
Phil Dibowitz wrote:
> Marcel de Jong wrote:
>> Hi all,
>>
>> first of all, it seems to work for me:
>
> Could you post the output from the firmware upgrade as well, please?
>
I don't have USBmon enabled/installed, but this is what I get:
$ sudo concordance -F LatestFirmware.EZUp
Concordance 0.13+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

Requesting Identity: 100% done
Invalidating Flash:   done
Erasing Flash:   100% done
Writing firmware:100% done
Contacting website:   done
Resetting...
Success!

After that, the remote reboots itself into safe mode.

>> I'm just curious, is it normal that the remote reboots into Safe mode
>> after a firmware upgrade?
>
> Nope, that's definitely not expected on a 555. I would expect that only on a
> arch 3 (748 and 768), and arch 7 (6xx). Did you do your CVS update after my
> last email (since I did a checkin just before it at 11:27am today)?
>
The first time I tried it was just before your email about the second
2000. And that one failed (don't have the logs of that sorry).
Then I saw your email appear, so I updated via CVS, and recompiled and
then it worked.
I've just now updated it again, recompiled both libconcord and
concordance, it upgraded the firmware once more. And still it reboots
itself into safe mode.
The firmware however is upgraded

greetings,
Marcel de Jong

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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


[concordance-devel] Learn-IR not yet working?

2008-04-08 Thread Marcel de Jong
Hello all,

I'm afraid I have some bad news, not sure if others have had this as well.
When I tried to set up my 555, I needed to have the remote learn some
new trick via IR (basically because it refused to turn on or off me TV
and all other devices I have), but when I ran the command it gave me
this error message:

$ sudo concordance --learn-ir LearnIr.EZTut
Concordance 0.13+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

Requesting Identity: 100% done
Failed with error -1081309996


wherein that last number changed every time I tried to run the command.
I hope I can help out.

greetings,
Marcel de Jong

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Phil Dibowitz
Marcel de Jong wrote:
> Hi all,
> 
> first of all, it seems to work for me:

Could you post the output from the firmware upgrade as well, please?

> So thank you Phil and all others who worked on this.

Sure, thanks for testing it!

> I'm just curious, is it normal that the remote reboots into Safe mode
> after a firmware upgrade?

Nope, that's definitely not expected on a 555. I would expect that only on a
arch 3 (748 and 768), and arch 7 (6xx). Did you do your CVS update after my
last email (since I did a checkin just before it at 11:27am today)?

-- 
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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Marcel de Jong
Hi all,

first of all, it seems to work for me:

$ sudo concordance -i
Concordance 0.13+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

Requesting Identity: 100% done
  Model: Logitech Harmony 555 (Mocha Grande)
  Firmware Version: 2.6
  Hardware Version: 2.5
  Config Flash Used: 29% (113 of 384 KiB)

Success!

So thank you Phil and all others who worked on this.

I'm just curious, is it normal that the remote reboots into Safe mode
after a firmware upgrade?

grateful greetings,
Marcel de Jong

On Tue, Apr 8, 2008 at 8:28 PM, Phil Dibowitz <[EMAIL PROTECTED]> wrote:
> Phil Dibowitz wrote:
>  > Michael Frase wrote:
>  >> Phil, I hope this is the output you need to solve this problem. If not,
>  >> please contact me and I will try to deliver the missing information.
>  >> Note that I can only answer mails at weekends (in the next few weeks).
>  >> Please keep up your great work!
>  >
>  > Woo, I found a bug! I was writing to address 2 instead of 0x2 
> (2097152).
>  >
>  > Try CVS now and let me know how it goes.
>
>  Turns out there were two places were writing to 2 instead of 0x2,
>  and I only fixed one of them. Renier Roth wrote me an email to mention the
>  other, so I've fixed that in CVS as well.
>
>  Thanks Renier.
>
>
> --
>  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
>
>
>
> -
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Register now and save $200. Hurry, offer ends at 11:59 p.m.,
>  Monday, April 7! Use priority code J8TLD2.
>  
> 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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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] Problem upgrading firmware Harmony 555

2008-04-08 Thread Phil Dibowitz
Phil Dibowitz wrote:
> Michael Frase wrote:
>> Phil, I hope this is the output you need to solve this problem. If not,
>> please contact me and I will try to deliver the missing information.
>> Note that I can only answer mails at weekends (in the next few weeks).
>> Please keep up your great work!
> 
> Woo, I found a bug! I was writing to address 2 instead of 0x2 
> (2097152).
> 
> Try CVS now and let me know how it goes.

Turns out there were two places were writing to 2 instead of 0x2,
and I only fixed one of them. Renier Roth wrote me an email to mention the
other, so I've fixed that in CVS as well.

Thanks Renier.
-- 
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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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


[concordance-devel] Perl & Python Bindings

2008-04-08 Thread Phil Dibowitz
I committed Stephen's Python bindings.

In addition, I've committed my Perl bindings. It utilizes swig, and in such
a way that swig just needs to be re-run anytime the API changes - no need to
change the interface file. Yay!

In addition, I solved the re-enterant problem I mentioned on the list
earlier... globals are no longer used.

The perl bindings are tested with the test.pl script I also checked in, and
I was able to upload/backup firmware and config. The test script is NOT
intended for production use.

There are only two outstanding things with the perl bindings:
  * The perl user should be able to pass unlimited arguments instead of just
1 - see the FIXME about that
  * I think I may need to tell perl when a blob is passed back and deleted,
but I haven't looked into that yet.

-- 
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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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] Latest Python bindings

2008-04-08 Thread Phil Dibowitz
Stephen Warren wrote:
> Attached is the latest libconcord.py file, to match recent libconcord.h
> changes.
> 
> Also included is a setup.py file, to go in the same directory. This is
> essentially an install script; a standard thing to include when
> distributing any Python module.

Applied, 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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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