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

URC-7210 + EFC + LIRC == Confusion

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



Joined: 26 May 2010
Posts: 2

                    
PostPosted: Wed May 26, 2010 11:11 pm    Post subject: URC-7210 + EFC + LIRC == Confusion Reply with quote

Hi,

I've been trying for a couple of days to work out how to access all of the features on an old Panasonic TC-68V80A CRT TV using a URC-7210 remote (the original remote is long gone).

Lots of googling and reading later, I have arrived here. What I've learned along the way is the following:

  • The original remote for this TV was the EUR644661
  • I am quite certain that the codes will be compatible with the EUR644660, which is mentioned for three variations of the TV, in the TV's manual (the remotes are identical, except that the EUR644660 has a button for switching between mono and stereo).
  • This forum post showed me how to assign EFCs to buttons on my remote.
  • I used the JP1 Lookup Tool to look for EFCs for the setup code listed in the battery cover of the remote (0650) and specifying URC-7200 as the remote (on the hope that the 7200 and 7210 use the same logic), and this list of EFCs was partially useful. In addition to the buttons that already worked on the remote by just entering the setup code (numbers, channels, AV, power, etc.), I was able to, using the EFC codes from this list, assign a Sleep button, and an Info/Display button. The code listed for 'Mode' worked as my Picture Menu. Several other codes did not work at all, and I also tried a few for which the standard setup code had already given me functionality (e.g., Input/Source 61493 gave me AV button (input toggling) functionality).
  • There is an LIRC definition for the EUR644660
  • I have downloaded Remote Master, and set it up for the URC-7200, with Panasonic Mixed Combo as the protocol, and protocol parameters such that the Fixed Data code matches that on the EFC list mentioned above. I had hoped that I'd somehow be able to convert the hexadecimal codes from the LIRC definition to EFCs that I can enter into my remote. I was unsuccessful.
  • After reading through many threads on this forum, and elsewhere, I have gathered that there's no standard way to convert LIRC to EFC, but that some people can read the LIRC hex codes fairly well.


Is anyone able to help me convert these LIRC codes to EFCs? I have no need for the codes for the VCR (everything from VCR_POWER down in the LIRC definition). I am particularly interested in the codes for normalisation, picture, sound, sound menu and picture menu (listed as N, P, S, S_MENU and P_MENU in the LIRC file).

Any help would be greatly appreciated!

Thanks!
Johannes.
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3367

                    
PostPosted: Thu May 27, 2010 12:34 am    Post subject: Reply with quote

All you have to do is read backwards Very Happy

Here's the LIRC for N, with the important data bolded:
N 0x0000000001003031

The device number is in the 4th byte from the right: 0x0000000001003031 or 0000 0001 binary.
Read backwards bitwise, that is 1000 0000 binary, 0x80, and 128 decimal.
The subdevice is in the 3rd byte from the right, which is 00; reversed, it's still 00.
If you have downloaded some Panasonic TV upgrades, you can see that device 128.0 is the typical Panasonic Device.Subdevice for TVs.

The function number is in the second byte from the right 0x0000000001003031
0011 0000 becomes 0000 1100 = 0x0C = 12 decimal.
So N is Pansonic IR protocol, device 128, subdevice 0, function 12.

As an aside, notice that the VCR functions have a device byte of 09, which translates to 144 decimal, and that is the normal VCR device number for Panasonic.

So in RM, using Panasonic or Panasonic Mixed, enter the function numbers into the OBC column. RM will calculate the correct EFC for the protocol you've specified.

Of course, try this first with a function for which you already know the EFC, just to convince yourself that the procedure is correct.


Last edited by 3FG on Thu May 27, 2010 12:55 am; edited 1 time in total
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3367

                    
PostPosted: Thu May 27, 2010 12:53 am    Post subject: Reply with quote

So how did I know that? I didn't.
I relied on the html file included with DecodeIR.dll which has this IRP description under Panasonic:
IRP notation: {37k,432}<1,-1|1,-3>(8,-4,2:8,32:8,D:8,S:8,F:8,(D^S^F):8,1,-173)+
I don't know how to read that exactly, but "D:8,S:8,F:8" tells me where to look in the LIRC data. [(D^S^F):8 is an XORed checksum.] Then I just correlated the known OBC (61) for Power to 0xBC. The description also specified LSB, so I expected it to be reversed.

It is important to realize that the OBC is the data embedded in the IR stream. An EFC is an encoded representation of the data which is fed to the executor in the remote to make that stream. A given OBC may have a different EFC, depending on the chosen executor, which is just a subroutine that makes the flashes.

Here's mathdon's recent formal definition of the IRP notation: IRP notation definition
Back to top
View user's profile Send private message
vocaloverdub



Joined: 26 May 2010
Posts: 2

                    
PostPosted: Thu May 27, 2010 5:53 am    Post subject: Reply with quote

Thanks for that info! It was all very clear, and easy to follow.

It took me a while to get the settings right in RM to get the EFC5 codes I needed.

For the sake of those who might find this thread in years to come (as I found many old ones today), I'll post everything I've come up with.

Firstly, as far as RM goes, I used the following Setup:


  • Remote: URC-7525
  • Protocol: Panasonic MIX Combo
  • Device: 128
  • Dev2 / Sub2: 0


I was then able to enter the OBC function codes, and retrieve the EFC5 codes.

The only code I couldn't get to work was one for sound (as in, adjusting bass, treble and balance). The remote accepted the generated EFC5 code, but the TV does not respond to it. Nonetheless, I include that code below.

The list below is formatted as Function** :: OPC :: EFC5.

** What I call the function. Where relevant, I include the label for the button on the original Panasonic remote and/or the description in the TV's manual.


  • Power (Stand-by) :: 61 :: 20533
  • Surround Sound :: 49 :: 53557
  • Mute :: 50 :: 53045
  • AV (TV/AV) :: 5 :: 61493
  • 1 :: 16 :: 44341
  • 2 :: 17 :: 45365
  • 3 :: 18 :: 44853
  • 4 :: 19 :: 45877
  • 5 :: 20 :: 44085
  • 6 :: 21 :: 45109
  • 7 :: 22 :: 44597
  • 8 :: 23 :: 45621
  • 9 :: 24 :: 11573
  • 0 :: 25 :: 12597
  • Display (Recall) :: 57 :: 20789
  • -/-- :: 59 :: 21301
  • Channel Up :: 52 : 52277
  • Channel Down :: 53 :: 53301
  • Volume Up :: 32 :: 03381
  • Volume Down :: 33 :: 04405
  • Sleep (Off-Timer) :: 15 :: 29237
  • Game :: 187 :: 23349
  • Normalisation (N) :: 12 :: 27701
  • Picture Settings (P) :: 6 :: 60981
  • Picture Toggle (P Menu) :: 80 :: 40245
  • Sound Settings (S) :: 14 :: 28213 (didn't work for me)
  • Sound Toggle (S Menu) :: 81 :: 41269



The procedure for entering these codes into the URC-7210, based on a forum post to which I linked in my original post, is as follows:


  1. Press and Hold Magic until it blinks twice
  2. Enter 994
  3. Press Magic
  4. Enter EFC5 (from list above)
  5. Press the button to which the function is to be assigned
  6. Press Magic a couple of times, for good measure. (I found that if I didn't do this, the next entry would fail


Many thanks again to 3FG for the help in convert the LIRC codes!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Beginners 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