Page 1 of 1

Looking for a code to activate most/all keys of Cinema7

Posted: Thu Feb 23, 2006 10:13 am
by dinki
Hi. Taking the advice that there are no stupid questions, I decided to post my stupid question:

Can someone tell me of a code that has most, if not all, of the keys for my Cinema7 remote activated? I am trying to find one with as many buttons active as possible to use in conjunction with my Mythtv system which is controlled by lirc. I have had success, but seem to be choosing blind when searching for a code that gives me the maximum number of buttons to use with my Mythtv system.

Also, if anyone has a lircd.conf and .lircrc file to go with the mystery code, that would be greatly appreciated too!

Many thanks...

Posted: Thu Feb 23, 2006 11:00 am
by The Robman
IIRC, CABLE mode has the most buttons, so your best bet would be to create an upgrade using CABLE mode that has all of the available buttons defined. You can use keymoves to program the remaining buttons if you like.

You can use any protocol/device code combo that you like, just as long as you don't accidentally pick a combo that matches one of your existing devices. I would suggest using the NEC2 protocol with a device code of 123 and a sub-device code of 210 (these are just random numbers).

Posted: Thu Feb 23, 2006 11:03 am
by gfb107
Of course, that assumes (reasonably, since this is the JP1 Beginners forum), that your Cinema7 has the 6-pin header added and that you have a JP1 cable.

If that isn't the case, you should tell us that, and this thread would belong in the Non-JP1 forum.

Posted: Thu Feb 23, 2006 11:04 am
by The Robman
I was indeed making that assumption for exactly those reasons.

Posted: Thu Feb 23, 2006 11:28 am
by dinki
Thank you for your input. I've used the remote (after soldering in the header) with my JP1 cable. I was really looking for a device code that had a lot of the buttons already active and then I could tweak the remaining buttons that were not being used. I'm not sure if I'm asking the question correctly though. The truth is that I'm pretty lazy and am looking for an easy solution if one exists.

Thanks for your time...

Posted: Thu Feb 23, 2006 11:44 am
by The Robman
You have 2 options:

1. Build a new upgrade as I described earlier, which should take you no more than 5 minutes or so.

or

2. Keep trying CBL codes until you find one that has enough buttons defined to meet your needs.

I'm guessing that option 2 will take longer than option 1.

Posted: Thu Feb 23, 2006 11:50 am
by The Robman
In fact, just to show you how quick option 1 is, I did it for you...

The following upgrade has all of the buttons available in CBL mode programmed:

Upgrade Code 0 = 07 D0 (Cable/2000) MythTV (KM v8.37)
5A 05 7E FE FE FD 21 21 B4 AF 2F CF 4F 8F 07 47
FB 87 7B BB 0F 67 27 C7 A7 F7 3B E7 B7 37 9B 1B
EB 77 D7 57 97 17
End

Alternatively, the following upgrade not only has all of the CBL buttons defined, it will also program the remaining buttons using keymoves:

Upgrade Code 0 = 07 D0 (Cable/2000)
5A 05 7E FE FE FD 21 21 B4 AF 2F CF 4F 8F 07 47
FB 87 7B BB 0F 67 27 C7 A7 F7 3B E7 B7 37 9B 1B
EB 77 D7 57 97 17
KeyMoves
26 F3 07 D0 DB 27 F3 07 D0 5B 2F F3 07 D0 6B 30
F3 07 D0 AB 35 F3 07 D0 2B 36 F3 07 D0 CB
End

Posted: Thu Feb 23, 2006 12:54 pm
by dinki
Wow! Perfect. Thanks so much!

Another device definition

Posted: Tue Jun 27, 2006 1:43 am
by indulis
I tried Rob's device upgrade but had a lot of problems learning the IR signals produced on my Linux box (via serial IR interface).

So, here is my own (working) version. As the Linux mythtv system will learn the output from the remote, you can pretty much assign any EFC/OBC numbers you like, so I did it sequentially (EFC sequential). The remote I've set up and which is working now is a URC-8811.

