Imon

From MythTV Official Wiki
Revision as of 07:34, 25 January 2010 by Moosylog (Talk | contribs)

Jump to: navigation, search

Introduction

SoundGraph, Inc has supplied customized OEM products to leading PC manufacturers and chassis manufacturers in the world. As a No 1 OEM supplier in HTPC market, SoundGraph, Inc is enjoying high reputation for world class technology and quality.

Vendors that OEM the soundgraph products: Silverstone Technology, Cooler Master, Thermaltake Technology, Zalman Tech, 3R System Their models include: (for search): Silverstone LC16S-M, Silverstone LC20B, Cooler Master Media 250, Cooler Master Media 260, HT-1100 All IR (Infra-red) OEM products from SoundGraph, Inc are using iMON PAD remote controller. According to the type and existence of Display, iMON OEM products can be divided into iMON OEM (VFD), iMON OEM (LCD) and iMON OEM (Inside).


Linux support

Venky Raju is the pioneer that created the first iMON drivers/support for Linux (PAD & VFD). Today his work is integrated in LIRC and LCDproc. Thanks Venky, you rock.


After Vensky, Codeka started to improve the iMON lcd and lirc support.

Codeka iMON forum

Blog post from september 07

iMON LCD (Liquid Crystal Display)

iMON OEM (LCD) products were released in June 2006 and this new OEM lineup uses the new iMON LCD (Liquid Crystal Display) developed by SoundGraph which is designed for the HTPC market. iMON OEM (LCD) can display various system and media information using 96x16 pixels dot area and total 177 icons. Read more.

LCDproc is used by mythTV

click image to enlarge

Support for this device is not 100% complete, however you can get most of the functionality by following the instructions here. You are welcome to post questions and feedback on your experience with the device there as well.

The LCD has a lot more capabilities than the VFD (for example, the ability to display in more languages than just English) though the patches linked to above only have preliminary support for anything greater than what is provided in the older VFD. Great hope is held for the future, however :-)

Howto

lirc 0.8.4 has support for the iMON LCD compiled in and the is_lcd module parameter is not longer required. Instead the code recognizes the different device ids reported by the different versions of the device.

Ubuntu Intrepid Ibex does not include 0.8.4 (as of 10/23/2008). Use apt-get (or equivalent package manager) to remove the 0.8.3 version of lirc. Either download the sources for lirc from lirc.org or find a ".deb" Debian package for that release. The former will be more up-to-date. lirc.org has build instructions.

Although the lircd.conf for the included remote will work for most keys, the directional keys are not always recognized in either keyboard or mouse mode as it appears that they can produce a number of different codes - more than just one for each of up, down, left and right. It is also possible that completely different codes may be sent by the remote for these keys - based on some of the lircd.conf files submitted by owners.

  • Lirc 0.8.4, configure --with-driver=imon_pad
  • LCDProc 0.5.2 with codeka patch -> configure --enable-drivers=imonlcd
  • modprobe lirc_imon is_lcd=1

iMON VFD (Vacuum Fluorescent Display)

iMON OEM (VFD) which has 16x2 size VFD Vacuum Fluorescent Display can show various information according to the different display modes (Graphic EQ, System Info, Media Info, Email Check, Headline News, World City Time & Weather).

According to the combination with the Volume Controller and Buttons controller, iMON OEM (VFD) products are divided into OEM Type A, Type B (Type A with Volume or Button controller), Type C (Type A with Volume and Button controller) and Type Custom (totally customized by customer).

LCDproc is used by mythTV

click image to enlarge


Download.png - Download LCDproc from lcdproc.omnipotent.net

LCDproc version V0.5 has full support for imon so you do not need separate modules or patches from Venky Raju to get the basic functionality working.

Wikipage.png - LCDproc mythTV wiki page


./configure --enable-drivers=imon
make
cd shared
make
cd ../server
make
# (as root)
make install


Edit LCDd.conf

  • make sure driver=imon
  • driverpath points to the directory where your imon.so is located.
  • set the 2 Goodbye lines to Goodbye="" (to remove the goodbye message when power off)

Start the VFD

  • /usr/local/sbin/LCDd -c path to your LCDd.conf

Stop the VFD

  • killproc LCDd



Important.png Note: In the LCDd.conf there is a DriverPath pointing to server/drivers. I saved the imon.so and the LCDd.conf file into /home/myth/lcd and start with:

/usr/local/sbin/LCDd -c /home/mythtv/lcd/LCDd.conf


