Hama Mce Remote on Ubuntu Minimal
#1
Hi,

can someone help me with my Hama MCE remote? I pluged it on and some of the keys worked fine. Of course I wanted to have all keys working and found that How-To:
http://wiki.xbmc.org/index.php?title=HOW...for_Ubuntu

As I have exactly that remote I thought it would be easy to do but now nothings working :-(

After puting irw and pressing one button i get an Output:

Code:
root@audio:~# irw
67 0 KEY_UP /dev/input/irremote0
67 0 KEY_UP /dev/input/irremote0
67 0 KEY_UP /dev/input/irremote0
67 0 KEY_UP /dev/input/irremote0
6c 0 KEY_DOWN /dev/input/irremote0
6c 0 KEY_DOWN /dev/input/irremote0
69 0 KEY_LEFT /dev/input/irremote0
69 0 KEY_LEFT /dev/input/irremote0
6a 0 KEY_RIGHT /dev/input/irremote0
6a 0 KEY_RIGHT /dev/input/irremote0

So in general it should work as this is exactly the output described in the How-To

I added a Lircmap.xml under [User]/.xbmc/userdata

Code:
<lircmap>
      <remote device="/dev/input/irremote1">
          <start>KEY_HOMEPAGE</start>
          <power>KEY_SLEEP</power>
          <skipplus>KEY_NEXTSONG</skipplus>
          <skipminus>KEY_PREVIOUSSONG</skipminus>
          <pause>KEY_PLAYPAUSE</pause>
          <stop>KEY_STOPCD</stop>
          <info>BTN_RIGHT</info>
          <title>BTN_LEFT</title>
          <volumeplus>KEY_VOLUMEUP</volumeplus>
          <volumeminus>KEY_VOLUMEDOWN</volumeminus>
          <mute>KEY_MIN_INTERESTING</mute>
      </remote>
      <remote device="/dev/input/irremote0">
          <myTV>CTRL_SHIFT_KEY_T</myTV>
          <mymusic>CTRL_KEY_M</mymusic>
          <mypictures>CTRL_KEY_I</mypictures>
          <myvideo>CTRL_KEY_E</myvideo>
          <reverse>CTRL_SHIFT_KEY_B</reverse>
          <forward>CTRL_SHIFT_KEY_F</forward>
          <menu>CTRL_SHIFT_KEY_M</menu>
          <record>CTRL_KEY_R</record>
          <back>KEY_BACKSPACE</back>
          <left>KEY_LEFT</left>
          <right>KEY_RIGHT</right>
          <up>KEY_UP</up>
          <down>KEY_DOWN</down>
          <select>KEY_ENTER</select>
          <pageplus>KEY_PAGEUP</pageplus>
          <pageminus>KEY_PAGEDOWN</pageminus>
          <one>KEY_KP1</one>
          <two>KEY_KP2</two>
          <three>KEY_KP3</three>
          <four>KEY_KP4</four>
          <five>KEY_KP5</five>
          <six>KEY_KP6</six>
          <seven>KEY_KP7</seven>
          <eight>KEY_KP8</eight>
          <nine>KEY_KP9</nine>
          <zero>KEY_KP0</zero>
          <display>KEY_KPASTERISK</display>
          <clear>KEY_ESC</clear>
          <eject>ALT_META_KEY_ENTER</eject>
      </remote>
</lircmap

Then I restarted the system and nothings working. Even not the keys working at the beginning. Does anybody have an idea what this could be.

This is my Conf: /etc/lirc/hardware.conf

Code:
# /etc/lirc/hardware.conf
#
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Disable kernel support.
#Typically, lirc will disable in-kernel support for ir devices in order to
#handle them internally.  Set to false to prevent lirc from disabling this
#in-kernel support.
#DISABLE_KERNEL_SUPPORT="true"

#Enable lircd
START_LIRCD="false"

#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=""

This is /etc/lirc/lircd.conf
Code:
#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.

and this is /etc/default/inputlirc

Code:
# Options to be passed to inputlirc.
EVENTS="/dev/input/irremote0 /dev/input/irremote1"
OPTIONS="-g -m 0 -c"

Thanks a lot

BR Alex
Reply

Logout Mark Read Team Forum Stats Members Help
Hama Mce Remote on Ubuntu Minimal0