Anyway, here is the upgrade, I'll also append in the lircd.conf file I created, and also the ~/.mythtv/lircrc file (note there is no dot at the start of lircrc!)- the lircrc file is used by mythtv 0.19 for native LIRC support (no need for irxevent).

Upgrade for One-for-all remote URC-8811 (and similar)

Code: Select all

Upgrade Code 0 = 15 A4 (VCR/1444) URC-8810 Indulis' mythtv VCR 1444 (KM v9.01)
 5A 00 FE FE FE E1 00 F6 F6 46 66 06 26 C1 E1 81
 A1 41 61 01 21 C0 E0 80 A0 E3 20 42 60 83 40 82
 E2 02 A2 A3 43 62 C3 00 63 23 03 22 CD         
KeyMoves
 22 F3 15 A4 C2«sleep»  ¦3B F3 15 A4 8D«pip on/o
ff»¦20 F3 15 A4 AD«pip swap»  ¦3C F3 15 A4 4D«pi
p move»                                         
End
Upgrade for One-for-all remote URC-7560 (and similar)

Code: Select all

Upgrade Code 0 = 25 A4 (VCR/1444) URC-7560 Indulis' mythtv VCR 1444 (KM v9.01)
 5A 00 F6 FE FE 81 00 F6 F6 46 66 06 26 C1 E1 81
 A1 41 61 01 21 C0 E0 80 A0 03 40 20 C3 E3 83 A3
 43 E2 62 A2 42 02 82 CD 63 C2                  
End
/etc/lircd.conf file to match above device upgrades

Code: Select all

begin remote

  name  urc_8811_mythtv
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9045  4427
  one           603  1641
  zero          603   518
  ptrail        606
  repeat       9050  2196
  pre_data_bits   16
  pre_data       0x9F6
  gap          108317
  toggle_bit      0


      begin codes
          EXIT                     0xDF20
          CH+                      0x1FE0
          CH-                      0x7F80
          VOL+                     0xFE01
          VOL-                     0xDE21
          REW                      0x5DA2
          PLAY                     0x1DE2
          FWD                      0xBD42
          STOP                     0x9D62
          REC                      0xFD02
          PAUSE                    0x7D82
          F-REW                    0x32CD
          F-FWD                    0xDD22
          1                        0x9966
          2                        0xF906
          3                        0xD926
          4                        0x3EC1
          5                        0x1EE1
          6                        0x7E81
          7                        0x5EA1
          8                        0xBE41
          9                        0x9E61
          0                        0xB946
          ENTER                    0x9C63
          TV-VID                   0xFC03
          MUTE                     0x3FC0
          FAV                      0x1FE0
          PREV                     0xDC23
          MENU                     0xBF40
          GUIDE                    0x9F60
          INFO                     0xFF00
          UP-ARROW                 0x3CC3
          DOWN-ARROW               0x1CE3
          LEFT-ARROW               0x7C83
          RIGHT-ARROW              0x5CA3
          SELECT                   0xBC43
          POWER                    0x5FA0
          PIP                      0x728D
          MOVE                     0xB24D
          SWAP                     0x52AD
          SLEEP                    0x3DC2
      end codes

end remote
~/.mythtv/lircrc file to match above lircd.conf file

Code: Select all

# swap tuners using Y command
begin
    prog = mythtv
    button = PREV
    config = Y
end

# get into program guide using neat multiple command sequence!
begin
    prog = mythtv
    button = GUIDE
    config = M,Return
end

begin
    prog = mythtv
    button = PLAY
    config = P
end

begin
    prog = mythtv
    button = PAUSE
    config = P
end

begin
    prog = mythtv
    button = EXIT
    config = Esc
end

begin
    prog = mythtv
    button = Menu
    config = M
end

begin
    prog = mythtv
    button = CH+
    delay = 3
    repeat = 4
    config = Up
