Kodi Community Forum
iMON - Lirc Porblem - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: iMON - Lirc Porblem (/showthread.php?tid=59880)

Pages: 1 2 3


- alanwww1 - 2009-10-20

rayholland Wrote:i see. hmm, is the imon receiver not universal? i mean, with a xbox dvd remote lircd.conf it should transcode the send ir signals. Or am i wrong?

It works a completely different way than most of the receivers. It has some kind of mouse mode and so on. MCE can receive most of the remotes signal.


- rayholland - 2009-10-20

i have been playing around and modinfo lirc_imon gives me the follwing info:

depends: lirc_dev
vermagic: 2.6.30.3-4.1.moblin2-netbook SMP preempt mod_unload PENTIUMM
parm: debugBig Grinebug messages: 0=no, 1=yes(default: no) (int)
parm: display_type:Type of attached display. 0=autodetect, 1=vfd, 2=lc d, 3=vga, 4=none (default: autodetect) (int)
parm: ir_protocol:Which IR protocol to use. 0=native iMON, 1=Windows M edia Center Ed. (RC-6), 2=iMON w/o PAD stabilize (default: native iMON) (int)
parm: nomouseBig Grinisable mouse input device mode when IR device is open. 0=don't disable, 1=disable. (default: don't disable) (int)
parm: pad_thresh:Threshold at which a pad push registers as an arrow k ey in kbd mode (default: 28) (int)
[root@localhost ~]#

Interesting part is ir_protocol. So if we add ir_protocol=1 as an option the imon receiver would pick up MCE ir signals. So, no extra MCE IR receiver needed. Anyone tried this? I have a MCE remote laying around somewhere ;-)


- rayholland - 2009-10-20

ok, we are one step further. I use a mce rc6 remote with the imon ir receiver:

dmesg output:
[ 2.106485] lirc_imon: Configuring IR receiver for MCE protocol

mode2 output:

[root@localhost init.d]# mode2 -d /dev/lirc0 --raw
code: 0x0200002200000000
code: 0x0200002200000000
code: 0x0200002200000000
code: 0x0200000000000000
code: 0x0200001e00000000
code: 0x0200001e00000000
code: 0x0200001e00000000
code: 0x0200000000000000

so far, so good, the imon ir receiver picks up the ir signals from my mce remote. next step is to get the right lirccd.conf file


- rayholland - 2009-10-20

now i'm stuck. i have used several lircd.conf files for mce remotes but non give output in irw.

i have this mce remote: http://www.mythtv.org/wiki/Image:MCE-Remote-2-v1069.jpg

can anyone provide me a lircd.conf file for this remote? thx


- vajonam - 2009-10-20

never mind.. thought i had a conf for you but no dice..


- rayholland - 2009-10-20

update:

i have tried to make my own lircd.conf by recording the buttons pressed:
i have tried to recording button 0 and button 1

irrecord -d /dev/lirc0 /tmp/lircd.conf


# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.8.6(default) on Tue Oct 20 20:39:49 2009
#
# contributed by
#
# brand: /tmp/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name /tmp/lircd.conf
bits 0
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 64
pre_data 0x200000000000000
gap 103993
toggle_bit_mask 0x2800000000

begin codes
BTN_0 0x0
BTN_1 0x0
end codes

end remote


this can not be right:
BTN_0 0x0
BTN_1 0x0

am i doing something wrong? please help


- rayholland - 2009-10-20

ok, we are a step further:

this lircd.conf works with my mce rc6 vista remote and the imon ir receiver:

begin remote

name lirc0.conf
bits 64
eps 30
aeps 100

one 0 0
zero 0 0
post_data_bits 0
post_data 0x0
gap 139998


begin codes
Up 0x0200005200000000
Down 0x0200005100000000
Left 0x0200005000000000
Right 0x0200004f00000000
Back 0x0200002A00000000
Clear 0x0200002900000000
Enter 0x0200002800000000
1 0x0200001E00000000
2 0x0200001F00000000
3 0x0200002000000000
4 0x0200002100000000
5 0x0200002200000000
6 0x0200002300000000
7 0x0200002400000000
8 0x0200002500000000
9 0x0200002600000000
* 0x0220002500000000
0 0x0200002700000000
# 0x0220002000000000
end codes

end remote

I have to add the missing buttons using mode2 (pfff)


