DViCO LIRC Configs

From MythTV Official Wiki
Revision as of 18:41, 24 September 2010 by Wagnerrp (talk | contribs) (add alternate config)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Script.png /etc/lirc/lircd.conf

 # Please make this file available to others
 # by sending it to <lirc@bartelmus.de>
 #
 # this config file was automatically generated
 # using lirc-0.8.0(userspace) on Mon Mar  5 16:00:35 2007
 #
 # contributed by: Soth
 #
 # brand:  DViCO FusionHDTV DVB-T Dual Digital
 # model no. of remote control: Fusion MCE
 # devices being controlled by this remote:
 #
   
   begin remote
   
     name  DViCO_Dual_Digital
     bits           16
     eps            30
     aeps          100
   
     one             0     0
     zero            0     0
     pre_data_bits   16
     pre_data       0x1
     gap            251756
     toggle_bit      0   
   
         begin codes
 #starting at the top
             dtv                      0x0179
             mp3                      0x0187
             dvd                      0x0185
             cpf                      0x016C
 #outer circle clockwise from top
             tvpower                  0x0164
             guide                    0x016D
             info                     0x0166
             alttab                   0x000F
             skip                     0x00A3
             start                    0x001C
             replay                   0x00A5
             dvdmenu                  0x008B
             back                     0x009E
             setup                    0x008D
 #inner circle
             up                       0x0067
             down                     0x006C
             left                     0x0069
             right                    0x006A
             ok                       0x0160
 #volume and channel
             voldn                    0x0072
             volup                    0x0073
             chup                     0x0192
             chdn                     0x0193
 #keypad
             camera                   0x00D4
             live                     0x0182
             folder                   0x0086
             1                        0x0002
             2                        0x0003
             3                        0x0004
             4                        0x0005
             5                        0x0006
             6                        0x0007
             7                        0x0008
             8                        0x0009
             9                        0x000A
             aspect                   0x0173
             0                        0x000B
             zoom                     0x0174
 #play buttons
             rew                      0x00A8
             playpause                0x00A4
             ff                       0x00D0
             mute                     0x0071
             stop                     0x0080
             rec                      0x00A7
             power                    0x0074
         end codes 
   end remote


