cat /etc/lirc/lircd.conf
begin remote
name Creative_RM820
bits 8
eps 30
aeps 100
one 0 0
zero 0 0
gap 103993
toggle_bit_mask 0x0
begin codes
KEY_DOWN 0x32
KEY_UP 0x31
KEY_LEFT 0x27
KEY_RIGHT 0x28
KEY_OK 0x30
KEY_VOLUMEUP 0x2B
KEY_VOLUMEDOWN 0x2C
KEY_MUTE 0x2A
KEY_POWER 0x29
KEY_MENU 0x1B
KEY_FASTFORWARD 0x36
KEY_REWIND 0x35
KEY_PLAYPAUSE 0x2F
KEY_SHUFFLE 0x3B
KEY_EXIT 0x1A
KEY_REDO 0x3C
end codes
end remote
$ cat ~/.xbmc/userdata/Lircmap.xml
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
<!-- -->
<!-- How to add remotes -->
<!-- <remote device="name_Lirc_calls_the_remote"> -->
<!-- -->
<!-- For the commands the layout following layout is used -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
<!-- -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml -->
<lircmap>
<remote device="Creative_RM820">
<pause>KEY_PLAYPAUSE</pause>
<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_OK</select>
<back>KEY_POWER</back>
<menu>KEY_MENU</menu>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
</remote>
</lircmap>
$ xbmc
sh: lsb_release: команда не найдена
sh: lsb_release: команда не найдена
irw сигналы ловит, но xbmc полностью игнорирует все нажатия на пульт. ЧЯДНТ?
PS: xbmc 11.0