JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Two issues with IR.EXE

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
foobar989



Joined: 31 Oct 2003
Posts: 4

                    
PostPosted: Fri Oct 31, 2003 5:56 am    Post subject: Two issues with IR.EXE Reply with quote

I've been away from the JP1 groups for a while. Long enough so that I was temporarily stumped by why I couldn't post a message to the Yahoo Groups mailing list and didn't know about this BBS... Smile

Anyway, I got some new gear and brushed the dust off of my trusty old JP1 interface, and downloaded the latest IR.EXE and keymap-master spreadsheets from the http://groups.yahoo.com/group/jp1/files address. Hope that's the right place to grab files from? If those aren't the latest, I apologize...

Anyway, everything worked fine and I've got the gear all working (thanks very much to the chaps who posted the protocol definitions for the Tivo HDVR2 and the Samsung 160 Highdef receiver), but I had the following two issues, and I'm wondering if anyone can help:

Issue Number 1, "Key54 and Key55":

My Ratshack 15-1994 is a hardware-hacked version where I've swapped the wires so that the SCAN button is Key54 and the SLEEP button is Key55. That way, they can behave like normal buttons instead of with the funky default behavior. Note that I did this in the days before Nicola descended upon the JP1 group and started writing cool machine language protocols for everybody. I'm sure you can override scan and sleep with software now, but at the time you could only override them with a hardware hack.

Anyway. In the Key Move screen, older versions of IR.EXE would offer me Key54 and Key55 in their drop-down lists, so that I could assign functions to them. This version of IR.EXE does not. If I load up an old file that's got those keys assigned, then I can use them, but I can't create a key move "from scratch" that uses Key54 or Key55. Was this an oversight because so few people did that hardware hack? Let's say I have a carefully assembled program for this remote and can't go back to an old file that contains Key54. How do I get Key54 into this new file?


Issue Number 2, "learned keys don't play atop HDVR2 protocol":

From the above-mentioned URL, I got a file called "Hughes-HDVR2.txt" which is a programmed protocol for my Tivo. Opened it in keymap-master, copied the two necessary segments into IR.EXE, and it all seemed to work. I can control my Tivo with it. Assigned it to "Aux2" (since VCR is already taken by a real VCR) and off I go.

But there were a few keys I wanted to do differently (ie, totally non-tivo), and I was out of key-move memory. In the past, for every other time I'd run out of key-move memory, I did a "learned" key instead. In fact, my 1994 programs are always a careful balance of Learned keys and Moved keys, so that I distribute the memory usage between these two small pools of memory.

For every other device except the HDVR2, any learned keys always worked fine. For instance, on the Samsung_SIR-TS160 device, which I put in place at the same time using the same method, I could do a learned key to make the "4s" key toggle Bass Boost on my amplifier. But on top of the HDVR2 device, none of the Learned keys work. Only Keymove keys work.

And I'm talking the SAME functions. For instance, that thing I described about the bassboost... I do that on every single one of my devices. On the TV button, 4s does bassboost. On the VCR button, 4s does bassboost. On the CD button, 4s does bassboost. On the Sat button (the new Samsung protocol I just inserted), 4s does bassboost. And I can do all of the above with either a keymove or a learned key, it doesn't matter, they both work equally well.

But for the HDVR2 protocol, only keymoves work for that, not learned keys. Why is that? Anyone know? I've worked around the problem by shuffling things around and trading keymoves for learned keys in certain spots. So I've got it working now. But I just wondered why this happened?
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Fri Oct 31, 2003 8:00 am    Post subject: Re: Two issues with IR.EXE Reply with quote

foobar989 wrote:

Issue Number 1, "Key54 and Key55":


In the directory where you unzipped IR, there is a file whose name starts with "RSL6RSL0".

Open that file with a text editor (such as Windows Notepad).

Find the section that begins [Buttons]

Somewhere in that section, add the key definitions Key54=54 and Key55=55.

If you prefer to be consistent with the hex numbering already there you could use Key54=$46 and Key55=$47, since 46 hex is 54 decimal. IR.EXE will behave exactly the same whether a key is defined in decimal or in hex.

