[LINUX] HOW-TO to use iMON Remote on Ubuntu 10.10 with Linux input layer on Harmony
#1
Thumbs Up 
I posted this here but i found that this my be useful to those who want to use IMON remote (or harmony remote with IMON codes) instead of MCE remote on IMON receiver.

With Ubuntu 10.10 due to some changes to lirc and its modules, my harmony-mce remote stopped to work. I decided to try to use IMON codes and follow the new way of lirc:

Quote:sudo dpkg-reconfigure lirc

then select
Quote:Linux input layer (/dev/input/eventX)

on "IR transmitter" i picked none.

on "Custom event interface for your dev/input device: " open a new shell and run:

Quote:cat /proc/bus/input/devices

you will face somethig like this:
Quote:I: Bus=0003 Vendor=15c2 Product=0038 Version=0001
N: Name="iMON Remote (15c2:0038)"
P: Phys=usb-0000:00:0b.0-6/input0
S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.0/rc/rc0/input5
U: Uniq=
H: Handlers=kbd mouse1 event5
B: EV=100007
B: KEY=fff 0 0 400000 108c0320 2d50082 0 0 30000 4 119000 4196 14100801 809e1680 0 2000000 10004002
B: REL=103

select the event you want lirc to listen, in my case:
Quote:/dev/input/event5

after this try
Quote:irw
and check if it works.
my device prints something like:

Quote:000000008001001c 00 KEY_ENTER devinput

since my remote declare himself as "devinput" i had to edit Lircmap.xml:

Quote:sudo gedit /usr/share/xbmc/system/Lircmap.xml

You can change them following your taste.
Quote:
<remote device="devinput">
<pause>KEY_PLAY</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FASTFORWARD</forward>
<reverse>KEY_REWIND</reverse>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_ENTER</select>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<back>KEY_BACKSPACE</back>
<menu>KEY_MENU</menu>
<play>KEY_PLAY</play>
<info>KEY_COMPOSE</info>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_PREVIOUS</skipminus>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<title>KEY_PROG1</title>
<display>KEY_ZOOM</display>
<tab>KEY_SCREEN</tab>
<home>KEY_EXIT</home>
<backslash>KEY_CYCLEWINDOWS</backslash>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_MEDIA</mymusic>
<mypictures>KEY_CAMERA</mypictures>
<mytv>KEY_TV</mytv>
<subtitle>KEY_SUBTITLE</subtitle>
<language>KEY_LANGUAGE</language>
<one>KEY_NUMERIC_1</one>
<two>KEY_NUMERIC_2</two>
<three>KEY_NUMERIC_3</three>
<four>KEY_NUMERIC_4</four>
<five>KEY_NUMERIC_5</five>
<six>KEY_NUMERIC_6</six>
<seven>KEY_NUMERIC_7</seven>
<eight>KEY_NUMERIC_8</eight>
<nine>KEY_NUMERIC_9</nine>
<zero>KEY_NUMERIC_0</zero>
</remote>

hope it helps someone.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
[LINUX] HOW-TO to use iMON Remote on Ubuntu 10.10 with Linux input layer on Harmony - by lyka - 2010-10-16, 02:39
[No subject] - by BigNoid - 2010-11-09, 14:04
[No subject] - by Dougie085 - 2010-11-24, 19:59
[No subject] - by diffuse - 2011-01-01, 10:08
[No subject] - by 8301 - 2011-01-04, 23:17
[No subject] - by 8301 - 2011-01-06, 22:29
[No subject] - by toddwv - 2011-01-10, 10:26
[No subject] - by Booboo - 2011-01-19, 10:21
[No subject] - by toddwv - 2011-01-20, 06:35
[No subject] - by toddwv - 2011-01-20, 06:48
[No subject] - by Booboo - 2011-01-21, 09:24
[No subject] - by toddwv - 2011-01-21, 11:14
[No subject] - by VlatkoB - 2011-01-29, 15:27
[No subject] - by nigthlord - 2011-02-06, 14:19
[No subject] - by bsneaker - 2011-03-03, 19:00
[No subject] - by BigNoid - 2011-03-03, 20:47
[No subject] - by bodhidarma - 2011-03-06, 17:39
[No subject] - by nigthlord - 2011-03-07, 01:19
[No subject] - by bodhidarma - 2011-03-11, 09:35
[No subject] - by 8301 - 2011-03-16, 21:47
[No subject] - by Hammi - 2011-03-19, 16:20
[No subject] - by Hammi - 2011-03-21, 17:20
[No subject] - by Hammi - 2011-03-21, 22:35
[No subject] - by proctor - 2011-03-22, 11:33
[No subject] - by Hammi - 2011-03-22, 15:04
[No subject] - by SwedishGojira - 2011-03-22, 15:18
[No subject] - by proctor - 2011-03-23, 09:59
[No subject] - by proctor - 2011-03-23, 10:15
[No subject] - by Hammi - 2011-03-23, 10:48
[No subject] - by proctor - 2011-03-25, 13:26
[No subject] - by Krautmaster - 2011-04-12, 22:06
[No subject] - by Hammi - 2011-04-13, 07:32
[No subject] - by Flooooo - 2011-05-06, 11:28
[No subject] - by Hammi - 2011-05-06, 11:44
[No subject] - by Qroach - 2011-06-27, 14:21
[No subject] - by Hammi - 2011-06-27, 15:38
[No subject] - by Qroach - 2011-06-27, 20:55
[No subject] - by tauro - 2011-07-13, 12:45
[No subject] - by hoppel118 - 2011-08-03, 12:34
[No subject] - by Krautmaster - 2011-10-04, 17:32


Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO to use iMON Remote on Ubuntu 10.10 with Linux input layer on Harmony00
This forum uses Lukasz Tkacz MyBB addons.