XBMC
From fakedWiki
OR22V
/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf # #Chosen Remote Control REMOTE="OR22V" REMOTE_MODULES="" REMOTE_DRIVER="atilibusb" REMOTE_DEVICE="/dev/lirc0" REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf" REMOTE_LIRCD_ARGS="" #Chosen IR Transmitter TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" TRANSMITTER_LIRCD_CONF="" TRANSMITTER_LIRCD_ARGS="" #Enable lircd START_LIRCD="true" #Don't start lircmd even if there seems to be a good config file #START_LIRCMD="false" #Try to load appropriate kernel modules LOAD_MODULES="true" # Default configuration files for your hardware if any LIRCMD_CONF="" #Forcing noninteractive reconfiguration #If lirc is to be reconfigured by an external application #that doesn't have a debconf frontend available, the noninteractive #frontend can be invoked and set to parse REMOTE and TRANSMITTER #It will then populate all other variables without any user input #If you would like to configure lirc via standard methods, be sure #to leave this set to "false" FORCE_NONINTERACTIVE_RECONFIGURATION="false" START_LIRCMD="" REMOTE_SOCKET="" TRANSMITTER_SOCKET=""
/etc/lirc/lircd.conf
# Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.8.4a(atilibusb) on Tue Sep 8 23:54:34 2009 # # contributed by funnybox2006 # # brand: X10 # model no. of remote control: OR22V with RF USB Dongle # devices being controlled by this remote: # note: use atilibusb driver for this remote and set device in hardware.conf to /dev/lirc0 begin remote name OR22V bits 16 eps 30 aeps 100 one 0 0 zero 0 0 pre_data_bits 8 pre_data 0x14 post_data_bits 16 post_data 0x0 gap 139982 min_repeat 3 toggle_bit_mask 0x80800000 begin codes KEY_POWER 0xD702 KEY_RED 0x87B2 KEY_YELLOW 0x0934 KEY_GREEN 0x88B3 KEY_TEXT 0x6B96 KEY_BLUE 0x0A35 KEY_BACK 0xF520 KEY_INFO 0x84AF KEY_UP 0xEF1A KEY_LEFT 0x729D KEY_OK 0xF31E KEY_RIGHT 0xF41F KEY_DOWN 0x77A2 KEY_TIMESHIFTING 0x6D98 KEY_EPG 0x0631 KEY_DVDMENU 0xD904 KEY_LIVETV 0x719C KEY_VOLUMEUP 0xDE09 KEY_WINDOWS 0x709B KEY_CHANNELUP 0xE00B KEY_VOLUMEDOWN 0x5D88 KEY_CHANNELDOWN 0x618C KEY_MUTE 0xD500 KEY_PREVIOUS 0x76A1 KEY_NEXT 0xF823 KEY_REWIND 0x79A4 KEY_PLAY 0xFA25 KEY_FASTFORWARD 0x7BA6 KEY_RECORD 0xFC27 KEY_STOP 0x7DA8 KEY_PAUSE 0xFE29 KEY_1 0x628D KEY_2 0xE30E KEY_3 0x648F KEY_4 0xE510 KEY_5 0x6691 KEY_6 0xE712 KEY_7 0x6893 KEY_8 0xE914 KEY_9 0x6A95 KEY_* 0x8CB7 KEY_0 0xEC17 KEY_# 0x0D38 KEY_CLEAR 0x85B0 KEY_ENTER 0x0B36 end codes end remote
/etc/modprobe.d/blacklist-lirc.conf
blacklist ati_remote blacklist lirc_atiusb
Lircmap.xml
<lircmap> <remote device="OR22V"> <power>KEY_POWER</power> <mymusic>KEY_RED</mymusic> <mypictures>KEY_YELLOW</mypictures> <myvideo>KEY_GREEN</myvideo> <display>KEY_TEXT</display> <mytv>KEY_BLUE</mytv> <back>KEY_BACK</back> <info>KEY_INFO</info> <up>KEY_UP</up> <left>KEY_LEFT</left> <select>KEY_OK</select> <right>KEY_RIGHT</right> <down>KEY_DOWN</down> <title>KEY_TIMESHIFTING</title> <menu>KEY_DVDMENU</menu> <title>KEY_EPG</title> <menu>KEY_LIVETV</menu> <volumeplus>KEY_VOLUMEUP</volumeplus> <volumeminus>KEY_VOLUMEDOWN</volumeminus> <start>KEY_WINDOWS</start> <pageplus>KEY_CHANNELUP</pageplus> <pageminus>KEY_CHANNELDOWN</pageminus> <mute>KEY_MUTE</mute> <skipminus>KEY_PREVIOUS</skipminus> <skipplus>KEY_NEXT</skipplus> <record>KEY_RECORD</record> <pause>KEY_PAUSE</pause> <stop>KEY_STOP</stop> <reverse>KEY_REWIND</reverse> <play>KEY_PLAY</play> <forward>KEY_FASTFORWARD</forward> <one>KEY_1</one> <two>KEY_2</two> <three>KEY_3</three> <four>KEY_4</four> <five>KEY_5</five> <six>KEY_6</six> <seven>KEY_7</seven> <eight>KEY_8</eight> <nine>KEY_9</nine> <star>KEY_*</star> <zero>KEY_0</zero> <hash>KEY_#</hash> <clear>KEY_CLEAR</clear> <select>KEY_ENTER</select> </remote> </lircmap>