[LIVE] Remote not working after update
#1
I installed XBMC Live to a USB drive yesterday which I got working pretty much completely to my satisfaction, including support for my Streamzap remote and USB receiver.

As I wanted to play around with some other things I created an identical setup on another USB drive, which I tested and also worked with the remote. I did an apt-get update/upgrade and updated to XBMC Pre-9.10 r24054. Since the update the remote no longer works. I have spent most of today trying to resolve it with no progress.

The lircd daemon is being started and irw works and reports keypresses as expected but there is no response when running XBMC.

Has anything changed that would lead to this?

/etc/lirc/hardware.conf
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Streamzap PC Remote"
REMOTE_MODULES="lirc_dev lirc_streamzap"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="streamzap/lircd.conf.streamzap"
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=""

/etc/lirc/lircd.conf
Code:
#
# this config file was automatically generated
# using lirc-0.7.1-CVS(serial) on Fri Feb  4 23:20:56 2005
#
# contributed by Christoph Bartelmus
#
# brand:                       Streamzap
# model no. of remote control: PC Remote
# devices being controlled by this remote: USB receiver
#

begin remote

  name  Streamzap_PC_Remote
  bits            6
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           889  889
  zero          889  889
  plead         889
  pre_data_bits   8
  pre_data       0xA3
  gap          108344
  toggle_bit      2


      begin codes
          0                        0x00
          1                        0x01
          2                        0x02
          3                        0x03
          4                        0x04
          5                        0x05
          6                        0x06
          7                        0x07
          8                        0x08
          9                        0x09
          POWER                    0x0A
          MUTE                     0x0B
          CH_UP                    0x0C
          VOL_UP                   0x0D
          CH_DOWN                  0x0E
          VOL_DOWN                 0x0F
          UP                       0x10
          LEFT                     0x11
          OK                       0x12
          RIGHT                    0x13
          DOWN                     0x14
          MENU                     0x15
          EXIT                     0x16
          PLAY                     0x17
          PAUSE                    0x18
          STOP                     0x19
          |<<                      0x1A
          >>|                      0x1B
          RECORD                   0x1C
          <<                       0x1D
          >>                       0x1E
          RED                      0x20
          GREEN                    0x21
          YELLOW                   0x22
          BLUE                     0x23
      end codes

end remote

/.xbmc/userdata/keymaps/lircmap.xml
Code:
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml  -->

<lircmap>
    <remote device="mceusb">
        <play>Play</play>
        <pause>Pause</pause>
        <stop>Stop</stop>
        <forward>Forward</forward>
        <reverse>Rewind</reverse>
        <left>Left</left>
        <right>Right</right>
        <up>Up</up>
        <down>Down</down>
        <select>OK</select>
        <pageplus>ChanUp</pageplus>
        <pageminus>ChanDown</pageminus>
        <back>Back</back>
        <menu>PreviousMenu</menu>
        <title>ContextMenu</title>
        <info>More</info>
        <skipplus>Skip</skipplus>
        <skipminus>Replay</skipminus>
        <display>FullScreen</display>
        <start>Home</start>
        <record>Record</record>
        <volumeplus>VolUp</volumeplus>
        <volumeminus>VolDown</volumeminus>
        <mute>Mute</mute>
        <power>Power</power>
        <myvideo>Videos</myvideo>
        <mymusic>Music</mymusic>
        <mypictures>Pictures</mypictures>
        <mytv>TV</mytv>      
        <one>One</one>
        <two>Two</two>
        <three>Three</three>
        <four>Four</four>
        <five>Five</five>
        <six>Six</six>
        <seven>Seven</seven>
        <eight>Eight</eight>
        <nine>Nine</nine>
        <zero>Zero</zero>
        <mytv>Red</mytv>
        <mymusic>Green</mymusic>
        <mypictures>Yellow</mypictures>      
        <myvideo>Blue</myvideo>
        <display>Teletext</display>
    </remote>
    
    <remote device="XboxDVDDongle">
        <play>PLAY</play>
        <pause>PAUSE</pause>
        <stop>STOP</stop>
        <forward>FORWARD</forward>
        <reverse>REVERSE</reverse>
        <left>LEFT</left>
        <right>RIGHT</right>
        <up>UP</up>
        <down>DOWN</down>
        <select>SELECT</select>
        <back>BACK</back>
        <menu>MENU</menu>
        <title>TITLE</title>
        <info>INFO</info>
        <skipplus>SKIP+</skipplus>
        <skipminus>SKIP-</skipminus>
        <display>DISPLAY</display>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>    
    </remote>    
    
    <remote device="PinnacleSysPCTVRemote">
        <play>Play</play>
        <pause>pause</pause>
        <stop>Stop</stop>
        <forward>FForward</forward>
        <reverse>Rewind</reverse>
        <left>Vol-Rew</left>
        <right>Vol+FF</right>
        <up>Chan+Play</up>
        <down>Chan-Stop</down>
        <pageplus>channel+</pageplus>
        <pageminus>channel-</pageminus>
        <select>middle</select>
        <back>undo</back>
        <menu>Menu</menu>
        <title>L</title>
        <info>Info</info>
        <skipplus>next</skipplus>
        <display>Fullscreen</display>
        <record>Record</record>
        <volumeplus>vol+</volumeplus>
        <volumeminus>vol-</volumeminus>
        <mute>Mute</mute>
        <power>Power</power>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
    </remote>

    <remote device="Streamzap_PC_Remote">
        <play>PLAY</play>
        <pause>PAUSE</pause>
        <stop>STOP</stop>
        <forward>&gt;&gt;</forward>
        <reverse>&lt;&lt;</reverse>
        <left>LEFT</left>
        <right>RIGHT</right>
        <up>UP</up>
        <down>DOWN</down>
        <pageplus>CH_UP</pageplus>
        <pageminus>CH_DOWN</pageminus>
        <select>OK</select>
        <back>EXIT</back>
        <menu>MENU</menu>
        <title>RED</title>
        <info>GREEN</info>
        <skipplus>&gt;&gt;|</skipplus>
        <display>YELLOW</display>
        <record>RECORD</record>
        <volumeplus>VOL_UP</volumeplus>
        <volumeminus>VOL_DOWN</volumeminus>
        <mute>MUTE</mute>
        <power>POWER</power>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
    </remote>
</lircmap>

As it irw works fine I am at a loss as to where to go. Has something changed in the later XBMC revision? If more info is needed please let me know.

Thanks for your help.
Ian
Reply
#2
Just managed to solve my problem by carrying on!

Not 100% whether it was due to the Lircmap.xml file being in the wrong location or if the one I had added my remote details to did not have capital L.

In any case, updated the /usr/share/xbmc/system/Lircmap.xml file with the required details and all is now good.
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Remote not working after update0