Kodi Community Forum

Full Version: [LINUX/LIVE]Dharma B1 + iMon 15c2:ffdc + MS1039 Remote - HELP! :)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here is the problem:

I have this case with the builtin iMon receiver and (what I belive) is the LCD display:

Image

lsusb reports it correctly as ID 15c2:ffdc

I want to use a Microsft MCE remote control with it (Model Number 1039) just like this one:

Image

And I am currently using the Dharma beta 1 Live installed to disk - which runs superbly by the way but the wife-acceptance-factor is down the drain with no remote Smile

I have read approximately 30-40 different guides and spent countless hours over many days working on this and have got nowhere!

No matter what guide I use, I cannot even get any output when pressing buttons using 'irw'

There is so much conflicting information for conflicting versions of linux/lirc that it is insane!

So PLEASE Smile))))))) Could some kind genius spell out step by step what needs to be done for THIS SPECIFIC Receiver, THIS SPECIFIC remote, and THIS SPECIFIC version of XBMC to get the damn thing working!!

I really will appreciate it and I don't even care if the LCD display itself works, just the remote functioning will be one less Windows machine in the house Smile (Incidentally all works fine under Win7).

Thanks and keep up the great work!
Have you tried this page http://codeka.com/forums/viewtopic.php?f=3&t=22 it names your device and vendor ids by name, it was a reference made by this page http://mythtvblog.blogspot.com/2008/04/g...-lirc.html
I have, and in fact it is one of the least thorough of the guides Smile it tells you how to install lirc, but not the hard part which is configuring it to work Smile

Additionally, the guide it is based on (your second link) says to check if usbhid has taken over the device by running
Quote:cat /proc/bus/usb/devices

But that path doesn't even exist in the live cd's installation.

By the way, does anyone know which version of lirc is installed on the dharma live cd? Again I am finding conflicting answers everywhere Smile
Don't follow this pages they are really outdated and the src are for another device the 0038 u have the ffdc.

the src patch are committed to lirc since 0.8.6 also lcdproc now support imon's lcd since 0.5.3.

use this guides. All package needed are in ubuntu repo since karmic
http://forum.xbmc.org/showthread.php?tid...t=mce+imon
https://help.ubuntu.com/community/IMON_V...armic_9.10

skip the lcdproc build, repo deb work well.

Pay attention that u must say to the imon kernel module that u have a mce remote.
If irw still don't work use.

sudo /etc/init.d/lirc stop
sudo mode2 --raw /dev/lirc0

and press some remote key if u see the raw codes if a config file problem if u don't see anything a kernel module problem.
Bingo! I found a post I hadn't found before and stole the lircd.conf and hardware.conf from this page, restarted lirc and everything works like a dream (every single button and the wheel)

Note: I didn't follow any of the instructions, just nicked the conf files. So the steps can be described as:

  1. Run lirc's reconfigure and select the SoundMon LCD/IR option (and none for the remote)

  2. Copy both the confs in the first post to /etc/lirc/

  3. Restart Lirc

Bingo!
This is now also proven to work with the 9.11 distro too, but I also forgot to mention a step.

So whether you are using the Dharma Beta or 9.11 this is the very simple guide to get this hardware working.

1. run
Code:
sudo dpkg-reconfigure lirc
and choose 'Soundgraph iMon IR/LCD' on the first screen and then 'None' on the second screen

2. The generated lircd.conf and hardware.conf are useless so delete them
Code:
sudo rm -rf /etc/lirc/lircd.conf
sudo rm -rf /etc/lirc/hardware.conf

3. Create a new lircd.conf
Code:
sudo vi /etc/lirc/lircd.conf
and paste the following in the file

Code:
#Configuration for MCE Remote using the Soundgraph iMON IR/LCD:
begin remote

  name         mceusb
  bits         32
  eps          30
  aeps        100

  one             0     0
  zero            0     0
  post_data_bits    32
  post_data    0x9FAE

  gap         203992
  toggle_bit_mask 0x800000000000

      begin codes
          Power                0x800F040C
          TV_power             0x800F0465
          Home                 0x800F040D
          Guide                0x800F0426
          LiveTV               0x800F0425
          DVD                  0x800F0424
          Teletext             0x800F045A
          RecTV                0x800F0448
          Back                 0x800F0423
          Forward              0x800F0414
          Stop                 0x800F0419
          Replay               0x800F041B
          Skip                 0x800F041A
          Play                 0x800F0416
          Record               0x800F0417
          Rewind               0x800F0415
          Pause                0x800F0418
          More                 0x800F040F
          Left                 0x800F0420
          Right                0x800F0421
          Up                   0x800F041E
          Down                 0x800F041F
          OK                   0x800F0422
          Chan_Down            0x800F0413
          Chan_Up              0x800F0412
          Vol_Down             0x800F0411
          Vol_Up               0x800F0410
          Mute                 0x800F040E
          One                  0x800F0401
          Two                  0x800F0402
          Three                0x800F0403
          Four                 0x800F0404
          Five                 0x800F0405
          Six                  0x800F0406
          Seven                0x800F0407
          Eight                0x800F0408
          Nine                 0x800F0409
          Zero                 0x800F0400
          *                    0x800F041D
          Clear                0x800F040A
          #                    0x800F041C
          Enter                0x800F040B
          Red                  0x800F045B
          Green                0x800F045C
          Yellow               0x800F045D
          Blue                 0x800F045E
          Antec_knob_left      0x01000000
          Antec_knob_right     0x00010000
      end codes

end remote

4. Create a new hardware.conf
Code:
sudo vi /etc/lirc/hardware.conf

and paste the following into that file
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev lirc_imon"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="Microsoft Windows Media Center V2 (usb) : Dish Receiver"
TRANSMITTER_MODULES="lirc_dev lirc_mceusb2"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc1"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="false"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

5. Create a file one more file
Code:
sudo vi /etc/modprobe.d/lirc.conf

and paste this into the file

Code:
options lirc_imon debug=0 nomouse=1 display_type=1 pad_thresh=5

6. Finally restart lirc with
Code:
sudo /etc/init.d/lirc restart

And you should now have a fully working remote with all buttons functioning
hi,

i have the same hardware as seer but i still dont get it to work Sad

lsusb reports it correctly as ID 15c2:ffdc

Microsft MCE remote control with it (Model Number 1039)

i use the dharma beta2 and i tried this steps above. But irw dont give me any little symbol.

i saw that the "TRANSMITTER_DEVICE="/dev/lirc1" is missing at my system. how can i get it?
That sounds like your IR is not even connected? Have you tested with another OS that it definitely works?

I remember some little connector which needs to be hooked up in that chassis (really awkward) but I think that was more for the display than the receiver.
Actually in my case (Silverstone iMon 2.5" LCD/IR) there is a power connector for the display and an internal USB connector, both had to be hooked up for the IR receiver to even show up in the system.

Further more I'm having terrible issues getting this to work. I'm running Maverick 10.10 though, which doesn't handle IR codes directly it seems. Apparently I can black list the imon module and use the older module so I may be trying that soon here because I can't seem to get anything to work with the MCE remote and I don't even have the original iMon remote.