Remove the goodbye message when powered off When the LCDproc process is killed at system shutdown, it puts up a "goodbye" message on the VFD. Certain HTPC cases (the Silverstone line included) leave the VFD powered even when the computer is off, meaning that the goodbye message is always visible whenever the HTPC is off. To blank the VFD whenever the computer is shut down, you need to replace the standard goodbye message with a blank string. For LCDproc version 0.5.2 or later, simply edit the GoodBye strings in LCDd.conf to be 16 spaces each. For older versions of LCDproc, edit the function goodbye_screen in the source file server/serverscreens.c and change the declaration of char *l16 and char *t16 to be 16 spaces each. Recompile and install, and you're good to go.

For LCDProc-0.4.5 you may use the patch to avoid displaying GoodBye message on the VFD when PC power OFF.


Configure mythfrontend to use the VFD

The mythlcdserver is started automatically when configured in mythfrontend.

You can find the setup options in Utilities/Setup->Setup->Appearance->LCD device display Check the Enable LCD device.

iMON PAD Remote Control

The PAD controller is designed to be able to be also used as four (up, down, left, right) arrow buttons on Keyboard. It is shipped with the iMON Station, iMON Knob, iMON ultrabay and the iMON inside, Because the button layout of iMON PAD remote controller is well arranged and many media-play-related buttons are served, it’s very useful on applications such as MultiMedian and Windows Media Center. iMON Manager and MultiMedian is already updated and optimized for iMON PAD remote controller.

mythTV uses LIRC for the iMON_PAD


click image to enlarge



LIRC is an acronym for Linux Infrared Remote Control. For Help Setting up LIRC on your computer, follow some of these excellent resources:

Webpage.png - Official mythTV wiki page on remote control

Webpage.png - The LIRC section in Jarod's Guide

Webpage.png - The LIRC website, here you can download the latest version of LIRC


The iMON PAD remote control is supported by LIRC 0.7 and higher.

Versions 0.7 and 0.8.1 of LIRC have included a working driver for the iMON PAD remote control. It is listed under the USB remote controls.

Versions 0.8.6 of LIRC will have support for all IR receivers that are currently shipped with this device. If the module is loaded with module param 'nomouse=1' when an IR client is attached the mouse toggle button is disabled. This is useful for mythtv, as the default mouse setting is to hide the cursor in the user interface, and therefore this improves the WAF if the toggle button is pressed.


Patches for iMON PAD Controller

The "PAD Controller", a pressure sensitive mouse cursor control is fully supported and previous patches that were required to get it fully working have been incorporated into LIRC. As of LIRC 0.8.6 full user friendly support will be included. Several patches were available, but they can be depended on LIRC version and kernel version:

Follow the instructions on brakemeier

Check the Venky forum forum for other versions.


.

Configure LIRC for the iMON_PAD

Incomplete.png Incomplete, needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page

If you start patching LIRC, you need to compile LIRC. Here are the instructions for compiling:

lirc, THE remote (imon_pad)

./configure --with-driver=imon_pad
make

Now when everything is compiled, make sure LIRC is activated during boot:

added these lines to my /etc/init.d/boot.local

/sbin/modprobe lirc_dev
/sbin/modprobe lirc_imon

config files for your remote /etc/lircd.conf can create a file with irxevent and/or mode2

/home/user/.mythtv/lircrc


Warning.png Warning: 2010 - The Brakemeier patches are now included into lirc. Arguments for the kernel lirc_imon module have changed over time. Lot of info you find on the web is old and only working for the legacy driver.



