Difference between revisions of "Snapstream Firefly"
Line 23: | Line 23: | ||
=== Associated Software === | === Associated Software === | ||
Lirc: http://www.lirc.org/ | Lirc: http://www.lirc.org/ | ||
+ | |||
+ | |||
+ | === Installation guides for Fedora Core(using atilibusb driver) ========== | ||
+ | |||
+ | 1. As of now, the atilibusb driver appears to be a bit more sensitive than the older driver and generates more events. I've adjusted the response time by increasing the min_repeat in the lircd.conf and adjusting the repeat in the lircrc. Adjust to your own sensitivity or irrecord your own file. | ||
+ | |||
+ | 2. Set your LIRC configuration options...(located in /etc/sysconfig) to | ||
+ | |||
+ | <pre><nowiki> | ||
+ | LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd --pidfile /var/run/lircd.pid" | ||
+ | </nowiki></pre> | ||
+ | |||
+ | 3. With the below lircd.conf installed in /etc, check your results using irw, then install the lircrc into your user directory and try. | ||
+ | |||
+ | Notes: Looking at the earlier work, it is noted that the Snapstream Firefly sometimes generates extra keycodes. Will be regenerating the file to take this into account and posted an edited version at a future date. | ||
+ | |||
+ | === lircd.conf (working fedora core with atilibusb driver) === | ||
+ | |||
+ | <pre><nowiki> | ||
+ | # Please make this file available to others | ||
+ | # by sending it to <lirc@bartelmus.de> | ||
+ | # | ||
+ | # this config file was automatically generated | ||
+ | # using lirc-0.8.4a(atilibusb) on Wed Nov 19 17:36:16 2008 | ||
+ | # | ||
+ | # contributed by disafan@aim.com | ||
+ | # | ||
+ | # brand: SnapStream Firefly lircd.conf | ||
+ | # model no. of remote control: | ||
+ | # devices being controlled by this remote: | ||
+ | # | ||
+ | |||
+ | begin remote | ||
+ | |||
+ | name lircd.conf | ||
+ | bits 16 | ||
+ | eps 30 | ||
+ | aeps 100 | ||
+ | |||
+ | one 0 0 | ||
+ | zero 0 0 | ||
+ | pre_data_bits 8 | ||
+ | pre_data 0x14 | ||
+ | post_data_bits 16 | ||
+ | post_data 0x0 | ||
+ | gap 139992 | ||
+ | min_repeat 4 | ||
+ | toggle_bit_mask 0x80800000 | ||
+ | |||
+ | begin codes | ||
+ | MAXI 0x01AC | ||
+ | CLOSE 0x5702 | ||
+ | 1 0xE28D | ||
+ | 2 0x630E | ||
+ | 3 0xE48F | ||
+ | 4 0x6510 | ||
+ | 5 0xE691 | ||
+ | 6 0x6712 | ||
+ | 7 0xE893 | ||
+ | 8 0x6914 | ||
+ | 9 0xEA95 | ||
+ | 0 0x6C17 | ||
+ | BACK 0xEB96 | ||
+ | ENT 0xDA31 | ||
+ | VOL+ 0xDE89 | ||
+ | VOL- 0x5D08 | ||
+ | MUTE 0xDF8A | ||
+ | FIREFLY 0x5500 | ||
+ | CH+ 0xE08B | ||
+ | CH- 0x610C | ||
+ | INFO 0x03AE | ||
+ | OPTION 0x842F | ||
+ | UP 0xEF9A | ||
+ | LEFT 0x721D | ||
+ | DOWN 0xF7A2 | ||
+ | RIGHT 0x741F | ||
+ | OK 0xF39E | ||
+ | MENU 0x711C | ||
+ | EXIT 0xF5A0 | ||
+ | REC 0x7C27 | ||
+ | PLAY 0xFAA5 | ||
+ | STOP 0x7D28 | ||
+ | REW 0xF9A4 | ||
+ | FWD 0x7B26 | ||
+ | PREV 0x00AB | ||
+ | PAUSE 0x7E29 | ||
+ | NEXT 0xFFAA | ||
+ | MUSIC 0x5B06 | ||
+ | PHOTOS 0xDA85 | ||
+ | DVD 0x5104 | ||
+ | TV 0xD883 | ||
+ | VIDEO 0x5C07 | ||
+ | HELP 0xD681 | ||
+ | MOUSE 0x822D | ||
+ | A 0xEE99 | ||
+ | B 0x701B | ||
+ | C 0xF6A1 | ||
+ | D 0x7823 | ||
+ | end codes | ||
+ | |||
+ | end remote | ||
+ | |||
+ | </nowiki></pre> | ||
=== Installation guides Fedora Core(Deprecated as of Fedora 10 or Fedora 9 with kernel>=2.6.27)=== | === Installation guides Fedora Core(Deprecated as of Fedora 10 or Fedora 9 with kernel>=2.6.27)=== | ||
Credit for firefly installation goes to FedoraFitz in this thread: http://www.fedoraforum.org/forum/showthread.php?p=443661 | Credit for firefly installation goes to FedoraFitz in this thread: http://www.fedoraforum.org/forum/showthread.php?p=443661 | ||
− | Here are the directions for setting up the Snapstream Firefly Remote with lirc using Fedora Core | + | Here are the directions for setting up the Snapstream Firefly Remote with lirc using Fedora Core using lirc_atiusb driver |
1. Plug in the USB reciever<br> | 1. Plug in the USB reciever<br> | ||
Line 43: | Line 146: | ||
10. For MythTV users Make your /home/username/.mythtv/lircrc file (listed below)<br> | 10. For MythTV users Make your /home/username/.mythtv/lircrc file (listed below)<br> | ||
11. If this does not work for you I suggest using irrecord and create your own lircd.conf file. Remember to program each button twice to get the alternating key codes<br> | 11. If this does not work for you I suggest using irrecord and create your own lircd.conf file. Remember to program each button twice to get the alternating key codes<br> | ||
+ | |||
=== lircd.conf (working fedora core with lirc_atiusb driver) === | === lircd.conf (working fedora core with lirc_atiusb driver) === | ||
Line 66: | Line 170: | ||
eps 30 | eps 30 | ||
aeps 100 | aeps 100 | ||
− | |||
one 0 0 | one 0 0 | ||
zero 0 0 | zero 0 0 |
Revision as of 16:29, 23 November 2008
Contents
- 1 Snapstream Firefly Remote (RF, USB, full size)
- 1.1 Description
- 1.2 Issues and Problems
- 1.3 Associated Software
- 1.4 Installation guides for Fedora Core(using atilibusb driver) =======
- 1.5 lircd.conf (working fedora core with atilibusb driver)
- 1.6 Installation guides Fedora Core(Deprecated as of Fedora 10 or Fedora 9 with kernel>=2.6.27)
- 1.7 lircd.conf (working fedora core with lirc_atiusb driver)
- 1.8 lircrc (edited to use all of firefly buttons, tested with Fedora 7)
Snapstream Firefly Remote (RF, USB, full size)
Vendors Support Website: http://www.snapstream.com/support/firefly/default.asp
Support Status: USB RF Receiver Supported
There are two version of this remote. The original full size rf firefly remote and the new Snapstream firefly mini remote that is IR based. This guide is for the rf version.
Description
USB Remote intended for Media Center PCs
On a personal note I was very impressed with this remote. Line of sight is a non-issue. I did some testing and the remote can control my frontend through 3 walls and a ceiling with no problem. Instant responsiveness without any missed button presses and the layout/feel of the remote is excellent. Plenty of extra buttons to go around is also a plus.
Issues and Problems
This works as of Lirc 8.0 using the lirc module: "lirc_atiusb" This guide works for fedora core 4 and before, but for fedora core 5 it is modified: http://www.fedoraforum.org/forum/showthread.php?p=443661
Note: Effective Kernel 2.6.27 and higher - The module lirc_atiusb has been deprecated. You must use the userspace driver atilibusb instead.
Associated Software
Lirc: http://www.lirc.org/
Installation guides for Fedora Core(using atilibusb driver) =======
1. As of now, the atilibusb driver appears to be a bit more sensitive than the older driver and generates more events. I've adjusted the response time by increasing the min_repeat in the lircd.conf and adjusting the repeat in the lircrc. Adjust to your own sensitivity or irrecord your own file.
2. Set your LIRC configuration options...(located in /etc/sysconfig) to
LIRCD_OPTIONS="--driver=atilibusb --output=/dev/lircd --pidfile /var/run/lircd.pid"
3. With the below lircd.conf installed in /etc, check your results using irw, then install the lircrc into your user directory and try.
Notes: Looking at the earlier work, it is noted that the Snapstream Firefly sometimes generates extra keycodes. Will be regenerating the file to take this into account and posted an edited version at a future date.
lircd.conf (working fedora core with atilibusb driver)
# Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.8.4a(atilibusb) on Wed Nov 19 17:36:16 2008 # # contributed by disafan@aim.com # # brand: SnapStream Firefly lircd.conf # model no. of remote control: # devices being controlled by this remote: # begin remote name lircd.conf bits 16 eps 30 aeps 100 one 0 0 zero 0 0 pre_data_bits 8 pre_data 0x14 post_data_bits 16 post_data 0x0 gap 139992 min_repeat 4 toggle_bit_mask 0x80800000 begin codes MAXI 0x01AC CLOSE 0x5702 1 0xE28D 2 0x630E 3 0xE48F 4 0x6510 5 0xE691 6 0x6712 7 0xE893 8 0x6914 9 0xEA95 0 0x6C17 BACK 0xEB96 ENT 0xDA31 VOL+ 0xDE89 VOL- 0x5D08 MUTE 0xDF8A FIREFLY 0x5500 CH+ 0xE08B CH- 0x610C INFO 0x03AE OPTION 0x842F UP 0xEF9A LEFT 0x721D DOWN 0xF7A2 RIGHT 0x741F OK 0xF39E MENU 0x711C EXIT 0xF5A0 REC 0x7C27 PLAY 0xFAA5 STOP 0x7D28 REW 0xF9A4 FWD 0x7B26 PREV 0x00AB PAUSE 0x7E29 NEXT 0xFFAA MUSIC 0x5B06 PHOTOS 0xDA85 DVD 0x5104 TV 0xD883 VIDEO 0x5C07 HELP 0xD681 MOUSE 0x822D A 0xEE99 B 0x701B C 0xF6A1 D 0x7823 end codes end remote
Installation guides Fedora Core(Deprecated as of Fedora 10 or Fedora 9 with kernel>=2.6.27)
Credit for firefly installation goes to FedoraFitz in this thread: http://www.fedoraforum.org/forum/showthread.php?p=443661
Here are the directions for setting up the Snapstream Firefly Remote with lirc using Fedora Core using lirc_atiusb driver
1. Plug in the USB reciever
2. Type in "lsmod"
3. You should see a module called "lirc_atiusb" this actually the module for the ATI USB Wonder remote, but we'll use it anyway
4. (fedora core 4). Add these lines to your /etc/modprobe.conf (for fedora core 4 and before only!)
alias char-major-61 lirc_atiusb
alias lirc_dev lirc_atiusb
5. (fedora core 5) Add this line to /etc/rc.local
/sbin/modprobe lirc_atiusb
6. Please look below and copy the contents of my lircd.conf config file to /etc/lircd.conf
7. You will notice that each button has two entries, this is because the firefly remote alternates between key codes everytime you press a button, so when I first used irrecord to record the buttons and had my lircd.conf file set up it would only work every other time I pushed a button. So I re-ran irrecord for my remote and made two entries for each button.
8. start the lircd daemon
9. Run "irw" and press buttons on your remote you should see output for each button.
10. For MythTV users Make your /home/username/.mythtv/lircrc file (listed below)
11. If this does not work for you I suggest using irrecord and create your own lircd.conf file. Remember to program each button twice to get the alternating key codes
lircd.conf (working fedora core with lirc_atiusb driver)
# Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.7.0(lirc_atiusb) on Fri Mar 11 08:51:45 2005 # # contributed by # # brand: Snapstream Firefly Remote # model no. of remote control: # devices being controlled by this remote: # begin remote name Snapstream Firefly bits 40 eps 30 aeps 100 one 0 0 zero 0 0 gap 219964 toggle_bit 0 begin codes MAXI 0x0000001481AC0000 MAXI 0x00000014012C0000 CLOSE 0x00000014D7020000 CLOSE 0x0000001457820000 1 0x00000014628D0000 1 0x00000014E20D0000 2 0x00000014E30E0000 2 0x00000014638E0000 3 0x00000014648F0000 3 0x00000014E40F0000 4 0x00000014E5100000 4 0x0000001465900000 5 0x0000001466910000 5 0x00000014E6110000 6 0x00000014E7120000 6 0x0000001467920000 7 0x0000001468930000 7 0x00000014E8130000 8 0x00000014E9140000 8 0x0000001469940000 9 0x000000146A950000 9 0x00000014EA150000 0 0x00000014EC170000 0 0x000000146C970000 BACK 0x000000146B960000 BACK 0x00000014EB160000 ENT 0x00000014ED180000 ENT 0x000000146D980000 VOL+ 0x000000145E890000 VOL+ 0x00000014DE090000 VOL- 0x000000145D880000 VOL- 0x00000014DD080000 MUTE 0x000000145F8A0000 MUTE 0x00000014DF0A0000 FIREFLY 0x0000001455800000 FIREFLY 0x00000014D5000000 CH+ 0x00000014608B0000 CH+ 0x00000014E00B0000 CH- 0x00000014618C0000 CH- 0x00000014E10C0000 INFO 0x0000001483AE0000 INFO 0x00000014032E0000 OPTION 0x0000001484AF0000 OPTION 0x00000014042F0000 UP 0x000000146F9A0000 UP 0x00000014EF1A0000 LEFT 0x00000014729D0000 LEFT 0x00000014F21D0000 DOWN 0x0000001477A20000 DOWN 0x00000014F7220000 RIGHT 0x00000014749F0000 RIGHT 0x00000014F41F0000 OK 0x00000014739E0000 OK 0x00000014F31E0000 MENU 0x00000014719C0000 MENU 0x00000014F11C0000 EXIT 0x0000001475A00000 EXIT 0x00000014F5200000 REC 0x00000014FC270000 REC 0x000000147CA70000 PLAY 0x00000014FA250000 PLAY 0x000000147AA50000 STOP 0x00000014FD280000 STOP 0x000000147DA80000 REW 0x00000014F9240000 REW 0x0000001479A40000 FWD 0x00000014FB260000 FWD 0x000000147BA60000 PREV 0x00000014002B0000 PREV 0x0000001480AB0000 PAUSE 0x00000014FE290000 PAUSE 0x000000147EA90000 NEXT 0x00000014FF2A0000 NEXT 0x000000147FAA0000 MUSIC 0x00000014DB060000 MUSIC 0x000000145B860000 PHOTOS 0x00000014DA050000 PHOTOS 0x000000145A850000 DVD 0x00000014D9040000 DVD 0x0000001459840000 TV 0x00000014D8030000 TV 0x0000001458830000 VIDEO 0x00000014DC070000 VIDEO 0x000000145C870000 HELP 0x00000014D6010000 HELP 0x0000001456810000 MOUSE 0x00000014022D0000 MOUSE 0x0000001482AD0000 A 0x00000014EE190000 A 0x000000146E990000 B 0x00000014F01B0000 B 0x00000014709B0000 C 0x00000014F6210000 C 0x0000001476A10000 D 0x00000014F8230000 D 0x0000001478A30000 end codes end remote
lircrc (edited to use all of firefly buttons, tested with Fedora 7)
# ~/.mythtv/lircrc # # MythTV native LIRC config file for # the new grey Hauppauge remote # # Modified from Jarod Wilson's which came from Jeff Campbell's # By Brad Templeton # # Modified again to use the Firefly remotes unique buttons by Ryan Schmitz # # # Here we have the jump point commands. They only work if you have # defined function keys for these jump points. # # You can set the jump point commands in Mythweb under Settings > Key Bindings as follows: # F8 Main Menu # F3 Program Guide # F5 TV Recording Playback # F7 Play DVD # F6 MythGallary # F4 Play Music # F2 MythVideo begin prog = mythtv button = FIREFLY repeat = 3 config = F8 end begin prog = mythtv button = TV repeat = 3 config = F5 end begin prog = mythtv button = VIDEO repeat = 3 config = F2 end begin prog = mythtv button = MUSIC repeat = 3 config = F4 end begin prog = mythtv button = PHOTOS repeat = 3 config = F end begin prog = mythtv button = DVD repeat = 3 config = F7 end begin prog = mythtv button = HELP repeat = 3 config = F1 end begin prog = mythtv button = UP repeat = 3 config = Up end begin prog = mythtv button = DOWN repeat = 3 config = Down end begin prog = mythtv button = LEFT repeat = 3 config = Left end begin prog = mythtv button = RIGHT repeat = 3 config = Right end # Channel Up begin prog = mythtv button = CH+ repeat = 3 config = Up end # Channel Down begin prog = mythtv button = CH- repeat = 3 config = Down end # OK/Select begin prog = mythtv button = OK config = Space end # OK/Select begin prog = mythtv button = ENT config = Space end # Play begin prog = mythtv button = Play config = Return end # Stop begin prog = mythtv button = Stop config = I end # Escape/Exit/Back begin prog = mythtv button = BACK config = Esc end # Power Off/Exit begin prog = mythtv button = CLOSE config = Esc end # Escape/Exit/Back begin prog = mythtv button = EXIT config = Esc end # Pause begin prog = mythtv button = Pause repeat = 3 config = P end # Mute begin prog = mythtv button = Mute repeat = 3 config = | end # Fast forward (30 sec default) begin prog = mythtv button = REW repeat = 3 config = PgUp end # Rewind (10 sec default) begin prog = mythtv button = FWD repeat = 3 config = PgDown end # Skip forward (10 min default) begin prog = mythtv button = NEXT repeat = 3 config = End end # Skip backward (10 min default) begin prog = mythtv button = PREV repeat = 3 config = Home end # Record begin prog = mythtv button = REC repeat = 3 config = R end # Delete begin prog = mythtv button = A repeat = 3 config = D end # Decrease play speed begin prog = mythtv button = B repeat = 3 config = J end # double speed watch begin prog = mythtv button = C repeat = 3 config = J end # Bring up Time stretch begin prog = mythtv button = D repeat = 3 config = Y end change tuners begin prog = mythtv button = OPTION repeat = 3 config = Y end # Display EPG while in live TV, # View selected show while in EPG begin prog = mythtv button = MENU repeat = 3 config = M end # Scroll up begin prog = mythtv button = VOL+ repeat = 3 config = F11 end # Scroll down begin prog = mythtv button = VOL- repeat = 3 config = F10 end # Bring up OSD info begin prog = mythtv button = INFO repeat = 3 config = I end # Change display aspect ratio begin prog = mythtv button = CH- repeat = 3 config = W end # Numbers 0-9 begin prog = mythtv button = 0 repeat = 3 config = 0 end begin prog = mythtv button = 1 repeat = 3 config = 1 end begin prog = mythtv button = 2 repeat = 3 config = 2 end begin prog = mythtv button = 3 repeat = 3 config = 3 end begin prog = mythtv button = 4 repeat = 3 config = 4 end begin prog = mythtv button = 5 repeat = 3 config = 5 end begin prog = mythtv button = 6 repeat = 3 config = 6 end begin prog = mythtv button = 7 repeat = 3 config = 7 end begin prog = mythtv button = 8 repeat = 3 config = 8 end begin prog = mythtv button = 9 repeat = 3 config = 9 end ### MPlayer lirc setup # Show OSD begin prog = mplayer button = MENU repeat = 3 config = osd end # Pause playback begin prog = mplayer button = PAUSE repeat = 3 config = pause end # Skip ahead a minute if playing # If paused, resume playing begin prog = mplayer button = PLAY repeat = 3 config = seek +1 end # Stop playback and exit begin prog = mplayer button = Back repeat = 3 config = quit end # Stop playback and exit begin prog = mplayer button = EXIT repeat = 3 config = quit end # Stop playback and exit begin prog = mplayer button = CLOSE repeat = 3 config = quit end # Mute begin prog = mplayer button = MUTE repeat = 3 config = mute end # Seek back 10 seconds begin prog = mplayer button = LEFT repeat = 3 config = seek -7 end # Seek forward 30 seconds begin prog = mplayer button = RIGHT repeat = 3 config = seek +30 end # Seek forward 10 minutes begin prog = mplayer button = NEXT repeat = 3 config = seek +600 end # Seek backward 10 minutes begin prog = mplayer button = PREV repeat = 3 config = seek -600 end # Toggle full-screen begin prog = mplayer button = OPTION repeat = 3 config = vo_fullscreen end # Toggle full-screen begin prog = mplayer button = MAXI repeat = 3 config = vo_fullscreen end ### Xine lirc setup begin prog = xine button = PLAY repeat = 3 config = Play end begin prog = xine button = STOP repeat = 3 config = Stop end begin prog = xine button = BACK repeat = 3 config = Quit end begin prog = xine button = EXIT repeat = 3 config = Quit end begin prog = xine button = CLOSE repeat = 3 config = Quit end begin prog = xine button = PAUSE repeat = 3 config = Pause end begin prog = xine button = UP repeat = 3 config = EventUp end begin prog = xine button = DOWN repeat = 3 config = EventDown end begin prog = xine button = LEFT repeat = 3 config = EventLeft end begin prog = xine button = RIGHT repeat = 3 config = EventRight end begin prog = xine button = OK repeat = 3 config = EventSelect end begin prog = xine button = ENT repeat = 3 config = EventSelect end begin prog = xine button = OPTION repeat = 3 config = Menu end begin prog = xine button = FFW repeat = 3 #config = SpeedFaster config = SeekRelative+60 end begin prog = xine button = REW repeat = 3 #config = SpeedSlower config = SeekRelative-60 end begin prog = xine button = VOL+ repeat = 3 config = Volume+ end begin prog = xine button = VOL- repeat = 3 config = Volume- end begin prog = xine button = MUTE repeat = 3 config = Mute end begin prog = xine button = MENU repeat = 3 config = RootMenu end begin prog = xine button = NEXT repeat = 3 config = EventNext end begin prog = xine button = PREV repeat = 3 config = EventPrior end begin prog = xine button = INFO repeat = 3 config = OSDStreamInfos end