Save the file under the same name it had before, then run IR.EXE and it will know about those keys.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Fri Oct 31, 2003 8:03 am    Post subject: Re: Two issues with IR.EXE Reply with quote

foobar989 wrote:

Issue Number 2, "learned keys don't play atop HDVR2 protocol":


There is a bug in the code in the remote's ROM (meaning JP1 can't do anything to fix it) that makes learned signals fail when used in the same device mode as an upgrade protocol.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nils_Ekberg
Expert


Joined: 02 Aug 2003
Posts: 1689
Location: Near Albany, NY

                    
PostPosted: Fri Oct 31, 2003 8:18 am    Post subject: Re: Two issues with IR.EXE Reply with quote

johnsfine wrote:
Issue Number 1, "Key54 and Key55":
If you prefer to be consistent with the hex numbering already there you could use Key54=$46 and Key55=$47, since 46 hex is 54 decimal. .

John, isn't it $36 & $37?

Also, is this something that should be added to all the 1994 RDF's. I assume it was removed a long time ago for one reason or another.
_________________
Nils
Files Section
Diagnosis File Section
Back to top
View user's profile Send private message Send e-mail
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Fri Oct 31, 2003 10:09 am    Post subject: Reply with quote

Nils is right, the hex is $36 and $37, but I'd say forget about being consistant and just enter the button names like this...

SCAN=54,
SLEEP=55,

Just be sure to delete the current entries for SCAN and SLEEP.

You should also probably delete the following entry from near the beginning of the RDF as it's meaningless with the SCAN key hacked:

FavKey=$14, $01A, 15, 3

As for the question of whether all 15-1994 RDF's should have these entries, I'd say no. Very few people have hacked the 15-1994 like this, especially since there are now software ways to fix it. Those that have hacked their remotes should also hack the RDFs to reflect those hacks.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
foobar989



Joined: 31 Oct 2003
Posts: 4

                    
PostPosted: Fri Oct 31, 2003 11:34 am    Post subject: Re: Two issues with IR.EXE Reply with quote

johnsfine wrote:
Somewhere in that section, add the key definitions Key54=54 and Key55=55.


Awesome. Thanks very much!

And actually, I prefer to have them named as "Key54" and "Key54" than to rename them to Scan and Sleep, because it's good to have the reminder that they've been hacked right there in the software. (And I'm already used to it.)


johnsfine wrote:
makes learned signals fail when used in the same device mode as an upgrade protocol.


Can you more clearly define "same device mode"? Sometimes I get lost in the technical terms which describe the remote's functions.

Do you mean that if I have an upgrade protocol defining "Aux2", then I can never use learned signals on "Aux2"? Because that doesn't seem to be the case... I have an upgrade protocol defining "Cbl/Sat" (the one for the Samsung HDTV receiver that I put in place at the same time as the one for the HDVR2), and I have no trouble using learned signals on "Cbl/Sat".

Not that it's important or anything, because I've worked around it now and don't need the learned protocols on Aux2. I'm just trying to understand why this happened.
Back to top
View user's profile Send private message
mr_d_p_gumby
Expert


Joined: 03 Aug 2003
Posts: 1370
Location: Newbury Park, CA

                    
PostPosted: Fri Oct 31, 2003 12:07 pm    Post subject: Re: Two issues with IR.EXE Reply with quote

foobar989 wrote:
Can you more clearly define "same device mode"? Sometimes I get lost in the technical terms which describe the remote's functions.

Do you mean that if I have an upgrade protocol defining "Aux2", then I can never use learned signals on "Aux2"? Because that doesn't seem to be the case... I have an upgrade protocol defining "Cbl/Sat" (the one for the Samsung HDTV receiver that I put in place at the same time as the one for the HDVR2), and I have no trouble using learned signals on "Cbl/Sat".
You are mixing up some terms here, and it's causing your confusion. A "protocol upgrade" is not the same thing as a "device upgrade".

The Samsung 160 file you mention only needs a device upgrade (the first "block" of data you copied to IR), and therefore is not using a protocol upgrade. That's why the learning works for your Cbl/Sat.

The HDVR2 needs both a device upgrade and a protocol upgrade (you copied two "blocks" of data to IR). The protocol upgrade is what is triggering the 1994 "bug".
_________________
Mike England
Back to top
View user's profile Send private message
jamesgammel
Exile Island Resident


Joined: 03 Aug 2003
Posts: 394
Location: Gillette, Wyoming

                    
PostPosted: Fri Oct 31, 2003 12:09 pm    Post subject: Reply with quote

The bug in the 1994 is such that whatever device KEY you are using the upgraded protocol on (NOT device upgrade), will typically fail to properly learn. if you need to learn a PILE of signals for IR to decode so you can make a device upgrade, there's several solutions. One is save the configuration first, then delete the protocol upgrade, do the learns/decodes, and reload the protocol upgrade. Another option *should* be to temporarily reassing that device key with the protocol upgrade to some other setup code that uses a native upgrade; do the learns/decodes, then reassign that device and protocol upgrade codes back to aux2. If you have JUST a device upgrade (that didn't require a protocol upgrade) on a device key, the bug doesn't kick in.

