(2012-03-30, 19:10)David1977 Wrote: Okay....
I installed ir-keytable .... everything's ok
running ir-keytable gives an output like you said:
Code:
david@david-xbmc:~$ ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event5) with:
Driver imon, table rc-imon-mce
That means to me, that I'm using the imon-mce file in /lib/udev/rc-keymaps, right?
ir-keymaps -t doesn't show anything while I hit a button on my remote
ir-keymaps -r displays the mapping like you've said
Did I do something wrong or what is the fault because ir-keymaps -t won't display anything?
yes, you are using the imon-mce config file in /lib/udev/rc-keymaps which from what I can tell is wrong. I have that exact setup, here's what I did to fix it (mostly):
dpkg-reconfigure lirc
Select Linux input layer (/dev/input/eventX)
Select None (unless you have a remote extender for a satellite dish or something)
In the next list, it's going to give you a complete listing of /dev/input/ you're looking for the one that ends in usb-15c2_ffdc-even-if00
There will actually be 3 of them, one ends in mouse, another ends in something else. You want the one that ends in if00
Once that is completed, it will start lirc using the drivers from the kernel rather than lirc drivers.
Now, I created my own configuration file in /etc/rc_keymaps named imon-pad so...
nano /etc/rc_keymaps/imon-pad
Code:
0x288195b7 KEY_EXIT
0x289115b7 KEY_POWER
0x298115b7 KEY_RECORD
0x2a8115b7 KEY_PLAY
0x29b195b7 KEY_EJECTCD
0x2a8195b7 KEY_REWIND
0x2a9115b7 KEY_PAUSE
0x2b8115b7 KEY_FASTFORWARD
0x2b9115b7 KEY_PREVIOUS
0x2b9715b7 KEY_STOP
0x28a115b7 KEY_ESC
0x2a9315b7 KEY_SPACE
0x28b715b7 KEY_COMPOSE
0x688481b7 BTN_RIGHT
0x28a195b7 KEY_ENTER
0x688301b7 BTN_MOUSE
0x2b8195b7 KEY_CONTEXT_MENU
0x1008000 KEY_UP
0x100007f KEY_RIGHT
0x1007f00 KEY_DOWN
0x1000080 KEY_LEFT
0x2bb715b7 KEY_ESC
0x29b715b7 KEY_DASHBOARD
0x2ab195b7 KEY_MEDIA
0x299395b7 KEY_EJECTCLOSECD
0x2a9395b7 KEY_CYCLEWINDOWS
0x2b9595b7 KEY_MUTE
0x28a395b7 KEY_VOLUMEUP
0x28a595b7 KEY_VOLUMEDOWN
0x289395b7 KEY_CHANNELUP
0x288795b7 KEY_CHANNELDOWN
0x2b8395b7 KEY_TIME
0x28b595b7 KEY_NUMERIC_1
0x2bb195b7 KEY_NUMERIC_2
0x28b195b7 KEY_NUMERIC_3
0x2a8595b7 KEY_NUMERIC_4
0x299595b7 KEY_NUMERIC_5
0x2aa595b7 KEY_NUMERIC_6
0x2b9395b7 KEY_NUMERIC_7
0x2a8515b7 KEY_NUMERIC_8
0x2aa115b7 KEY_NUMERIC_9
0x28b515b7 KEY_NUMERIC_STAR
0x2ba595b7 KEY_NUMERIC_0
0x29a115b7 KEY_NUMERIC_POUND
0x2b8515b7 KEY_RED
0x299195b7 KEY_GREEN
0x2ba115b7 KEY_BLUE
0x28a515b7 KEY_YELLOW
0x288515b7 KEY_BOOKMARKS
0x2ab715b7 KEY_CAMERA
0x29a595b7 KEY_ZOOM
0x2aa395b7 KEY_SCREEN
0x29a395b7 KEY_DVD
0x2ba395b7 KEY_MENU
0x298595b7 KEY_SUBTITLE
0x2b8595b7 KEY_LANGUAGE
Paste all that into it and save it
then run ir-keytable -w /etc/rc_keymaps/imon-pad
that will write the configuration to the keytable, and if you run irw or ir-keytable -t pressing a button on the remote should cause something to appear on screen.
Note ... this is still a work in progress for me ... as not all the remote buttons work as they used to, but I figure helping you get to the point I'm at is better than nothing