Script.png ~mythtv/.mythtv/lircrc

 # lircrc.example.DVICO-nativelirc
 # 2004-07-04, Chris Pascoe
 # mailto:linuxdvb@itee.uq.edu.au
 # Save this file in ~/.mythtv/lircrc
 #
 # Note the "repeat =" strings in the 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.
 
 ### Top 4 buttons ###
 
 # DTV - Change focus for PiP (to change channel in the other window)
   begin
     prog = mythtv
     button = dtv
     config = B
  end    
 
  begin
     prog = mythtv
     button = mp3
     config = Ctrl+M
  end
 
  begin
     prog = mythtv
     button = dvd
     config = Ctrl+D
  end
 
  begin
     prog = mythtv
     button = cpf
     config = 
  end
 
 ### Outer Circle (clockwise from the top) ### 
 
 begin
      prog = mythtv
      button = tvpower
      config = Esc
  end
  
  begin
      prog = mythtv
      button = guide
      config = S
  end
  
  begin
      prog = mythtv
      button = info
      config = I
  end
 
 #swap the pip windows
  begin 
     prog = mythtv
     button = alttab
     config = N
  end
 
 #commercial skip forwards
  begin
     prog = mythtv
     button = skip
     config = Z
  end
  
  begin
      prog = mythtv
      button = start
      config = Return
  end
 
 #commercial skip backwards
  begin
     prog = mythtv
     button = replay
     config = Q
  end  
 
  begin
      prog = mythtv
      button = dvdmenu
 #     config = undefined
  end
 
  begin
      prog = mythtv
      button = back
      config = Esc
  end
    
  begin
      prog = mythtv
      button = setup
 #     config = undefined
  end
  
 ### Inner Circle ###
  
  begin
      prog = mythtv
      button = up
      config = Up
  end
  
  begin
      prog = mythtv
      button = down
      config = Down
  end
  
  begin
      prog = mythtv
      button = left
      config = Left
  end
  
  begin
      prog = mythtv
      button = right
      config = Right
  end
  
  begin
      prog = mythtv
      button = ok
      config = Return
  end
 
 ### Volume and Channel ###
  
  begin
    prog = mythtv
    button = voldn
    repeat = 1
    config = F10
  end
  
  begin
    prog = mythtv
    button = volup
    repeat = 1
    config = F11
  end
  
  begin
      prog = mythtv
      button = chup
      config = Up
  end
  
  begin
      prog = mythtv
      button = chdn
      config = Down
  end
 
 ### Keypad ###
 
  begin
      prog = mythtv
      button = camera
      config = P
  end
 
  begin
      prog = mythtv
      button = live
 #      config = undefined
  end
 
  begin
      prog = mythtv
      button = folder
      config = C
  end
  
  begin
      prog = mythtv
      button = 1
      config = 1
      config = return
  end
  
  begin
      prog = mythtv
      button = 2
      config = 2
      config = return
  end
  
  begin
      prog = mythtv
      button = 3
      config = 3
      config = return
  end
  
  begin
      prog = mythtv
      button = 4
      config = 4
      config = return
  end
  
  begin
      prog = mythtv
      button = 5
      config = 5
      config = return
  end
  
  begin
      prog = mythtv
      button = 6
      config = 6
      config = return
  end
  
  begin
      prog = mythtv
      button = 7
      config = 7
      config = return
  end
  
  begin
      prog = mythtv
      button = 8
      config = 8
      config = return
  end
  
  begin
      prog = mythtv
      button = 9
      config = 9
      config = return
  end
 
  begin
     prog = mythtv
     button = aspect
     config = W
  end    
 
  begin
      prog = mythtv
      button = 0
      config = 0
      config = return
  end
 
 # Toggle PiP on/off
  begin
     prog = mythtv
     button = zoom
     config = V
  end
  
 ### Play buttons ###
  
  begin
      prog = mythtv
      button = rew
      config = Left
 #    config = seek -180
  end
  
  begin
      prog = mythtv
      button = playpause
      config = ctrl+p
  end
  
  begin
      prog = mythtv
      button = ff
      config = Right
 #     config = seek +180
  end
    
  begin
      prog = mythtv
      button = mute
      config = |
  end
  
  begin
      prog = mythtv
      button = stop
      config = P
  end
  
  begin
      prog = mythtv
      button = rec
      config = R
  end
  
  begin
      prog = mythtv
      button = power
      config = Esc
  end
 
 # Xine
  
  begin
     prog = xine
     button = playpause
     repeat = 3
     config = Play
  end
  
  begin
     prog = xine
     button = stop
     repeat = 3
     config = Pause
  end
  
  begin
     prog = xine
     button = back
     config = Quit
  end
  
  begin
     prog = xine
     button = tv_onoff
     config = Quit
  end
  
  begin
     prog = xine
     button = right
     repeat = 3
     config = SeekRelative+10
  end
  
  begin
     prog = xine
     button = left
     repeat = 3
     config = SeekRelative-10
  end
  
  begin
     prog = xine
     button = ff
     repeat = 3
     config = SeekRelative+30
  end
  
  begin
     prog = xine
     button = rew
     repeat = 3
     config = SeekRelative-30
  end
  
  begin
     prog = xine
     button = skip
     repeat = 3
     config = SeekRelative+300
  end
  
  begin
     prog = xine
     button = replay
     repeat = 3
     config = SeekRelative-300
  end
  
  begin
     prog = xine
     button = up
     repeat = 1
     config = EventUp
  end
  
  begin
     prog = xine
     button = down
     repeat = 1
     config = EventDown
  end
  
  begin
     prog = xine
     button = ok
     repeat = 0
     config = EventSelect
  end
  
  begin
     prog = xine
     button = guide
     repeat = 0
     config = Menu
  end
  
  begin
     prog = xine
     button = setup
     repeat = 0
     config = Menu
  end
  
  begin
     prog = xine
     button = volup
     repeat = 1
     config = Volume+
  end
  
  begin
     prog = xine
     button = voldn
     repeat = 1
     config = Volume-
  end


