Snapstream Firefly

From MythTV Official Wiki
Revision as of 05:25, 27 August 2006 by Blackoper (talk | contribs) (Snapstream Firefly Remote (RF, USB, full size))

Jump to: navigation, search

Snapstream Firefly Remote (RF, USB, full size)

Snapstreamfirefly.jpg

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 mini-firefly remote that is IR based. This is for the RF version.

Description

USB Remote intended for Media Center PCs

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 fedora core 5 it is modified: http://www.fedoraforum.org/forum/showthread.php?p=443661

Associated Software

Lirc: http://www.lirc.org/

Installation guides Fedora Core

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 5

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

# 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(any) 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

  1. ~/.mythtv/lircrc
  2. MythTV native LIRC config file for
  3. the new grey Hauppauge remote
  4. Modified from Jarod Wilson's which came from Jeff Campbell's
  5. By Brad Templeton


  1. Here we have the jump point commands. They only work if you have
  2. defined function keys for these jump points. For me the most
  3. common command is the menu of recordings, so I put that on "videos"
  4. even though that's counter-intuitive

begin prog = mythtv button = TV repeat = 3 config = F5 end

begin prog = mythtv button = Videos repeat = 3 config = F2 end

  1. Not yet defined

begin prog = mythtv button = Music repeat = 3 config = Up end

  1. Given another function for now, I don't use mythgallery

begin prog = mythtv button = Pictures repeat = 3 config = F end

begin prog = mythtv button = Guide repeat = 3 config = F3 end

  1. I stuck the "todo" list on here as Myth has no radio function

begin prog = mythtv button = Radio repeat = 3 config = F4 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

  1. Channel Up

begin prog = mythtv button = Channel-UP repeat = 3 config = Up end

  1. Channel Down

begin prog = mythtv button = Channel-DOWN repeat = 3 config = Down end

  1. OK/Select

begin prog = mythtv button = Ok config = Space end

  1. Play

begin prog = mythtv button = Play config = Return end

  1. Stop

begin prog = mythtv button = Stop config = I end

  1. Escape/Exit/Back

begin prog = mythtv button = BACK config = Esc end

  1. Power Off/Exit

begin prog = mythtv button = POWER config = Esc end


  1. Pause

begin prog = mythtv button = Pause repeat = 3 config = P end

  1. Mute

begin prog = mythtv button = Mute repeat = 3 config = | end

  1. Fast forward (30 sec default)

begin prog = mythtv button = Rewind repeat = 3 config = PgUp end

  1. Rewind (10 sec default)

begin prog = mythtv button = Forward repeat = 3 config = PgDown end

  1. Skip forward (10 min default)

begin prog = mythtv button = Next repeat = 3 config = End end

  1. Skip backward (10 min default)

begin prog = mythtv button = Previous repeat = 3 config = Home end

  1. Record

begin prog = mythtv button = Record repeat = 3 config = R end

  1. Delete

begin prog = mythtv button = Red repeat = 3 config = D end

  1. Decrease play speed

begin prog = mythtv button = Green repeat = 3 config = J end

  1. Display EPG while in live TV,
  2. View selected show while in EPG

begin prog = mythtv button = Menu repeat = 3 config = M end

  1. Scroll up

begin prog = mythtv button = Volume-UP repeat = 3 config = F11 end

  1. Scroll down

begin prog = mythtv button = Volume-DOWN repeat = 3 config = F10 end

  1. Bring up OSD info

begin prog = mythtv button = Go repeat = 3 config = I end

  1. Change display aspect ratio

begin prog = mythtv button = Prev-Channel repeat = 3 config = W end

  1. double speed watch

begin prog = mythtv button = Yellow repeat = 3 config = J end

  1. change tuners
  2. begin
  3. prog = mythtv
  4. button = hash
  5. repeat = 3
  6. config = Y
  7. end
  1. Bring up Time stretch

begin prog = mythtv button = Blue repeat = 3 config = Y end

  1. 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


      1. MPlayer lirc setup
  1. Show OSD

begin prog = mplayer button = MENU repeat = 3 config = osd end

  1. Pause playback

begin prog = mplayer button = PAUSE repeat = 3 config = pause end

  1. Skip ahead a minute if playing
  2. If paused, resume playing

begin prog = mplayer button = PLAY repeat = 3 config = seek +1 end

  1. Stop playback and exit

begin prog = mplayer button = Back repeat = 3 config = quit end

  1. Mute

begin prog = mplayer button = MUTE repeat = 3 config = mute end

  1. Seek back 10 seconds

begin prog = mplayer button = LEFT repeat = 3 config = seek -7 end

  1. Seek forward 30 seconds

begin prog = mplayer button = RIGHT repeat = 3 config = seek +30 end

  1. Quit

begin prog = mplayer button = EXIT repeat = 3 config = quit end

  1. Seek forward 10 minutes

begin prog = mplayer button = SKIP repeat = 3 config = seek +600 end

  1. Seek backward 10 minutes

begin prog = mplayer button = REPLAY repeat = 3 config = seek -600 end

  1. Toggle full-screen

begin prog = mplayer button = FULL repeat = 3 config = vo_fullscreen end

      1. 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 = OFF repeat = 3 config = Quit end

begin prog = xine button = PAUSE repeat = 3 config = Pause end

begin prog = xine button = CH+ repeat = 3 config = EventUp end

begin prog = xine button = CH- repeat = 3 config = EventDown end

begin prog = xine button = VOL- repeat = 3 config = EventLeft end

begin prog = xine button = VOL+ repeat = 3 config = EventRight end

begin prog = xine button = OK repeat = 3 config = EventSelect end

begin prog = xine button = BACK repeat = 3 config = Menu end

begin prog = xine button = FFW repeat = 3

  1. config = SpeedFaster

config = SeekRelative+60 end

begin prog = xine button = REW repeat = 3

  1. config = SpeedSlower

config = SeekRelative-60 end

begin prog = xine button = FULL repeat = 3 config = Volume+ end

begin prog = xine button = BLANK 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 = SKIP repeat = 3 config = EventNext end

begin prog = xine button = REPLAY repeat = 3 config = EventPrior end

begin prog = xine button = GO repeat = 3 config = OSDStreamInfos end

begin prog = xine button = RED repeat = 3 config = Quit end

begin prog = xine button = RED repeat = 3 config = Quit end