end

begin
    prog = mythtv
    button = CH-
    delay = 3
    repeat = 4
    config = Down
end

####  cursor pad ####
begin
    prog = mythtv
    button = UP-ARROW
    delay = 3
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = RIGHT-ARROW
    delay = 3
    repeat = 3
    config = Right
end

begin
    prog = mythtv
    button = DOWN-ARROW
    delay = 3
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = LEFT-ARROW
    delay = 3
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = SELECT
    config = Return
end

begin
    prog = mythtv
    button = INFO
    config = I
end

begin
    prog = mythtv
    button = VOL+
    delay = 3
    repeat = 2
    config = F11
end

begin
    prog = mythtv
    button = VOL-
    delay = 3
    repeat = 2
    config = F10
end

begin
    prog = mythtv
    button = MUTE
    config = F9
end

begin
    prog = mythtv
    button = REW
    config = <
end

begin
    prog = mythtv
    button = FWD
    config = >
end

begin
    prog = mythtv
    button = F-REW
    config = PgUp
end

begin
    prog = mythtv
    button = F-FWD
    config = PgDown
end


# Next button is to change screen aspect ratios
begin
    prog = mythtv
    button = TV-VID
    config = W
end

# Next button is to Set favourites
begin
    prog = mythtv
    button = FAV
    config = /
end

# Next button is to Record
begin
    prog = mythtv
    button = REC
    config = R
end

# Next button is to change channel to currently selected within EPG
begin
    prog = mythtv
    button = ENTER
    config = X
end

# Next button is for page up
begin
    prog = mythtv
    button = ENTER
    config = X
end

begin
    prog = mythtv
    button = 0
    config = 0
end

begin
    prog = mythtv
    button = 1
    config = 0
end

begin
    prog = mythtv
    button = 2
    config = 0
end

begin
    prog = mythtv
    button = 3
    config = 3
end

begin
    prog = mythtv
    button = 4
    config = 4
end

begin
    prog = mythtv
    button = 5
    config = 5
end

begin
    prog = mythtv
    button = 6
    config = 6
end

begin
    prog = mythtv
    button = 7
    config = 7
end

begin
    prog = mythtv
    button = 8
    config = 8
end

begin
    prog = mythtv
    button = 9
    config = 9
end
Cheers,

Indulis

Posted: Tue Jun 27, 2006 4:18 am
by Capn Trips
I'm not sure there is a question in there. What are you trying to do? What are you asking help with?

Just adding to the lore...

Posted: Tue Jun 27, 2006 7:50 pm
by indulis
No question here from me, I spent some time figuring out how to get my JP1 remotes talking to mythtv, so though I should document it for when someone searches for an answer.

Do you think it should go in a different section? Happy to rewrite it and put it elsewhere!

Actually, if someone could create a files section in the Device section PVR-Mythtv I'll put it the files in there, and once that is done, clean up my post above.

Indulis

Posted: Tue Jun 27, 2006 8:36 pm
by The Robman
Why not just zip together all the component files and save it as "MythTV" in the PVR folder? Just a suggestion.

I'm happy to ZIP em up!

Posted: Tue Jun 27, 2006 11:10 pm
by indulis
...It was just that I noticed that there were sections for Tivo and other PVRs, and thought I'd follow suit. So I'll zip the files up into the PVR section instead.

Nice to be doing something with the JP1 remotes again... its a testimony to how good the product and the tools are that I haven't had to do anything to the remote for 12 months+

Cheers,

Indulis

Re: I'm happy to ZIP em up!

Posted: Wed Jun 28, 2006 6:36 am
by The Robman
indulis wrote:...It was just that I noticed that there were sections for Tivo and other PVRs, and thought I'd follow suit.
I made seperate sections for those two just because there were so many files for them. The problem was particularly acute for Tivo where not only were there so many files, but there are many different brands of Tivo, so the files weren't even all together alphabetically.