Navigation problem with Streamzap remote
#1
First of all, thanks to all the XBMC Linux porters. My XBOX had a hardware failure some time ago and I've been missing XBMC.

In the meantime I had set up a Linux HTPC. After compiling XBMC, I edited Lircmap.xml to set up my StreamZap remote. Many of the buttons work, but the navigation arrows seem to move the XBMC cursor on screen rather than change the menu selection. Is there a setting to disable this behavior, or have I set up something wrong?

Thanks!
Reply
#2
Can you post a copy of your lircmap.xml file?
Reply
#3
The file is below - I added my streamzap at the end.

Thanks...

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>
Reply
#4
I seem to have solved my own problem. I have my remote set up to emulate the mouse in X Windows. This conflicts with XBMC's handling, so after disabling the X Windows mouse, everything is working fine.
Reply
#5
Where did you get this keymap? Made it yourself? How did you know about names like >>?

Anyway, it works for me, thanks for mentioning your keymap. Smile
And since I couldn't find it anywhere else, I hope this post won't get 'autoprune'd because now people can find it in google. Smile

selfnote:
Code:
file:///usr/share/xbmc/system/Lircmap.xml
Reply
#6
Redsandro Wrote:Where did you get this keymap? Made it yourself? How did you know about names like >>?
Yes, I made it myself with using standard lirc methods and a bit of trial and error Smile
Reply
#7
I got your file installed, but how do I get the X server to recognize the remote?

I put your changes into /usr/share/xbmc/system/Lircmap.xml
I copied /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap to /etc/lirc/lircd.conf

In /etc/lirc/hardware.conf, I commented:
#REMOTE="Microsoft MCE IR Remote"
#REMOTE_MODULES="lirc_dev lirc_mceusb2"
#REMOTE_DRIVER=""

& I added the following:
REMOTE="Streamzap_PC_Remote"
REMOTE_MODULES="lirc_dev"
REMOTE_DRIVER="default"

You mentioned that you disabled the X mouse, so in /etc/X11/xorg.conf, I commented out Mouse0:
# InputDevice "Mouse0" "CorePointer"


irw sees my remote keystrokes, but XBMC does not.
Oh yeah, I'm using XBMC Live installed on a hardrive:
(T: XBMCLiveCD)xbmc@XBMCLive:/etc/lirc$ uname -a
Linux XBMCLive 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux

Any ideas?
Thanks!
Reply
#8
Here's my working /etc/lirc/hardware.conf. Hope it helps...

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=""
Reply
#9
Thanks for the info, but still no joy in mudville...
How is your xorg.conf file set?
Thanks for the help!
Reply
#10
Ok... I went back to square one & reinstalled. Now everything works.... I'm thinking that perhaps I had a typo for Skip Plus (I may have forgotten the |)
Works great! Thanks!
Reply
#11
After much searching trying to setup my streamzap remote, I found this thread, and ive almost got my remote fully working, but my 'OK' button doesnt seem to work Sad its quite an important button! any ideas?

Edit:

infact I've found a whole bunch of buttons that dont work eg. OK, Vol up, Vol down, Exit and Menu.

When I press the power button it just shuts down XBMC, is there a way to make it bring up the shutdown menu?
Reply
#12
I updated XBMC to the Ubuntu 9.10-RC version and lost my remote abilities, so I'm happy I found this thread back again. It works now.

For other people not getting their remote to work, it's very easy because the StreamZap remote is one of the preconfigured profiles for lirc. You should get options when you install the Lirc package from the repositories, and if not, you can invoke it by entering this command:
Code:
sudo dpkg-reconfigure lirc

Make the following choices:

Remote control configuration:
Streamzap PC Remote

IR rransmitter:
USB-UIRT2 : Direct TV Receiver
Reply
#13
I switched to XBMC from MythTV and the ease of getting my Streamzap working in MythTV is putting this to shame. I'm really quite disappointed that of all the polish this has over my old system something like this is so hard to do
Reply
#14
Can someone see what I missed?
I cannot get my streamzap to work anymore. It is working on the computer with custom programs such as VLC, but XBMC just doesn't respond.

/etc/lirc/hardware.conf is probably perfect because it works in other apps:
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_SOCKET=""
REMOTE_LIRCD_CONF="streamzap/lircd.conf.streamzap"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="USB-UIRT2 : Direct TV Receiver"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER="uirt2_raw"
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF="directtv/general.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=""

