LinHES Forums
http://forum.linhes.org/

SnapStream FireFly Question
http://forum.linhes.org/viewtopic.php?f=2&t=17899
Page 1 of 1

Author:  raz0rskyl1n3 [ Sat Feb 16, 2008 12:44 am ]
Post subject:  SnapStream FireFly Question

As in the title i have a snapstream firefly. I have a question and comment. Some of these things I am only pointing out for possible improvement

When I used the lirc-reconfig.sh script it said it didn't find, the snapstream firefly. However all the configs worked pretty much.

lsusb returns it as a "X10 Wireless Technology, Inc."

The other comment i have is that there are some minor mislabeling in the ~/.lircrc files. Mainly button names don't sync up with the /etc/lircd.conf For example FWD is labled Forward in the user conf file, same thing for rewind. I can make a list if need be there aren't too many just a few.

Now my main question is after editing, the user conf files to my liking, it no longer works, the remote no longer works. After a reboot, restart of /etc/init.d/lirc*, or restart of myth. By edit i mean a pretty much full modification of the original file. Now simply changing things like Forward to FWD, and changing the stop keys con fig doesn't pose a problem.

Running mythfrontend from the terminal, I didn't see anything i found to be outstanding. The remote also doesn't work with either mplayer or xine.

One last thought is that my minor modification is very much along the same lines just not restructured. I restructured the mythtv section to match the button order in /etc/lircd.conf. I also copy the new file to ~/.mythtv/lircrc & ~/.lircrc. Is there any other place i missed?


Code:
begin
prog = mythtv
button = CLOSE
repeat 3
config = esc
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

begin
prog = mythtv
button = BACK
repeat = 3
config = Esc
end

begin
prog = mythtv
button = ENT
repeat = 3
config = Space
end


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

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

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

begin
prog = mythtv
button = FIREFLY
repeat = 3
config = F8
end

begin
prog = mythtv
button = Play
config = Return
end

begin
prog = mythtv
button = Stop
config = esc
end

begin
prog = mythtv
button = POWER
config = Esc
end

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

begin
prog = mythtv
button = CH+
repeat = 3
config = Up
end

begin
prog = mythtv
button = CH-
repeat = 3
config = Down
end


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

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

begin
prog = mythtv
button = Ok
config = Space
end

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

begin
prog = mythtv
button = REW
repeat = 3
config = Left
end

begin
prog = mythtv
button = FWD
repeat = 3
config = Right
end

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

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

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

begin
prog = mythtv
button = MUSIC
repeat = 3
config = F4
end

begin
prog = mythtv
button = PHOTOS
repeat = 3
config = F6
end

begin
prog = mythtv
button = DVD
repeat = 3
config = F7
end

prog = mythtv
button = TV
repeat = 3
config = F12
end

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

begin
prog = mythtv
button = Help
repeat = 3
config = F1
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 = pause
end

# Stop playback and exit
begin
prog = mplayer
button = Back
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 -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = RIGHT
repeat = 3
config = seek +10
end

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

# Seek forward 10 minutes
begin
prog = mplayer
button = NEXT
repeat = 3
config = seek +60
end

# Seek backward 10 minutes
begin
prog = mplayer
button = PREV
repeat = 3
config = seek -60
end

# Toggle full-screen
begin
prog = mplayer
button = FULL
repeat = 3
config = vo_fullscreen
end

Author:  rubrboots [ Mon Apr 07, 2008 1:49 pm ]
Post subject: 

I have made custom lircrc and lircd.conf files for the firefly remote, that work very well. I was using Beyond TV before I got into Myth so I have set the remote up so that it mimics the BTV behavior. Either way all the buttons are now correct, some buttons I have left blank since I dont have a use for them, and others are assigned to certain keyboard keys that I then link to global shortcuts in Myth, (like the firefly button now opens the TV Guide).

email me if you would like my files, if I remember I will post them here as well.

rubrboots@hotmail.com

Author:  rubrboots [ Tue May 13, 2008 2:02 pm ]
Post subject: 

Here is the lircrc file I mentioned. Most buttons are intuitive, the menu button is exit or ESC. All the function keys like photo, tv and such have keyboard keys associated to them just set them up as short cuts in mythtv setup. For example I use the firefly key to open the tv guide. email me if you have any questions. Mplayer commands have also been edited, if you use FF or RW hit the PLAY button to get the play speed back to normal. I do not use xine so I have not made any changes there.

Code:

# ~/.mythtv/lircrc
#
# lircrc file for Snapstream Firefly remote
#
# 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 2007 by Josh Butler to match Snapstream Firefly remote buttons to appropriate commands.

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


