Skip to content

Instantly share code, notes, and snippets.

@bfritz
Created December 3, 2011 07:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bfritz/1426385 to your computer and use it in GitHub Desktop.
Save bfritz/1426385 to your computer and use it in GitHub Desktop.
ORtek VRC-1100 MythTV and lirc files
# /etc/udev/rules.d/10-ir-remote.rules
SUBSYSTEM=="input",ATTRS{idVendor}=="05a4",ATTRS{idProduct}=="9881",IMPORT{program}="input_id %p"
SUBSYSTEM=="input",ATTRS{idVendor}=="05a4",ATTRS{idProduct}=="9881",ENV{ID_INPUT_KEYBOARD}=="1",SYMLINK="input/ortek_ir_kbd"
SUBSYSTEM=="input",ATTRS{idVendor}=="05a4",ATTRS{idProduct}=="9881",ENV{ID_INPUT_MOUSE}=="1",SYMLINK="input/ortek_ir_mouse"
# /etc/default/inputlirc
# Options to be passed to inputlirc.
EVENTS="/dev/input/ortek_ir_kbd /dev/input/ortek_ir_mouse"
OPTIONS="-g -m 0 -c"
# lircrc file for MythTV with ORtek VRC-1100 remote
#
# Based loosely on Kr0nZ VRC-1100 example at:
# http://www.mythtv.org/wiki/VRC-1100_Ortek_Technology_MCE_Clone_Remote#My_lircrc_file
#
# and Kormoc's mceusb example at:
# http://www.mythtv.org/wiki/Lircrc_-_mceusb
# Save this file in ~/.mythtv/lircrc
#
# You will also need to make a few changes to the MythTV key bindings and jump
# points as follows.
#
# Jump Points:
#
# Main Menu: Alt+Home
# Live TV: Alt+P
# MythGallery: Alt+I
# MythMusic: Alt+M
# MythVideo -> The MythVideo default view: Alt+V
# Play DVD Alt+D
# Program Guide: Alt+G
# TV Recording Playback: Alt+R
#
# Key Bindings:
#
# TV Playback -> CHANNELDOWN: Down,PgDown
# TV Playback -> CHANNELUP: Up,PgUp
# TV Playback -> JUMPRWND: Shift+PgUp
# TV Playback -> JUMPFFWD: Shift+PgDown
#
# Jump Keys (e), power, yellow, blue, green, red, and row below colored keys
#
begin
prog = mythtv
remote = ortek_ir_mouse
# (e)
button = KEY_HOMEPAGE
config = Alt+Home
repeat = 0
delay = 0
end
#begin
# prog = mythtv
# remote = ortek_ir_mouse
# # power
# button = KEY_SLEEP
# config =
# repeat = 0
# delay = 0
#end
begin
prog = mythtv
remote = ortek_ir_kbd
# yellow (TV)
button = CTRL_SHIFT_KEY_T
config = Alt+P
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# blue (headphones)
button = CTRL_KEY_M
config = Alt+M
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# green (camera)
button = CTRL_KEY_I
# Jump Point: MythGallery
config = Alt+I
repeat = 0
delay = 0
end
begin
prog = mythtv
# red (camcorder)
remote = ortek_ir_kbd
button = CTRL_KEY_E
# Jump Point: MythVideo
config = Alt+V
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# TV with dot on of screen
button = CTRL_KEY_O
# Jump Point: TV Recording Playback
config = Alt+R
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# guide
button = CTRL_KEY_G
# Jump Point: Program Guide
config = Alt+G
repeat = 0
delay = 0
end
#begin
# prog = mythtv
# remote = ortek_ir_kbd
# # TV with mountains on screen
# button = CTRL_KEY_T
# config =
# repeat = 0
# delay = 0
#end
begin
prog = mythtv
remote = ortek_ir_kbd
# square with CD or DVD
button = CTRL_SHIFT_KEY_M
# Jump Point: Play DVD
config = Alt+D
repeat = 0
delay = 0
end
#
# Video Navigation
#
begin
prog = mythtv
remote = ortek_ir_kbd
# <<
button = CTRL_SHIFT_KEY_B
config = <
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# >>
button = CTRL_SHIFT_KEY_F
config = >
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# |> and ||
button = KEY_PLAYPAUSE
config = P
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# |<<
button = KEY_PREVIOUSSONG
config = Q
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# >>|
button = KEY_NEXTSONG
config = Z
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# []
button = KEY_STOPCD
config = Esc
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# red O
button = CTRL_KEY_R
config = R
repeat = 0
delay = 0
end
#
# Menu Navigation
#
begin
prog = mythtv
remote = ortek_ir_kbd
# <-
button = KEY_BACKSPACE
config = Esc
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# i and right mouse button
button = BTN_RIGHT
config = I
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# ^
button = KEY_UP
config = Up
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# <
button = KEY_LEFT
config = Left
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# OK
button = KEY_ENTER
config = Enter
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# >
button = KEY_RIGHT
config = Right
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# down arrow
button = KEY_DOWN
config = Down
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
# left mouse button
button = BTN_MOUSE
config = M
repeat = 0
delay = 0
end
#
# TV Control
#
begin
prog = mythtv
remote = ortek_ir_mouse
button = KEY_VOLUMEUP
config = F11
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
button = KEY_VOLUMEDOWN
config = F10
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
button = KEY_MUTE
config = F9
repeat = 0
delay = 0
end
#begin
# prog = mythtv
# remote = ortek_ir_kbd
# # Start
# button = ALT_META_KEY_ENTER
# config =
#end
begin
prog = mythtv
remote = ortek_ir_mouse
button = KEY_PAGEUP
config = PgUp
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_mouse
button = KEY_PAGEDOWN
config = PgDown
repeat = 0
delay = 0
end
#
# Numbers
#
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP1
config = 1
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP2
#config = 2
config = Up
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP3
config = 3
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP4
#config = 4
config = Left
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP5
#config = 5
config = Enter
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP6
#config = 6
config = Right
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP7
config = 7
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP8
#config = 8
config = Down
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP9
config = 9
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# *
button = KEY_KPASTERISK
config = M
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
button = KEY_KP0
config = 0
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# #
button = ALT_KEY_KP3
config = M
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# Close
button = ALT_KEY_F4
config = ALT-F4
repeat = 0
delay = 0
end
begin
prog = mythtv
remote = ortek_ir_kbd
# Clear
button = KEY_ESC
config = Escape
repeat = 0
delay = 0
end
#begin
# prog = mythtv
# remote = ortek_ir_kbd
# # Enter
# button = KEY_ENTER
# config = Enter
# repeat = 0
# delay = 0
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment