**UPDATED**
Finally. I have everything working on the 0038 & the FFDC receiver
Check what receiver you have:
Code:
cat /proc/bus/input/devices
The output will look like this:
Code:
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="iMON Remote (15c2:ffdc)"
P: Phys=usb-0000:00:1d.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/rc/rc0/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 400000 108fc322 29760c1 0 0 30000 4 119000 4186 14000801 809e9680 0 2000000 10004002
B: MSC=10
The I or N lines will contain your receiver type. There are newer ones that are higher than 0038 but I don't have one of those to test on.
Create or edit the following files [0038] & [FFDC]:
/etc/rc_keymaps/imon_pad (To restore missing buttons)
Code:
# table imon_pad, type: OTHER
0x1010000 BTN_MOUSE
0x1010080 BTN_MOUSE
0x1020000 BTN_RIGHT
0x1020080 BTN_RIGHT
0x2000065 KEY_COMPOSE
0x2800000 KEY_CONTEXT_MENU
0x289115b7 KEY_POWER
0x28b715b7 KEY_COMPOSE
0x299395b7 KEY_EJECTCLOSECD
0x29b195b7 KEY_EJECTCD
0x29b715b7 KEY_DASHBOARD
0x2a9395b7 KEY_CYCLEWINDOWS
0x2ab195b7 KEY_MEDIA
0x2b8195b7 KEY_CONTEXT_MENU
0x2b8395b7 KEY_TIME
0x688301b7 BTN_MOUSE
0x688481b7 BTN_RIGHT
/home/xbmc/.xbmc/userdata/Lircmap.xml (To restore missing buttons, and change the default for 'Backspace' on the remote)
Code:
<lircmap>
<remote device="linux-input-layer">
<altname>cx23885_remote</altname>
<altname>devinput</altname>
<back>KEY_BACKSPACE</back>
<title>KEY_COMPOSE</title>
<start>KEY_MEDIA</start>
</remote>
</lircmap>
/etc/rc.local (I removed exit 0 from rc.local)
Code:
/usr/bin/ir-keytable -w /etc/rc_keymaps/imon_pad
Configure lirc in devinput mode: (This step is
unnecessary. You can uninstall lirc completely, it won't cause any harm if you complete this step)
Code:
dpkg-reconfigure lirc
Select "Linux input layer (/dev/input/eventX)
Select "None" (Unless you have a receiver to configure here for livetv)
Select "/dev/input/by-id/usb-15c2_ffdc-event-if00" (Yours may be slightly different, as long as it ends in if00 you're fine)
Edit files on the FFDC only:
/etc/rc_maps.cfg
Code:
* rc-imon-mce /lib/udev/rc_keymaps/imon_mce
change to:
* rc-imon-mce /lib/udev/rc_keymaps/imon_pad
Reboot [0038] & [FFDC].
For extra sensitive pads you can add this to rc.local:
Code:
/usr/bin/ir-keytable --protocol=Other
Your remote should be fully functional with what I deem the proper key configuration. If you disagree with my key configuration ... well ... you're wrong. Deal with it.
Seriously though, at this point if you don't like the way things are configured running irw should display output for *every* button on the remote. You can just edit /home/xbmc/.xbmc/userdata/Lircmap.xml and change it to your likings. The base configuration is located in /usr/share/xbmc/system/Lircmap.xml just search for devinput and it'll give you all the stock buttons. I don't really recommend editing the one in /usr/share/xbmc/system since updating xbmc at any point in the future could overwrite your file, where as the one in your userdata folder is yours to keep and play with.