Author Topic: Multiple LIRC Devices - iMon Knob(Antec Wheel) + MCE IR Receiver  (Read 3768 times)


  • Newbie
  • *
  • Posts: 7
    • View Profile

I had Windows Mediacenter remote up and running, but all of the sudden it stopped working.
After some research this is the case:

In LMCE admin I have added 2 remotes, even defined a new remote with pasted config in config parameter, which generates the correct remote config in /etc/lircd.conf:
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Tue Oct 17 22:45:11 2006
# contributed by
# brand:                       Antec Fusion Wheel
# model no. of remote control:
# devices being controlled by this remote:

begin remote

  name  Antec_Fusion_Wheel
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  post_data_bits  16
  post_data      0xFF
  gap          131971
  min_repeat      1
  toggle_bit      0

      begin codes
          CCW                      0x0100
          CW                       0x0001
      end codes

end remote
# RC-6 config file
# source:
# used by: Philips
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
# Dan Conti  dconti|
# Radio, Print, RecTV are only available on the HP Media Center remote control

begin remote

  name mceusb
  bits           16
  eps            30
  aeps          100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits 21
  pre_data      0x37FF0
  gap          105000
  toggle_bit     22
  rc6_mask     0x100000000

      begin codes

# starts at af
        Radio    0x00007baf
        Print    0x00007bb1
        Videos   0x00007bb5
        Pictures 0x00007bb6
        RecTV    0x00007bb7
        Music    0x00007bb8
        TV       0x00007bb9
# no ba - d8
        Guide    0x00007bd9
        LiveTV   0x00007bda
        DVD      0x00007bdb
        Back     0x00007bdc
        OK       0x00007bdd
        Right    0x00007bde
        Left     0x00007bdf
        Down     0x00007be0
        Up       0x00007be1
# no e2,e3
        Replay   0x00007be4
        Skip     0x00007be5
        Stop     0x00007be6
        Pause    0x00007be7
        Record   0x00007be8
        Play     0x00007be9
        Rewind   0x00007bea
        Forward  0x00007beb
        ChanDown 0x00007bec
        ChanUp   0x00007bed
        VolDown  0x00007bee
        VolUp    0x00007bef
        More     0x00007bf0
        Mute     0x00007bf1
        Home     0x00007bf2
        Power    0x00007bf3
        Enter    0x00007bf4
        Clear    0x00007bf5
        Nine     0x00007bf6
        Eight    0x00007bf7
        Seven    0x00007bf8
        Six      0x00007bf9
        Five     0x00007bfa
        Four     0x00007bfb
        Three    0x00007bfc
        Two      0x00007bfd
        One      0x00007bfe
        Zero     0x00007bff
      end codes

end remote

However, LMCE starts lircd with device paramter /dev/lirc0:
"lircd -H default -d /dev/lirc0 /etc/lircd.conf"

I have following lirc modules loaded:
lirc_mod_mce           17540  0
lirc_mceusb2           11908  0
lirc_imon              15236  1
lirc_dev               15988  3 lirc_mod_mce,lirc_mceusb2,lirc_imon
usbcore               134280  7 lirc_mod_mce,lirc_mceusb2,usbhid,lirc_imon,ehci_hcd,uhci_hcd

The thing is, /dev/lirc0 is the Ante Fusion Wheel / iMon Knob, Microsoft MCE Remote IR Reicever is at /dev/lirc1

I have created aliases /dev/lirc_mce and /dev/lirc_imon using udev config, and this works. I have tested starting a second LIRCD manually with device param /dev/lirc_mce and tested using "irw" which then prints the actions defined for MCE remote in lircd.conf correctly. However, while running a second LIRCD this does not make my MCE remote function in LMCE.

How do I make this work? How do I tell LMCE / Pluto LIRC which devices I have and what mappings should be done for each of them. And how do I make sure LMCE receives the LIRC signals from a possibly second LIRCD ?
How do I make LMCE start LIRCD with other device paramteres? It seems to ignore my settings made in
# /etc/lirc/hardware.conf
# Arguments which will be used when launching lircd

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

#Try to load appropriate kernel modules

# Run "lircd --driver=help" for a list of supported drivers.
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead

# Default configuration files for your hardware if any

Any tips is appreciated. I have found lots of howtos on how to make this work if I run /etc/init.d/lircd daemon, but this does not help for LMCE / Pluto.

Please advice, appreciate it! :)


  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: Multiple LIRC Devices - iMon Knob(Antec Wheel) + MCE IR Receiver
« Reply #1 on: December 14, 2008, 08:51:53 pm »

did you managed to solve your problem with /dev/lirc0 and /lirc1 devices?
I'm experiencing exactly the same problem...

I would appreciate any help
That's my post:
os: LinuxMCE
mobo: Asus P5Q/P45, 8.1 HD Intel Audio, 1GB NIC
proc: Intel-D 3GHz, LGA775
ram: 4GB OCZ
hdd: 1x160GB SATA and 2x500GB SATA
case: Antec Fusion MAX with iMON RC, LCD and iMON knob