# UP
begin
prog = mythtv
button = UP
repeat = 3
config = Up
end

# DOWN
begin
prog = mythtv
button = DOWN
repeat = 3
config = Down
end

# LEFT
begin
prog = mythtv
button = LEFT
repeat = 3
config = Left
end

# RIGHT
begin
prog = mythtv
button = RIGHT
repeat = 3
config = Right
end

# Channel Up
begin
prog = mythtv
button = CH+
repeat = 3
config = PgUp
end

# Channel Down
begin
prog = mythtv
button = CH-
repeat = 3
config =PgDown
end

# Volume up
begin
prog = mythtv
button = VOL+
repeat = 3
config = ]
end

# Volume down
begin
prog = mythtv
button = VOL-
repeat = 3
config = [
end

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

# OK/Select
begin
prog = mythtv
button = OK
config = Space
end

# ENTER / Return
begin
prog = mythtv
button = ENTER
repeat = 3
config = Return
end

# Play
begin
prog = mythtv
button = PLAY
config = Return
end

# Stop
begin
prog = mythtv
button = STOP
config = I
end

# BACK - Esc
begin
prog = mythtv
button = BACK
config = Esc
end

# MENU - Esc
begin
prog = mythtv
button = MENU
config = Esc
end

# EXIT - Esc
begin
prog = mythtv
button = EXIT
config = Esc
end

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

# Fast forward
begin
prog = mythtv
button = FWD
repeat = 3
config = >
end

# Rewind
begin
prog = mythtv
button = REW
repeat = 3
config = <
end

# Commercial Skip Forward
begin
prog = mythtv
button = NEXT
repeat = 3
config = Z
end

# Commercial Skip Back
begin
prog = mythtv
button = PREV
repeat = 3
config = Q
end

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

# TV
begin
prog = mythtv
button = TV
repeat = 3
config = F2
end

# VIDEO
begin
prog = mythtv
button = VIDEO
repeat = 3
config = F3
end

# MUSIC
begin
prog = mythtv
button = MUSIC
repeat = 3
config = F5
end

# PHOTOS
begin
prog = mythtv
button = PHOTOS
repeat = 3
config = F6
end

# DVD
begin
prog = mythtv
button = DVD
repeat = 3
config = F7
end

# HELP / F1
begin
prog = mythtv
button = HELP
repeat = 3
config = F1
end

# MOUSE - Double Speed Watch
begin
prog = mythtv
button = MOUSE
repeat = 3
config = J
end

# A - Toggle Captions
begin
prog = mythtv
button = A
repeat = 3
config = C
end

 B - Aspect Ratios
begin
prog = mythtv
button = B
repeat = 3
config = W
end

# C - Swap Tuners
begin
prog = mythtv
button = C
repeat = 3
config = T
end

# D - Open Edit Menu
begin
prog = mythtv
button = D
repeat = 3
config = D
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = OPTION
repeat = 3
config = M
end

# Bring up OSD info
begin
prog = mythtv
button = INFO
repeat = 3
config = I
end

# MAXI
begin
prog = mythtv
button = MAXI
repeat = 3
config = I
end

# CLOSE
begin
prog = mythtv
button = CLOSE
repeat = 3
config = I
end

# FIREFLY - TV Guide shortcut
begin
prog = mythtv
button = FIREFLY
repeat = 3
config = F12
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 = INFO
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 = speed_set 1.0
end

# Stop playback and exit
begin
prog = mplayer
button = MENU
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

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

# Seek forward 10 minutes
begin
prog = mplayer
button = CH+
repeat = 3
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = CH-
repeat = 3
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = MAXI
repeat = 3
config = vo_fullscreen
end

# Addition Start Here

# VOL+
begin
prog = mplayer
button = VOL+
repeat = 3
config = volume +5
end

# VOL-
begin
prog = mplayer
button = VOL-
#repeat = 3
config = volume -5
end

# FWD
begin
prog = mplayer
button = FWD
#repeat = 3
config = speed_incr +0.5
end

# REW
begin
prog = mplayer
button = REW
repeat = 3
config = speed_mult 0.9
end

# NEXT
begin
prog = mplayer
button = NEXT
repeat = 3
config = >
end

# PREV
begin
prog = mplayer
button = PREV
repeat = 3
config = <
end

# REC
begin
prog = mplayer
button = REC
repeat = 3
config = I
end

# FIREFLY
begin
prog = mplayer
button = FIREFLY
repeat = 3
config = c
end

# C
begin
prog = mplayer
button = C
repeat = 3
config = v
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 = EXIT
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 = 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

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


Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/