XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-10-12, 21:05   #1
averylinden
Junior Member
 
Join Date: Oct 2007
Posts: 20
averylinden is on a distinguished road
Default Navigation problem with Streamzap remote

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!
averylinden is offline   Reply With Quote
Old 2007-10-12, 21:39   #2
rrambo
Senior Member
 
Join Date: Jul 2007
Posts: 108
rrambo is on a distinguished road
Default

Can you post a copy of your lircmap.xml file?
rrambo is offline   Reply With Quote
Old 2007-10-12, 23:43   #3
averylinden
Junior Member
 
Join Date: Oct 2007
Posts: 20
averylinden is on a distinguished road
Default

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>
averylinden is offline   Reply With Quote
Old 2007-10-14, 17:31   #4
averylinden
Junior Member
 
Join Date: Oct 2007
Posts: 20
averylinden is on a distinguished road
Default

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.
averylinden is offline   Reply With Quote
Old 2009-02-23, 03:36   #5
Redsandro
Skilled Python Coder
 
Join Date: Jul 2008
Location: Netherlands
Posts: 37
Redsandro is on a distinguished road
Default

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:
Code:
file:///usr/share/xbmc/system/Lircmap.xml

Last edited by Redsandro; 2009-03-11 at 13:41.
Redsandro is offline   Reply With Quote
Old 2009-03-25, 19:54   #6
averylinden
Junior Member
 
Join Date: Oct 2007
Posts: 20
averylinden is on a distinguished road
Default

Quote:
Originally Posted by Redsandro View Post
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
averylinden is offline   Reply With Quote
Old 2009-03-27, 22:06   #7
itsroy
Junior Member
 
Join Date: Mar 2009
Posts: 4
itsroy is on a distinguished road
Default

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!
itsroy is offline   Reply With Quote
Old 2009-03-31, 21:18   #8
averylinden
Junior Member
 
Join Date: Oct 2007
Posts: 20
averylinden is on a distinguished road
Default

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=""
averylinden is offline   Reply With Quote
Old 2009-04-04, 01:07   #9
itsroy
Junior Member
 
Join Date: Mar 2009
Posts: 4
itsroy is on a distinguished road
Default

Thanks for the info, but still no joy in mudville...
How is your xorg.conf file set?
Thanks for the help!
itsroy is offline   Reply With Quote
Old 2009-04-04, 07:22   #10
itsroy
Junior Member
 
Join Date: Mar 2009
Posts: 4
itsroy is on a distinguished road
Default

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!
itsroy is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:52.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project