Soundgraph iMON Antec Veris Mythbuntu 10.10
Contents
Info
This page contains all of the files and information I needed to get my Antec Fusion Case (Black finish, uses the newer iMon LCD 15c2:0038) and it's included Veris RM200 remote working. There is also a section describing how to setup a Logitech Harmony One Universal Remote Controller that works with this setup. Note that I used Mythbuntu 10.10, but any type of Ubuntu 10.10 should also work with this setup instructions.
LIRC
If you're doing a fresh install of Mythbuntu 10.10, there is no configuration to set what /dev/input/eventX device you want to utilize. So just follow the below directions to get you up and running.
Note on the Knob
The volume knob on the Antec Case should work right out of the box.
Directions to get Remote Working
Perform all of the following in order.
Step 1 - Uninstall LIRC and Reinstall it
Un-install LIRC so that any errors that were going on before won't come up. Open up a terminal, and type the following in:
Then you want to reinstall LIRC so that we can have the configuration settings come up and we can configure lIRC. In the same terminal window, perform the following::
You'll get a configuration window within your terminal window. Here's what you are going to want to do.
First, select the Linux Dev Input:
If you have an IR transmitter (I didn't), go ahead and select that on the next screen
Now, in a separate terminal window (Open a new one by clicking on "File," "Open Terminal"), perform the following command to find out which event your remote is on:
Here is the information I got from running that (note the "event4" which is what I selected then):
I: Bus=0003 Vendor=15c2 Product=0038 Version=0002 N: Name="iMON Remote (15c2:0038)" P: Phys=usb-0000:00:1d.1-1/input0 S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/rc/rc0/input4 U: Uniq= H: Handlers=kbd mouse1 event4 B: EV=100007 B: KEY=fff 0 400000108c0320 2d5008200000000 30000 400119000 419614100801 809e168000000000 200000010004002 B: REL=103
Mine was "event4," so I selected that on the last screen. Select whatever event your is on (i.e. - The event under H: Handlers)
Now that we have finished the configuration for LIRC, type in "irw" (without the quotes) in the terminal, press the mouse/keyboard toggle button on your controller (mine was right below the stop button), and start pressing buttons on your remote.
If all goes well, you should be seeing key presses output. You're almost there.
Now, go to:
Under the "Remote Control" screen, change the LIRC daemon socket to "/dev/lircd"
Step 2 - Button Configuration
After you have performed the above, you'll have to configure your buttons to work properly with MythTV. To do this, go ahead and edit this file: ~/.lirc/mythtv To edit, go to a terminal window and type "gedit ~/.lirc/mythtv" (without quotes), or if you use vim "vim ~/.lirc/mythtv"
Here is what my button configuration looks like, this should work for you as well:
# LIRCRC # Author(s): Mario Limonciello, Nick Fox, John Baab, Edited by Chris Murphy # Created for use with Mythbuntu 10.10 begin remote = devinput prog = mythtv button = KEY_EXIT config = Escape repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_RECORD config = R repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_PLAY config = P repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_REWIND config = < repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_PAUSE config = P repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_FASTFORWARD config = > repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_PREVIOUS config = Up repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_STOP config = Escape repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NEXT config = Down repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NEXT config = Down repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_BACKSPACE config = Escape repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_SELECT config = Return repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_CONTEXT_MENU config = Q repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_COMPOSE config = Z repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_ENTER config = Return repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_UP config = Up repeat = 3 delay = 0 end begin remote = devinput prog = mythtv button = KEY_DOWN config = Down repeat = 3 delay = 0 end begin remote = devinput prog = mythtv button = KEY_LEFT config = Left repeat = 3 delay = 0 end begin remote = devinput prog = mythtv button = KEY_RIGHT config = Right repeat = 3 delay = 0 end begin remote = devinput prog = mythtv button = KEY_ESC config = Escape repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_DASHBOARD config = S repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_PROG1 config = Return repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_CYCLEWINDOWS config = I repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_MUTE config = | repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_VOLUMEUP config = ] repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_VOLUMEDOWN config = [ repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_CHANNELUP config = Up repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_CHANNELDOWN config = Down repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_TIME config = F8 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_1 config = 1 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_2 config = 2 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_3 config = 3 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_4 config = 4 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_5 config = 5 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_6 config = 6 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_7 config = 7 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_8 config = 8 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_9 config = 9 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_0 config = 0 repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_POUND config = D repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_NUMERIC_STAR config = ? repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_BOOKMARKS config = C repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_MEDIA config = O repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_ZOOM config = W repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_SCREEN config = F repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_MENU config = M repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_SUBTITLE config = T repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_LANGUAGE config = + repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_VIDEO config = \U repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_AUDIO config = \M repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_CAMERA config = \I repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_TV config = \T repeat = 0 delay = 0 end begin remote = devinput prog = mythtv button = KEY_DVD config = \D repeat = 0 delay = 0 end
Now make a new file (or edit the old one) ~/.lirc/irexec with the following contents. Make sure to replace 'user' with your username (not mythtv).
# LIRCRC Auto Generated by Mythbuntu Lirc Generator # Author(s): Mario Limonciello, Nick Fox, John Baab, edited by Chris Murphy # Created for use with Mythbuntu begin remote = devinput prog = irexec button = KEY_POWER config = /home/user/Scripts/runmyth.sh & repeat = 0 delay = 0 end begin remote = devinput prog = irexec button = KEY_EJECTCD config = /home/user/Scripts/eject.sh & repeat = 0 delay = 0 end begin remote = devinput prog = irexec button = KEY_EJECTCLOSECD config = /home/user/Scripts/eject.sh & repeat = 0 delay = 0 end
Step 3 - irexec Files
We need to setup two irexec scripts for use with irexec. These need to go in ~/Scripts and you need to chmod +x them. Note that if you have a strange setup and your main DVD drive is not /dev/sr0, you will need to change this accordingly.
#!/bin/bash if [ -z `ps -e -o pid,command | grep mythfrontend | grep -v grep` ] then mythfrontend & (for i in $( seq 1 100 ) do echo $i; sleep 0.1; done) | zenity --auto-close --progress --text="Starting MythTV. This may take longer than this dialog shows." --title="Starting MythTV" else zenity --question --text="Are you sure you wish to exit MythTV?" --title="Exit MythTV?" if [ $? == 0 ] then for x in $( ps -e -o pid,command | grep mythfrontend | grep -v grep ); do if [ `expr index "$x" "/"` == 1 ] then continue; else kill $x; fi done fi fi
After you have completed all of the above, restart your computer (this is very important, otherwise your remote control buttons might not actually work).
Step 4 - Setup MythTV Special Keys
The last step is to make sure the coloured buttons on the remote work. To do this, go to Utilities/Setup -> Edit Keys and find the following keys under JumpPoints and set a new binding by pressing the corresponding button on the remote. Make sure you have already rebooted your computer to get the remote working right.
Live TV -> TV (Yellow)
MythGallery -> Pictures (Blue)
MythVideo -> Videos (Red)
Play DVD -> DVD (Purple)
Play music -> Music (Green)
Harmony One Universal Remote
Below there will be instructions on how to setup a Harmony One Universal Remote control to work like a Soundgraph iMON Antec Veris controller.