Nebula DigiTV Remote

From MythTV Official Wiki
Jump to: navigation, search

Nebula DigiTV

Nebula DigiTV Remote
  • Type: Infra-red
  • Protocol: RC5
  • Available separately? yes (�11.29)
  • Buttons: 55
  • lircd.conf? lirc.sf.net

This is the first (and only?) nebula branded remote control, previously a one-4-all universal remote was provided. Black in colour, with 55 buttons, it includes dedicated cursor buttons, channel up/down buttons, volume up/down buttons, coloured "fastext" buttons and transport controls.

Important.png
Note: the infrared receiver included with the Nebula DigiTV PCI card doesn't yet seem to be supported under Linux, so one would have to use a different device for that. Note: support is provided via the ir-kbd-gpio in 2.6.15+ kernels.

I went a bit mad with adding NOTE:s to the top of the file, but you should probably read at least the first one.

~/.mythtv/lircrc for Nebula DigiTV

# lircrc.example.[[Nebula Digi T V]]-nativelirc
# 2005-04-02, Samuel Jacobs
# Save this file in ~/.mythtv/lircrc

# There are so many buttons on this remote, 55 to be exact. I don't really 
#  know what to do with all of them, yet I'm discovering that Myth has 
#  functions for all of them and much, much more! All in all, 407 lines of 
#  yummy remote-controlled icing on the delicious cake that is MythTV.

# Intended for use with:
# http://lirc.sourceforge.net/remotes/nebula_electronics/DigiTV
# NOTE: On my system I renamed the remote to "nebdtv". To use this file 
#  with the download from lirc.sf.net (which is otherwise identical to my 
#  copy) simply replace all instances of "nebdtv" with "Nebula_DVB".

# NOTE 2: Not all buttons are used yet, and some key binding customisations 
#  will probably be made to get the most out of the extra buttons. In 
#  particular "Picture" and "Audio" are currently unused so I could 
#  possibly set jumppoints to [[Myth Photo]] and [[Myth Music]] in future.

# NOTE 3: The buttons on the remote are listed from the top left down, row 
#  by row, left to right, with any unused buttons given comments where it 
#  would appear if it was used here. The number buttons are listed in their 
#  entirety before starting back at the "Picture" button.

# NOTE 4: I just thought of another thing that could cause confusion, the 
#  volume buttons are commented out because I use KDELIRC for that. They 
#  are defined however, so just uncomment them if you want to use them.

# Based on, and thanks to:
# lircrc.example.[[Hauppauge Grey]]-nativelirc
# 2003-09-17, Robert Kulagowski
# mailto:rkulagow@rocketmail.com

# TODO: TV (will probably use for launching mythfrontend)
# TODO: Aux (probably a jumppoint to Live TV)
# TODO: DVD/CD (there's currently no jumppoint for generic optical media, 
#  so will probably use for DVD)

begin
    prog = mythtv
    remote = nebdtv
    button = Power
    config = Esc
end

begin
    prog = mythtv
    remote = nebdtv
    button = 1
    config = 1  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 2
    config = 2  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 3
    config = 3  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 4
    config = 4  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 5
    config = 5  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 6
    config = 6  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 7
    config = 7  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 8
    config = 8  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 9
    config = 9  
end

begin
    prog = mythtv
    remote = nebdtv
    button = 0
    config = 0  
end

# TODO: Picture
# TODO: Audio

begin
   prog = mythtv
   remote = nebdtv
   button = I
   config = I
end

begin
   prog = mythtv
   remote = nebdtv
   button = 16:9
   config = W
end

# Unused: 14:9

begin
   prog = mythtv
   remote = nebdtv
# this will only work in live tv mode
   button = EPG
   config = S
end

begin
    prog = mythtv
    remote = nebdtv
    button = Exit
    config = Esc
end

begin
    prog = mythtv
    remote = nebdtv
    button = Menu
    config = M  
end

# Note the "repeat =" strings in the arrows, volume and channel.
# This means that if you hold down the key, every nth instance will be
# passed.  This depends on your system, so you may want to increase or
# decrease this and see what happens.  repeat = 1 is probably too
# fast.

begin
    prog = mythtv
    remote = nebdtv
    button = Up
# This is the "up" on the central diamond 
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    remote = nebdtv
    button = Down
# This is the "down" on the central diamond 
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    remote = nebdtv
    button = Left
# This is the "left" on the central diamond 
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    remote = nebdtv
    button = Right
# This is the "right" on the central diamond 
    repeat = 3
    config = Right
end

begin
    prog = mythtv
    remote = nebdtv
    button = Ok
# Middle button on the diamond
    config = Return
end

# The channel buttons are mapped to Page Up and Page Down.

begin
  prog = mythtv
  remote = nebdtv
  button = Ch+
  repeat = 3
  config = [[Pg Up]]
end

begin
  prog = mythtv
  remote = nebdtv
  button = Ch-
  repeat = 3
  config = [[Pg Down]]
end

# These are the volume buttons. Uncomment them if you want myth to handle 
#  the volume.

#begin
#  prog = mythtv
#  remote = nebdtv
#  button = Volume+
#  repeat = 3
#  config = F10  
#end
#
#begin
#  prog = mythtv
#  remote = nebdtv
#  button = Volume-
#  repeat = 3
#  config = F11  
#end

# colours
begin
   prog = mythtv
   remote = nebdtv
   button = Red
# This is the Red button
# We'll use it for "Delete"
   config = D  
end

begin
   prog = mythtv
   remote = nebdtv
   button = Green
# This is the Green button
# We'll use it for "Extended Info"
   config = U
end

begin
   prog = mythtv
   remote = nebdtv
   button = Yellow
# This is the Yellow button
# We'll use it for "Edit"
   config = E
end

begin
   prog = mythtv
   remote = nebdtv
   button = Blue
# This is the Blue button
# We'll use it for "Toggle browse mode"
   config = O
end

begin
    prog = mythtv
    remote = nebdtv
    button = SubT
    config = T
end

begin
    prog = mythtv
    remote = nebdtv
    button = AD
    config = A
end

begin
    prog = mythtv
    remote = nebdtv
    button = Text
# I REALLY can't think of anything to put here, so it does the same as EPG.
    config = S
end

#begin
#    prog = mythtv
#    remote = nebdtv
#    button = Mute
#    config = F9  
#end

# Here begineth a stickered area, so I assume the labels for these buttons 
#  could be easily changed post-manufacture.

begin
    prog = mythtv
    remote = nebdtv
    button = Rewind
    config = <
end

begin
   prog = mythtv
   remote = nebdtv
   button = Stop
# Again, I couldn't think of an appropriate function, so it's ESC.
   config = ESC
end

begin
    prog = mythtv
    remote = nebdtv
    button = Play
    config = P  
end

begin
    prog = mythtv
    remote = nebdtv
    button = FForward
    config = >
end

begin
   prog = mythtv
   remote = nebdtv
   button = Chapter
# Change focus for PiP (to change channel in the other window)
   config = B  
end

begin
    prog = mythtv
    remote = nebdtv
    button = Pause
    config = P  
end

begin
    prog = mythtv
    remote = nebdtv
    button = Playspeed
    config = J
end

begin
  prog = mythtv
  remote = nebdtv
  button = Record
  config = R  
end

begin
   prog = mythtv
   remote = nebdtv
   button = PiP
# Toggle PiP on/off
   config = V  
end

begin
   prog = mythtv
   remote = nebdtv
   button = Zoom-
# Use for backwards commercial skip
    config = Q  
end

begin
   prog = mythtv
   remote = nebdtv
   button = Zoom+
# Use for forward commercial skip
    config = Z  
end

begin
    prog = mythtv
    remote = nebdtv
    button = Capture
# Swap the PiP windows
    config = N  
end

# TODO: Web ([[Myth Browser]] jumppoint)
# Unused: Email
# TODO: Phone ([[Myth Phone]] jumppoint)
# Unused: PC

Alternative lirc.conf for Nebula DigiTV IR Receiver

The provided lirc.conf on SourceForge is recieved with a none Nebula Electronics IR reciever, I could not get that version to work when I used the IR reciever that came with the card. I built this with irrecord, oddly Play and Playspeed have the same code. I'm not 100% this is correct.

# this config file was automatically generated
# using lirc-0.8.0(userspace) on Wed Dec 20 19:35:11 2006
#
# contributed by Peter Wood
#
# brand: Nebula Electronics
# model no. of remote control: DigiTV-PCI Remote
# devices being controlled by this remote: DVB-Card
#
# Note unlike the existing lircd.conf, this one was captured with
# the DigiTV IR receiver via the DVB card it's self. This was the
# remote which came with a Revision B PCI card (Brought Dec 2006).

begin remote

  name  Nebula_DVB
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          135906
  toggle_bit      0


      begin codes
          TV                       0x0179
          AUX                      0x0186
          DVD/CD                   0x0185
          1                        0x0002
          2                        0x0003
          3                        0x0004
          4                        0x0005
          5                        0x0006
          6                        0x0007
          7                        0x0008
          8                        0x0009
          9                        0x000A
          0                        0x000B
          16:9                     0x00B7
          14:9                     0x00B8
          EXIT                     0x00AE
          POWER                    0x0074
          PICTURE                  0x016F
          AUDIO                    0x0188
          I                        0x0166
          EPG                      0x016D
          MENU                     0x008B
          UP                       0x0067
          DOWN                     0x006C
          LEFT                     0x0069
          RIGHT                    0x006A
          OK                       0x001C
          CH+                      0x0192
          CH-                      0x0193
          VOLUME+                  0x0073
          VOLUME-                  0x0072
          RED                      0x018E
          GREEN                    0x018F
          YELLOW                   0x0190
          BLUE                     0x0191
          SUBT                     0x0172
          AD                       0x00B9
          TEXT                     0x0184
          MUTE                     0x0071
          REWIND                   0x00A8
          STOP                     0x0080
          PLAY                     0x00CF
          FFORWARD                 0x00D0
          CHAPTER                  0x00BA
          PAUSE                    0x0077
          PLAYSPEED                0x80010CF
          RECORD                   0x00A7
          PIP                      0x00BB
          ZOOM-                    0x004E
          ZOOM+                    0x004A
          CAPTURE                  0x00BC
          WEB                      0x00BD
          EMAIL                    0x00D7
          PHONE                    0x00A9
          PC                       0x0178
      end codes

end remote