Script.png ~mythtv/.mythtv/lircrc_alternate

    # Ultraview / dvico DVB-T Black remote
    
    # Channel Up
    begin
    prog = mythtv
    button = ch_up
    repeat = 3
    config = Up
    end
    
    # Channel Down
    begin
    prog = mythtv
    button = ch_down
    repeat = 3
    config = Down
    end
    
    # OK/Select
    begin
    prog = mythtv
    button = ok
    config = Space
    end
    
    # Play/Pause
    begin
    prog = mythtv
    button = playpause
    config = P
    end
    
    begin
    prog = mythtv
    button = stop
    config = Esc
    end
    
    # Escape/Exit/Back
    begin
    prog = mythtv
    button = back
    config = Esc
    end
    
    # Escape/Exit/Back
    begin
    prog = mythtv
    button = tv_onoff
    config = Esc
    end
    
    # big green start button
    begin
    prog = mythtv
    button = start
    repeat = 3
    config = Esc
    end
    
    # Mute
    begin
    prog = mythtv
    button = mute
    repeat = 3
    config = F9
    end
    
    # Fast forward (30 sec default)
    begin
    prog = mythtv
    button = fastforward
    repeat = 24
    config = Right
    end
    
    # Back (10 sec default)
    begin
    prog = mythtv
    button = rewind
    repeat = 24
    config = Left
    end
    
    # Skip forward (10 min default)
    begin
    prog = mythtv
    button = skip
    repeat = 3
    config = PgDown
    end
    
    # Skip backward (10 min default)
    begin
    prog = mythtv
    button = replay
    repeat = 3
    config = PgUp
    end
    
    # Record
    begin
    prog = mythtv
    button = record
    repeat = 3
    config = R
    end
    
    # OSD browse
    begin
    prog = mythtv
    button = guide
    repeat = 3
    config = O
    end
    
    # Display EPG while in live TV,
    # View selected show while in EPG
    begin
    prog = mythtv
    button = setup
    repeat = 3
    config = M
    end
    
    # Scroll up
    begin
    prog = mythtv
    button = up
    repeat = 3
    config = Up
    end
    
    # Scroll down
    begin
    prog = mythtv
    button = down
    repeat = 3
    config = Down
    end
    
    # Scroll Left
    begin
    prog = mythtv
    button = left
    repeat = 3
    config = Left
    end
    
    # Scroll Right
    begin
    prog = mythtv
    button = right
    repeat = 3
    config = Right
    end
    
    # Bring up OSD info
    begin
    prog = mythtv
    button = more
    repeat = 3
    config = I
    end
    
    # Change display aspect ratio
    begin
    prog = mythtv
    button = aspect
    repeat = 3
    config = W
    end
    
    # Seek to previous commercial cut point
    begin
    prog = mythtv
    button = snapshot
    repeat = 3
    config = Q
    end
    
    # Seek to next commercial cut point
    begin
    prog = mythtv
    button = folder_open
    repeat = 3
    config = Z
    end
    
    # Numbers 0-9
    
    begin
    prog = mythtv
    button = 0
    repeat = 3
    config = 0
    end
    
    begin
    prog = mythtv
    button = 1
    repeat = 3
    config = 1
    end
    
    begin
    prog = mythtv
    button = 2
    repeat = 3
    config = 2
    end
    
    begin
    prog = mythtv
    button = 3
    repeat = 3
    config = 3
    end
    
    begin
    prog = mythtv
    button = 4
    repeat = 3
    config = 4
    end
    
    begin
    prog = mythtv
    button = 5
    repeat = 3
    config = 5
    end
    
    begin
    prog = mythtv
    button = 6
    repeat = 3
    config = 6
    end
    
    begin
    prog = mythtv
    button = 7
    repeat = 3
    config = 7
    end
    
    begin
    prog = mythtv
    button = 8
    repeat = 3
    config = 8
    end
    
    begin
    prog = mythtv
    button = 9
    repeat = 3
    config = 9
    end
    
    begin
    prog = mythtv
    button = dvd_menu
    config = M
    end
    
    begin
    prog = mythtv
    button = vol_down
    repeat = 3
    config = [
    end
    
    begin
    prog = mythtv
    button = vol_up
    repeat = 3
    config = ]
    end
    
    begin
    prog = mythtv
    button = dtv
    config = C
    end