/usr/share/xbmc/system/Lircmap.xml
Code:
<!-- 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="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>Guide</title>
        <info>More</info>
        <skipplus>Skip</skipplus>
        <skipminus>Replay</skipminus>
        <display>Teletext</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>
        <star>Star</star>
        <hash>Hash</hash>
        <clear>Clear</clear>
        <enter>Enter</enter>
        <red>Red</red>
        <green>Green</green>
        <yellow>Yellow</yellow>
        <blue>Blue</blue>
    </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="Microsoft_Xbox">
        <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="anysee">
        <pause>pause</pause>
        <stop>stop</stop>
        <forward>f1</forward>
        <reverse>f2</reverse>
        <left>left</left>
        <right>right</right>
        <up>chan-up</up>
        <down>chan-down</down>
        <select>ok</select>
        <back>exit</back>
        <menu>menu</menu>
        <title>play</title>
        <info>info</info>
        <skipplus>jump-fwd</skipplus>
        <skipminus>jump-back</skipminus>
        <display>size</display>
        <start>star</start>
        <record>rec</record>
        <volumeplus></volumeplus>
        <volumeminus></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>
        <red>red</red>
        <green>green</green>
        <yellow>yellow</yellow>
        <blue>blue</blue>
        <subtitle>subtitle</subtitle>
        <language>audio</language>
    </remote>
    <remote device="iMON-PAD">
        <power>Power</power>
        <record>Record</record>
        <play>Play</play>
        <reverse>Rewind</reverse>
        <pause>Pause</pause>
        <stop>Stop</stop>
        <forward>FastForward</forward>
        <left>Left</left>
        <right>Right</right>
        <up>Up</up>
        <down>Down</down>
        <select>Enter</select>
        <pageplus>Ch+</pageplus>
        <pageminus>Ch-</pageminus>
        <back>Esc</back>
        <back>Backspace</back>
        <menu>Multimon</menu>
        <title>MouseMenu</title>
        <info>SelectSpace</info>
        <skipplus>NextChapter</skipplus>
        <skipminus>PrevChapter</skipminus>
        <display>FullScreen</display>
        <start>MultiMon</start>
        <volumeplus>Vol+</volumeplus>
        <volumeminus>Vol-</volumeminus>
        <mute>Mute</mute>
        <myvideo>MyMovie</myvideo>
        <mymusic>MyMusic</mymusic>
        <mypictures>MyPhoto</mypictures>
        <mytv>MyTV</mytv>
        <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>

I've also tried moving Lircmap.xml to my home folder and replacing PinnacleSysPCTVRemote with Streamzap_PC_Remote, but xbmc just won't respond.

Ubuntu 9.10 and XBMC 1.9.11-karmik1, but I've had this problem through all updates in the past few months.
Reply
#15
I know this is an old thread, but I just got this working with a Harmony 880, and for posterity's sake, I thought I would post my solution.

I'm using Ubuntu 10.04 and xbmc on a Zotac IONITX-B-E motherboard (Atom 230) in a new build that I am configuring now. I couldn't seem to get my Harmony 880 to work well as a MCE remote, even with increasing the number of signals sent or the delay timing. It had slow response -- sometimes -- and took several keypresses for most commands. Using the info in this thread I did get my Streamzap remote working, and then added a device to my Harmony 880 as a "Media Center PC", "Streamzap" and "USBIR2". It works great.

My first step, in a terminal window (Applications * Accessories * Terminal) I reconfigured LIRC and selected the "Streamzap PC Remote" and the "USB-UIRT2 : Dish Receiver" as the transmitter (I have Dish network, the Direct TV or other cable boxes listed with "USB-UIRT2" would work) :

Code:
sudo dpkg-reconfigure lirc

I edited the .xml keymap file in the file system in /usr/share/xbmc/system/Lircmap.xml to add the settings from the first page of this thread (Redsandro, this appears to be what you are missing; this code goes before the final "</lircmap>" line in the file):

Code:
<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>

Everything worked really well, except for the "OK" button. In the Harmony setup for the "Media Center PC" device I had created, I chose "Settings" then "Customize Buttons" and verified that no command was given for the "OK" button in the Harmony database. I selected "Enter" from the drop down box, and now the "OK" button works as it should.

I mapped the "Guide" and "Info" buttons to "Menu", and a few other tweaks.
Reply

Logout Mark Read Team Forum Stats Members Help
Navigation problem with Streamzap remote0