Pause protocol for URC-7800 Cinema 7? (with ext2)

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
aclinml
Posts: 69
Joined: Fri Jan 09, 2004 6:10 am

Pause protocol for URC-7800 Cinema 7? (with ext2)

Post by aclinml »

Hi, does anyone know if there is a usable Pause protocol that will work on the URC-7800 Cinema 7 with Extender 2 installed?

Thanks in advance!
Mike
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Post by mtakahar »

Use the one included in KM/RM. Just choose "Pause Protocol (Special)" and create some keymoves in KM. If you use RM, you have to enable it first by removing "#" from the entire [Pause Protocol] section in protocol.ini. It'll look like:

Code: Select all

[Pause Protocol]
PID=01 FB
Code.S3C80=00 00 01 E4 03 C2 C6 C0 00 00 0A FE 1A FC 2A FA AF
Code.740=00 00 01 A5 5D A0 50 22 42 1A D0 F9 60
Code.6805-C9=00 00 01 CD 01 92 A6 51 CD 01 9E 3A 50 26 F7 81
Hal
aclinml
Posts: 69
Joined: Fri Jan 09, 2004 6:10 am

how do I get it?

Post by aclinml »

It's been a while since I had to use Keymaster. I'm at 8.08. I used it to set up some devices that someone else already had configured.

I still don't know how to select 'PAUSE' from it.

Could you walk me through it?

Thanks,
Mike
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Any old KM will do.
On the Setup sheet select 7800 then from the protocols dropdown select PAUSE protocol.
Copy and Add to IR Upgrade device, then Protocol code on their respective tabs.
Then make a keymove in IR:
Bound device - wherever you need pause (TV?)
Bound key - any key, I use Sleep. Then pick the upgrade device you pasted from KM for the other entries.
Your RDF for ext2 already has Pause included in the Special Protocols, I think, so you can do it on the SP tab where you set bound device and key, then type=Pause, then the pause value (for TV I needed $08).
Put that keymove in a macro.

Hey that smilie in the $ 0 8 is supposed to be 8 :eek:
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Re: how do I get it?

Post by mtakahar »

aclinml wrote:It's been a while since I had to use Keymaster. I'm at 8.08. I used it to set up some devices that someone else already had configured.

I still don't know how to select 'PAUSE' from it.
The generic pause protocol was added to KM in 8.10. Get the latest one from here.

You can create pause keymove(s) on the KeyMoves sheet in KM. The method Liz described also works once you copy and paste the protocol over to IR.exe.

Hal
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

RM v1.30 also allows you to assign a pause to any button you like. It'll automatically generate a keymove regardless of what button you use.
aclinml
Posts: 69
Joined: Fri Jan 09, 2004 6:10 am

Got it!

Post by aclinml »

I downloaded the latest KM spreadsheet and found the PAUSE protocol definition. Set it up and it works fine in my 7800.

Thanks for all the help.
Mike
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Help !

Post by ElizabethD »

Pause:
I understand the KM scheme. Simple. Thanks Hal.
gfb107 wrote:RM v1.30 also allows you to assign a pause to any button you like. It'll automatically generate a keymove regardless of what button you use.
In RM I had to try it. It's simple, I know. But I can't figure out how to use it.
I typed in arbitrary setup code and selected Pause. I typed in new Function name. I typed in duration into hex value (duration column didn't like anything or wouldn't let go). I assigned it to a button (shift-sleep). I can see the upgrade, keymove and the protocol, but I can't get back to the functions sheet. It won't activate. If it does, what happens when those keymoves go to IR? What are they bound to? I think I'm missing a whole design concept here.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Oops, there's a typo in protocols.ini.

In the [Pause Protocol (Special)], the line
CmdTranslators=Translator()
should be
CmdTranslator=Translator()
Once you fix that, it'll work.

Well, you assigned it to the shift-sleep button, so when you import the device upgrade, it'll get assigned to the shift-sleep button.. Note that in IR you will see it on the Special Protocol Functions tab, not on the Key Moves tab.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Thanks for the quick reply and fix. It worked.
But I still don't understand the design in RM.
I see that in KM I can use common pause duration bound to one or more devices or individual functions for different pause durations. So I tried two pause definitions. KM made the Upgrade KeyMoves section. No problem here. Equivalent to building in IR directly, though I doubt it's a good idea to not use Misc/1104. Trial example:

Code: Select all

Upgrade KeyMoves 0 = 0F FF  (Cable/2047)
 98 23 07 FF 01«TV-PAUSE»  ¦98 63 07 FF 02«VCR-P
AUSE»                                           
End
In RM I still didn't see how one or more such definitions can be bound to gear. Advance apologies if it was staring me in the face :(
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

RM doesn't let you bind your pause keymove to a different device.

RM does it the way the KM protocol help for the Pause Protocol tells you to do it:
On the 'Key Moves' sheet, for each desired pause function, select
'(upgrade)' as the Bound Device, and the appropriate button for
the 'Bound Key'.
So, you assign the pause functions to whatever keys you want, then RM generates the keymoves as part of the upgrade itself.
Note that it'll generate keymoves even if you assign the functions of buttons that are in the keymap for the device type of your upgrade.
Here's an example:
I created 2 pause functions, a 1 second pause with duration of 11 and a 2 second pause with duraction of 23. I assigned this to shift-1 and shift-2, respectively. RM generated the following upgrade text:

Code: Select all

Upgrade code 0 = 0f ff (Cable/2047) (RM v1.30)
 fb 00 01 
KeyMoves
 95 f3 07 ff 0b«1 second pause»¦
 96 f3 07 ff 17«2 second pause»
End
When you add this device to IR, and if you don't have a device key that uses setup code CBL/2047, IR will ask you to assign the setup code to a device key. If you do, the keymoves will be created for you, and will appear on the Special Protocol Functions tab, bound to the device key you selected in IR, and the keys you assigned them to in RM. You are, of course, free to change the bound device key in IR.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Ahh! :D
It's the double layer that I got confused on, having never done it in KM either.

Two small things to wrap up:
1. My setup code 2047: I think that unless it is $1FF or less, IR won't see it as a special keymove, correct?
2. Since binding isn't done here. 1sec, 2 sec in names makes much more sense, doesn't it?
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

1. IR looks at the protocol ID used by the device upgrade to figure out if it is a special protocol. The setup code makes no difference.

2. I think so.
Post Reply