View Full Version : Navigation problem with Streamzap remote
averylinden
2007-10-12, 21:05
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!
Can you post a copy of your lircmap.xml file?
averylinden
2007-10-12, 23:43
The file is below - I added my streamzap at the end.
Thanks...
<!-- 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>>></forward>
<reverse><<</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>>>|</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>
averylinden
2007-10-14, 17:31
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.
Redsandro
2009-02-23, 03:36
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. :)
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. :)
selfnote:
file:///usr/share/xbmc/system/Lircmap.xml
averylinden
2009-03-25, 19:54
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 :)
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!
averylinden
2009-03-31, 21:18
Here's my working /etc/lirc/hardware.conf. Hope it helps...
# /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=""
Thanks for the info, but still no joy in mudville...
How is your xorg.conf file set?
Thanks for the help!
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!
Kadafi69
2009-08-18, 13:15
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 :( 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?
Redsandro
2009-11-04, 23:36
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:
sudo dpkg-reconfigure lirc
Make the following choices:
Remote control configuration:
Streamzap PC Remote
IR rransmitter:
USB-UIRT2 : Direct TV Receiver