If you find you have to use some learned keys because you're constantly out of keymove room, the obvious solution is to use one of the extenders which wipes out learning, but doubles keymove space. If you then have to learn a new device to make an upgrade, simply temporarily remove the extender, and reinstall/activate it after making the upgrade. You mentioned running out of keymove space, but never mentioned how much upgrade space you're using/have left. You might pick up some keymove space by making upgrades so you don't require so many keymoves. a 1994 should have enough room for about 10-14 device upgrades. If you make all upgrades cable or vcr type, that maximizes the number of keys for upgrades and reduces the number of keys that are defined as keymoves. the 1994 don't care if you have every device key defined as a cable or vcr device.
are you confusing device upgrade with protocol upgrade? protocol upgrades can be seen and entered on the protocol tab in IR, device upgrades can be seen in the "devices" tab. In this discussion of the 1994, it's what's on the protocol tab, and the device key that's using that protocol upgrade.

I also suppose you could "unhack" those keys since that hack isn't required anymore, then use the regular 1994 rdf.

Jim
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Fri Oct 31, 2003 12:31 pm    Post subject: Reply with quote

Actually, I think the learning process works just fine, so if your reason for learning is just to see what the protocol, etc is, then you shouldn't need to remove the protocol upgrade.

IIRC, the bug is in the playback routines. For some reason, if there is a protocol upgrade associated with a particular device button, the remote doesn't know to look for learned signals.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
foobar989



Joined: 31 Oct 2003
Posts: 4

                    
PostPosted: Fri Oct 31, 2003 1:00 pm    Post subject: Re: Two issues with IR.EXE Reply with quote

mr_d_p_gumby wrote:
The HDVR2 needs both a device upgrade and a protocol upgrade (you copied two "blocks" of data to IR). The protocol upgrade is what is triggering the 1994 "bug".


Aha. That clarifies it completely. Thank you!
Back to top
View user's profile Send private message
foobar989



Joined: 31 Oct 2003
Posts: 4

                    
PostPosted: Fri Oct 31, 2003 1:06 pm    Post subject: Re: Two issues with IR.EXE Reply with quote

Oh, and let me just thank you great folks for keeping this whole JP1 thing alive. It's great to be able to come back after being gone a year or two, and to still see everything going strong, and to have protocols for my new gear ready and waiting for me. Smile Very cool. High five to everyone! Smile
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Fri Oct 31, 2003 1:11 pm    Post subject: Reply with quote

The Robman wrote:
For some reason, if there is a protocol upgrade associated with a particular device button, the remote doesn't know to look for learned signals.


It's a bit worse than that. The remote does look for and find the learned signal and copies it from eeprom to ram. It also copies the protocol upgrade from eeprom to ram, even though the fact that a learned signal is being used means it has no valid use for that protocol upgrade (for that key). I'm not sure of the exact details, but I do know whichever of those it copies second overwrites the one it copies first and then it tries to use the one copied first, so the results are worse than just not finding the learned signal.

You might think a protocol upgrade should already be in ram from when you selected the device key, but since keymoves can use other setup codes, the remote properly copies the protocol upgrade from eeprom to ram for each keypress when the KeyMove or lack of a KeyMove selects a setup code that uses a protocol upgrade.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control