2011-04-12, 22:06
simply use my config files!
I have to use no other USB device while booting on my HTPC!
Does anybody know how to set the KeyMode to default. My Remote is always MouseMode so i have to press the key above the joystick once...
1. stop lirc:
sudo /etc/init.d/lirc stop
then
etc/lirc/hardware.conf
/etc/lirc/lircd.conf
and .xbmc/userdata/Lircmap.xml
I have to use no other USB device while booting on my HTPC!
Does anybody know how to set the KeyMode to default. My Remote is always MouseMode so i have to press the key above the joystick once...
1. stop lirc:
sudo /etc/init.d/lirc stop
then
etc/lirc/hardware.conf
Quote:# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="devinput/event4"
REMOTE_MODULES="lirc_dev"
REMOTE_DRIVER="devinput"
#REMOTE_DEVICE="/dev/lirc0"
REMOTE_DEVICE="/dev/input/event2"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
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=""
/etc/lirc/lircd.conf
Quote:#This configuration has been automatically generated via the Ubuntu LIRC
#package maintainer scripts.
#
#It includes the default configuration for the remote and/or transmitter
#that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration via additional
#include directives or below the existing Ubuntu include directives from
#your selected remote and/or transmitter. Configuration for the
#Soundgraph iMON PAD IR/VFD remote:
include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
and .xbmc/userdata/Lircmap.xml
Quote:<lircmap>
<remote device="devinput">
<power>KEY_POWER</power>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<!--SlowMotion-->
<reverse>KEY_REWIND</reverse>
<pause>KEY_PAUSE</pause>
<forward>KEY_FASTFORWARD</forward>
<skipminus>KEY_PREVIOUS</skipminus>
<stop>KEY_STOP</stop>
<skipplus>KEY_NEXT</skipplus>
<back>KEY_BACKSPACE</back>
<select>KEY_ZOOM</select>
<menu>KEY_CONTEXT_MENU</menu>
<title>KEY_COMPOSE</title>
<!--LeftClick
RightClick-->
<select>KEY_ENTER</select>
<down>KEY_DOWN</down>
<left>KEY_LEFT</left>
<up>KEY_UP</up>
<right>KEY_RIGHT</right>
<clear>KEY_ESC</clear>
<obc1>KEY_DASHBOARD</obc1>
<!--AppLauncher-->
<info>KEY_PROG1</info>
<!--TaskSwitcher-->
<mute>KEY_MUTE</mute>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<channelplus>KEY_CHANNELUP</channelplus>
<channelminus>KEY_CHANNELDOWN</channelminus>
<!--Timer-->
<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>
<star>KEY_NUMERIC_STAR</star>
<zero>KEY_NUMERIC_0</zero>
<hash>KEY_NUMERIC_POUND</hash>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mypictures>KEY_CAMERA</mypictures>
<myTV>KEY_TV</myTV>
<!--Bookmark
Thumbnail
AspectRatio-->
<display>KEY_SCREEN</display>
<!--MyDVD-->
<menu>KEY_MENU</menu>
<subtitle>KEY_SUBTITLE</subtitle>
<language>KEY_LANGUAGE</language>
</remote>
</lircmap>