[root@localhost lirc]# irw /dev/lircd
0200001e00000000 00 1 lirc0.conf
0200001e00000000 01 1 lirc0.conf
0200001f00000000 00 2 lirc0.conf
0200001f00000000 01 2 lirc0.conf
0200002000000000 00 3 lirc0.conf
0200002000000000 01 3 lirc0.conf
^C
[root@localhost lirc]#


- rayholland - 2009-10-21

Ok, I have my vista mce remote working with the iMON ir receiver (also working in xbmc). So no need for an extra mce-receiver.

Here's the lircd.conf:


#Lircd.conf for xbmc. No need for custom Lircmap.xml
#Allows my vista RC6 MCE remote (see http://www.mythtv.org/wiki/Image:MCE-Remote-2-v1069.jpg) to work with my iMON ir receiver (silverstone ML02/MX)
#10/20/09 by rayholland <[email protected]>

begin remote

name mceusb
bits 64
eps 30
aeps 100

one 0 0
zero 0 0
post_data_bits 0
post_data 0x0
gap 139998

begin codes
Pause 0x800f8418000002ae
Stop 0x800f0419000002ae
Forward 0x800f0414000002ae
Rewind 0x800f8415000002ae
Left 0x0200005000000000
Right 0x0200004f00000000
Up 0x0200005200000000
Down 0x0200005100000000
OK 0x0200002800000000
ChanUp 0x800f0412000002ae
ChanDown 0x800f0413000002ae
Back 0x0200002A00000000
# PreviousMenu
Play 0x800f8416000002ae
More 0x800f840f000002ae
Skip 0x800f041a000002ae
Replay 0x0200002a00000000
Teletext 0x800f045a000002ae
# Home
Record 0x800f8417000002ae
VolUp 0x800f0410000002ae
VolDown 0x800f8411000002ae
Mute 0x800f840e000002ae
Power 0x800f040c000002ae
Videos 0x800f845b000002ae
Music 0x800f045c000002ae
Pictures 0x800f845d000002ae
# TV
One 0x0200001E00000000
Two 0x0200001F00000000
Three 0x0200002000000000
Four 0x0200002100000000
Five 0x0200002200000000
Six 0x0200002300000000
Seven 0x0200002400000000
Eight 0x0200002500000000
Nine 0x0200002600000000
Zero 0x0200002700000000
end codes

end remote

Next thing todo: setting up LCDProc

Cheers!


- rayholland - 2009-10-21

LCDproc up and running.

i only have a 'news flash', every 5 sec. -> ###LCDProc Server ### Cli:1 Scr: 1

Is this normal?

Sorry, found it -> ServerScreen=no in LCDd.conf


- Nik1984 - 2009-12-01

Hi RayHolland,

Sorry to bring up this post but I have the same case (Silverstone ML02 with the build in iMON IR/LCD).
And I'm very interested in your configfiles to use the MCE remote with the build in IR!

Can you post your lateste
- lircd.conf
- hardware.conf
- Keymap.xml
- others?

Thank you!!!


- TheBurner - 2009-12-02

Im using the Antec Fusion Silver ir/vfd got the vfd up in 5min but for some reason i cannot get any signal picked up from the irw.. I have tried multiple configs im kind of lostSmile


- harrykim23 - 2009-12-02

@TheBurner:

Do you know this guide?
http://ubuntuforums.org/showthread.php?t=1103474

I have the Antec Fusion with Remote (Black) as well, and following this guide got everything working perfectly.


- muggi - 2009-12-02

Nik1984 Wrote:Hi RayHolland,

Sorry to bring up this post but I have the same case (Silverstone ML02 with the build in iMON IR/LCD).
And I'm very interested in your configfiles to use the MCE remote with the build in IR!

Can you post your lateste
- lircd.conf
- hardware.conf
- Keymap.xml
- others?

Thank you!!!



hi

just wait until today´s evening (german time).

I will up a complete how to (based on 9.11b1 Karmic hdd install with imon LCD and MCE-Remote) with keymap, lircmap, lcdproc, Lircd.conf and hardware.conf


greetz muggi


- Nik1984 - 2009-12-02

muggi Wrote:hi

just wait until today´s evening (german time).

I will up a complete how to (based on 9.11b1 Karmic hdd install with imon LCD and MCE-Remote) with keymap, lircmap, lcdproc, Lircd.conf and hardware.conf


greetz muggi

That would be absolutely fantastic. I'm from belgium, so same time.
Can't wait!


- muggi - 2009-12-02

Here is the tutorial

http://forum.xbmc.org/showthread.php?p=450176#post450176