Difference between revisions of "DViCO LIRC Configs"

From MythTV Official Wiki
Jump to: navigation, search
 
(move back, with more complete version)
Line 1: Line 1:
#REDIRECT [[DViCO FusionHDTV7 Dual DVB-T LIRC Configs]]
+
{{Code box|/etc/lirc/lircd.conf|
 +
<pre>
 +
# 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
 +
</pre>
 +
}}
 +
 
 +
{{Code box|lircrc|
 +
<pre>
 +
# 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
 +
</pre>
 +
}}
 +
 
 +
[[Category:LIRC_Configuration_Files]]

Revision as of 16:15, 14 September 2010

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 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