SnapStream Firefly remote working with XBMC! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: SnapStream Firefly remote working with XBMC! (/showthread.php?tid=31546) Pages:
1
2
|
SnapStream Firefly remote working with XBMC! - brw02005 - 2008-02-27 Ok here is the steps for gutsy $ sudo apt-get install lirc pick out the X10 snapstream remote $ sudo gedit /etc/lirc/lircd.conf removed everything other than the section for the Snapstream Firefly changed the name of the remote to Snapstream (as spaces are not allowed) I also edited /etc/lirc/hardware.conf and changed REMOTE="Snapstream X10 RF" to Snapstream but was told this is an unnecessary step so only do if you need it. $ sudo /etc/init.d/lirc restart $ irw test out your remote if you press keys and stuff comes up it worked now edit Lircmap.xml in /XBMC/BUILD/UserData some people may have theres referencing /XBMC/UserData edit both if not sure or check the log to which one is loading. Now change one of the remote names to Snapstream and start putting in the key listings from the irw command. What I did what change the mceremote and changed Left to LEFT and VolumeUp to VOL+ and so forth. If you want to be lazy here is my Lircmap.xml for this remote. If you have a problem with how I laid out the buttons change it (no complaining!). <!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml --> <lircmap> <remote device="Snapstream"> <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>CH+</pageplus> <pageminus>CH-</pageminus> <back>EXIT</back> <menu>MENU</menu> <title>PLAY</title> <info>INFO</info> <skipplus>NEXT</skipplus> <skipminus>PREV</skipminus> <display>MAXI</display> <start>FIREFLY</start> <record>REC</record> <volumeplus>VOL+</volumeplus> <volumeminus>Vol-</volumeminus> <mute>MUTE</mute> <power>CLOSE</power> <myvideo>VIDEO</myvideo> <mymusic>MUSIC</mymusic> <mypictures>PHOTOS</mypictures> <mytv>TV</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> <mytv>A</mytv> <mymusic>B</mymusic> <mypictures>C</mypictures> <myvideo>D</myvideo> </remote> Hope this works out for you guys let me know how it went. - brw02005 - 2008-02-27 sry quick edit forward>FORWARD</forward> <reverse>REWIND</reverse> should be forward>FWD</forward> <reverse>RWD</reverse> please feel free to submit this whole config to the SVN I don't know how. - Lowen SoDium - 2008-03-02 Thanks for this. It just so happened that I decided this morning that I was going to see if I could get this to work, and you saved me a lot of time. BTW: <volumeminus>Vol-</volumeminus> should be <volumeminus>VOL-</volumeminus> Also, is it possible to bind a key to put the computer to sleep/standby? I am not sure if XBMC supports that yet. - xmltok - 2008-03-03 what is the key that stops the 2x/4x/etc play and returns to normal speed? Revision 2 - brw02005 - 2008-03-03 Sry guys appently was in too much of a hurry posting the xml way too many errors here's another one <reverse>RWD</reverse> <reverse>REW</reverse> here's revision 2 <lircmap> <remote device="Snapstream"> <pause>PAUSE</pause> <stop>STOP</stop> <forward>FWD</forward> <reverse>REW</reverse> <left>LEFT</left> <right>RIGHT</right> <up>UP</up> <down>DOWN</down> <select>OK</select> <pageplus>CH+</pageplus> <pageminus>CH-</pageminus> <back>EXIT</back> <menu>MENU</menu> <title>PLAY</title> <info>INFO</info> <skipplus>NEXT</skipplus> <skipminus>PREV</skipminus> <display>MAXI</display> <start>FIREFLY</start> <record>REC</record> <volumeplus>VOL+</volumeplus> <volumeminus>VOL-</volumeminus> <mute>MUTE</mute> <power>CLOSE</power> <myvideo>VIDEO</myvideo> <mymusic>MUSIC</mymusic> <mypictures>PHOTOS</mypictures> <mytv>TV</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> <mytv>A</mytv> <mymusic>B</mymusic> <mypictures>C</mypictures> <myvideo>D</myvideo> </remote> xmltok in order to stop fast forwarding you hit the rewind but fix your Lircmap.xml first cause of my error. Lowen SoDium go not idea on standby I'm sure eventually they will build it into xbmc in the mean time check around for a script you can map to one of the keys. I'm sure you'll find something whether it be in this forum or the mythtv postings. - Washy - 2008-09-27 I am using XBMC with windows. Can you help me set it up with the winbloze environment? Post /etc/lirc/lircd.conf - ticklemeozmo - 2008-09-27 Can you post your lircd.conf? The Atlantis Beta 1 does not include a lircd.conf which includes other remotes than the mceremote. Thank you. - ticklemeozmo - 2008-09-27 Nevermind, I'm a dope. A number of lircd's are located "/usr/share/lircd/remote", just copy over lircd and restart with your remote. Then you'll need to edit /usr/share/xbmc/system/Lircmap.xml with the correct parameters (for the StreamZap remote, I found: http://forum.xbmc.org/showthread.php?tid=29085&highlight=streamzap) - outleradam - 2009-10-25 I am having problems with finding the file. I'm in usr/share/XBMC. I cannot find the Build dir. My remote works fine in irw I found the lircmap.xml in usr/share/xbmc/userdata I copied and pasted over the entire lirc map. XBMC is not receiving any commands. What do I need to do to get XBMC to receive commands? - outleradam - 2009-10-26 got it working. I had an extra <lircmap> in the file. Thanks for a great DIY guide mang! - outleradam - 2009-10-27 Ok, it didn't work because I did it that way, it worked because I did some other things... Here's what you do... sudo apt-get install lirc replace the /etc/lirc/lircd.conf in it's entirety with this file Code: begin remote Restart the interface by typing sudo /etc/init.d/lirc restart Verify it works by typing irw Update the codes in xbmc's keymap using this page Code: <lircmap> K, so you installed lirc, configured lirc, patched the correct keymap into lirc, then patched the keymap into xbmc. - outleradam - 2009-10-28 here is a lircd.conf file that works well with snapstream firefly. The other one works, but it has a 40 bit expectation, when it really needs 16. this one is more optimized and faster Quote:begin remote and here's the /usr/share/xbmc/system/lircmap for these keys. Quote:<remote device="Snapstream"> - outleradam - 2009-10-29 lircd.conf - outleradam - 2009-11-07 I figured i'd post this here http://wiki.xbmc.org/?title=Snapstream_Firefly - emgee11 - 2011-11-08 Hi, I hate to resurrect an old thread, but better than starting a new one I suppose. I have been successful up to, and including, irw. If I run irw I can see button press responses onscreen. However, no luck with the remote (Snapstream Firefly) operating anything in XBMC. I obtained the various files from the tar.gz file referenced here: http://wiki.xbmc.org/?title=Snapstream_Firefly I have copied Lircmap.xml in /usr/share/xbmc/system and update remote.xml and keyboard.xml located in /usr/share/xbmc/system/keymaps and rebooted the system. However, no luck within XBMC. I'm also a Linux rookie, so if you provide any commands, etc. thoroughness is appreciated and not taken as an insult Thank you! |