more info: http://brakemeier.de/electronics/vdr/lirc-imon.html


  • /etc/lircd.conf
 #
 # this config file was automatically generated
 # using lirc-0.7.1pre2(imon) on Tue Mar  1 23:15:44 2005
 #
 # contributed by Venky Raju
 #
 # brand:                       iMON-New
 # model no. of remote control: iMON-PAD
 # devices being controlled by this remote:
 #

 begin remote

  name     iMON-PAD
  bits           32
  eps            30
  aeps          100
  one             0     0
  zero            0     0
  gap          235965
  min_repeat      1
  toggle_bit      0

      begin codes
          AppExit                  0x288195B7
          Record                   0x298115B7
          Play                     0x2A8115B7
          SlowMotion               0x29B195B7
          Rewind                   0x2A8195B7
          Pause                    0x2A9115B7
          FastForward              0x2B8115B7
          PrevChapter              0x2B9115B7
          Stop                     0x2B9715B7
          NextChapter              0x298195B7
          Esc                      0x2BB715B7
          Eject                    0x299395B7
          AppLauncher              0x29B715B7
          MultiMon                 0x2AB195B7
          TaskSwitcher             0x2A9395B7
          Mute                     0x2B9595B7
          Vol+                     0x28A395B7
          Vol-                     0x28A595B7
          Ch+                      0x289395B7
          Ch-                      0x288795B7
          Timer                    0x2B8395B7
          1                        0x28B595B7
          2                        0x2BB195B7
          3                        0x28B195B7
          4                        0x2A8595B7
          5                        0x299595B7
          6                        0x2AA595B7
          7                        0x2B9395B7
          8                        0x2A8515B7
          9                        0x2AA115B7
          0                        0x2BA595B7
          ShiftTab                 0x28B515B7
          Tab                      0x29A115B7
          MyMovie                  0x2B8515B7
          MyMusic                  0x299195B7
          MyPhoto                  0x2BA115B7
          MyTV                     0x28A515B7
          Bookmark                 0x288515B7
          Thumbnail                0x2AB715B7
          AspectRatio              0x29A595B7
          FullScreen               0x2AA395B7
          MyDVD                    0x29A295B7
          Menu                     0x2BA385B7
          Caption                  0x298595B7
          Language                 0x2B8595B7
          MouseKeyboard            0x299115B7
          SelectSpace              0x2A9315B7
          MouseMenu                0x28B715B7
          MouseRightClick          0x688481B7
          Enter                    0x28A195B7
          MouseLeftClick           0x688301B7
          WindowsKey               0x2B8195B7
          Backspace                0x28A115B7
# Corrin added
	  Space                    0x2B9B15F7
          Up                       0xEB53F9B7
          Left                     0x6ABAFFBF
          Down                     0x6F9ECBB7
          Right                    0x69A281B7
      end codes
end remote
  • ~/.mythtv/lircrc
###################################
# lircrc config as used by Stev391 June 2007
# Not all of the buttons are configured yet, only the commonly used buttons
###################################

# Escape
begin
    prog = mythtv
    button = AppExit
    config = Esc
    repeat = 3
end

# Escape Key 2
begin
    prog = mythtv
    button = Esc
    config = Esc
end

# Channel Up
begin
    prog   = mythtv
    button = Ch+
    config = Up
    repeat = 3
end

# Channel Down
begin
    prog   = mythtv
    button = Ch-
    config = Down
    repeat = 3
end

# Volume Up
begin
    prog = mythtv
    button = Vol+
    repeat = 3
    config = Right
end

# Volume Down
begin
    prog = mythtv
    button = Vol-
    repeat = 3
    config = Left
end

# Enter/Return
begin
    prog   = mythtv
    button = Enter
    config = Return
end

# Menu Button
begin
    prog = mythtv
    button = Menu
    config = M
end

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

# Rewind
begin
    prog = mythtv
    button = Rewind
    config = PgUp  
end

# Fast Forward
begin
    prog = mythtv
    button = FastForward
    config = PgDown  
end

# Play
begin
    prog = mythtv
    button = Play
    config = P  
end

# Pause
begin
    prog = mythtv
    button = Pause
    config = P  
end

# Record
begin
  prog = mythtv
  button = Record
  config = R  
end

# Stop
begin
   prog = mythtv
   button = Stop
   config = O  
end

# Previous Track/Chapter
begin
   prog = mythtv
   button = PrevChapter
   config = Home  
end

# Next Track/Chapter
begin
   prog = mythtv
   button = NextChapter
   config = End
end

# Jump Point to MythVideo
begin
   prog = mythtv
   button = MyMovie
   config = F12
end

# Jump Point to MythMusic
begin
   prog = mythtv
   button = MyMusic
   config = F11
end

# Jump Point to LiveTV
begin
   prog = mythtv
   button = MyTV
   config = F10
end

# Jump Point to Main Menu
begin
   prog = mythtv
   button = Multimon
   config = F2
end

# Jump Point to Myth Gallery
begin
   prog = mythtv
   button = MyPhoto
   config = F3
end

# Jump Point to Play DVD
begin
   prog = mythtv
   button = MyDVD
   config = F4
end

# Display Information
begin
   prog = mythtv
   button = Caption
   config = I
end

##############################
# Numbers
##############################
begin
    prog = mythtv
    button = 0
    config = 0  
end

begin
    prog = mythtv
    button = 1
    config = 1  
end

begin
    prog = mythtv
    button = 2
    config = 2  
end

begin
    prog = mythtv
    button = 3
    config = 3  
end

begin
    prog = mythtv
    button = 4
    config = 4  
end

begin
    prog = mythtv
    button = 5
    config = 5  
end

begin
    prog = mythtv
    button = 6
    config = 6  
end

begin
    prog = mythtv
    button = 7
    config = 7  
end

begin
    prog = mythtv
    button = 8
    config = 8  
end

begin
    prog = mythtv
    button = 9
    config = 9  
end

iMON PAD User Experience

Moosylog: PAD patches not working. Several patches exist, started this page. Can not get the PAD to work with lirc 0.8.1 and kernel 2.6.18. Please fill the gaps. Not use the PAD controller and use other keys for n,w,s,e. ..- Moosy, Feb 2 2007.


Mouser: Warning: If you use yum and ATrpms.net's package for LIRC, as recommended on Jarod Wilson's MythTV installation walkthrough, then the pad2keys patch will not work. I am still trying to figure out why, I think the make install is sending the final executable to the wrong directory. If/when I figure out how to get this to work, I'll post the result here. Also, ATrpms' installation of LIRC is listed as being version 0.8.2, which seems to be ahead of the current stable version listed on lirc.org. Regardless, this version does not include the direction pad functionality. -Mouser 03:33, 6 April 2007 (UTC)


Nite man: The patch from brakemeier.de works fine with lirc-0.8.1. There is an only one problem with lircd.conf patching. You may use modified version of the brakemeier's patch from here. --Nite man 06:48, 9 August 2007 (UTC)

iMON RSC Remote Control

The RSC (Remote Stick Controller) has a joystick designed to be used as a mouse or arrow buttons. It is shipped with the Accent HT-400 HTPC case. The iMON RSC benefits from having a joystick that controlls the mouse pointer. The remote control also has the following functions; screensaver, timer, show desktop, maximise/restore and multimedia keys for volume control, play, pause, stop, next, previous, full screen and many more.

mythTV uses LIRC for the iMON_RSC


click image to enlarge



Place holder . please add your info here .

iMON MM Remote Control

iMON MM (remote controller for Multi-Median) iMON MM remote controller is designed to maximise the controllability of Multi-Median application. It has more media buttons like DVD menu, caption, language, bookmark, thumbnail and Aspect Ratio than iMON RSC. iMON MM and Multi-Median could give you the all controllability of your media files and devices without the mouse and keyboard.

mythTV uses LIRC for the iMON_RSC


click image to enlarge



Place holder . please add your info here .

iMON 2.4 Remote Control

iMON 2.4G Remote Controller uses the radio frequency, 2.4GHz. All the buttons without ’Power‘ and ’Quick Launch‘ button on the iMON 2.4G remote controller can be set and used as two ways according to its different modes (navigation mode/ playback control mode). The following is the button usage of the default remote setting. If button acts different according to the different modes, you can understand that the green is for navigation mode, and red is for playback control mode.

mythTV uses LIRC for the iMON_RSC


click image to enlarge


Place holder . please add your info here .

iMON Knob(s)

This is about the volume control wheel on the iMON. .

LCDproc is used by mythTV

click image to enlarge


You may want to take a look at Volume Knob on Antec Fusion to see how to make the click wheel to work.

iMON Ultra Bay

.

LCDproc is used by mythTV



click image to enlarge


iMON Ultra Bay dimension is double of the iMON VFD and has two panels, one for display and the other for control. It is a nice looking professional LCD display, which can show much more system and media information than the iMON VFD display. This LCD can show the 2 Byte characters with various font types. Its IR receiving capacity can cover not only iMON PAD remote controller but also MCE remote controller and keyboard also. The Dual Knob and control buttons system can give the easiest way to navigation and media control.

Use a Microsoft remote control

Depending on your Soundgraph device and version, you can use a Microsoft remote control.

The 'older' iMon PAD remote control and the iMon receiver are not compatible with the remote control standard RC-5, RC-6, NEC/Toshiba, or Sony protocols. It seems to use a propriatry protocol that looks like the RC-MM protocol.

http://venky.ws/forums/viewtopic.php?f=2&t=223&sid=be9cf914820b23148d76b2822f503565 http://www.soundgraph.com/Eng_/Forum/ForumDetail.aspx?topMenu=4&subMenu=4&writingId=558&TB=T&CurrentPage=1&fcStateId=1&writingLevel=8&search=protocol

For those with the 15c2:0038 (Antec MicroFusion 350), add the following module options to get you MCE RC6 remote working

  • /etc/modprobe.d/options (or /etc/modprobe.d/lirc_imon.conf for Ubuntu 9.10)
options lirc_imon ir_protocol=1

Index: imon build in receiver, imon remote control, silverstone remote control, cooler master remote control, mythtv remote control, mythtv imon, microsoft remote control imon pad