Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > 3rd Party Projects > Projects > Mythbuntu
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Mythbuntu
Discussions for the Mythbuntu project.

 
Thread Tools Display Modes
Old December 12th, 2007   #1
williammanda
Quad Shot of Ubuntu
 
Join Date: Feb 2007
Beans: 427
Ubuntu 9.10 Karmic Koala
How to setup channel ID for Snapstream Firefly RF remote R1000

I have two Snapstream Firefly RF remotes and they both accept all channel IDs. So both remotes worked on both computers. This presented a problem since the remote in the livingroom would change channels on the computer in the living room and the bedroom. I found a link that explained how to separate the remotes thus giving each their own channel ID.

http://www.mythtv.org/pipermail/myth...er/108619.html

I didn't exactly follow the instructions to the letter so here is what I did:

1. I added this code to my /etc/modprobe.d/aliases

Code:
alias char-major-57-* esp
alias char-major-58-* esp
alias char-major-61 lirc_atiusb
options lirc_atiusb unique=1 debug=1 mask=0x0010
alias char-major-63-* kdebug
alias char-major-67-* coda
alias char-major-75-* specialix
There are two key parameters to understand:

unique
0=accept all channel IDs
1=accept only channel IDs set by the mask parameter

mask
This sets your channel ID. Example: my setup uses channel ID 5 which is mask-0x0010.
The Snapstrean Firefly RF remote has 16 channel IDs and they are as follows:
Channel ID Mask
1 0x0001
2 0x0002
3 0x0004
4 0x0008
5 0x0010
6 0x0020
7 0x0040
8 0x0080
9 0x0100
10 0x0200
11 0x0400
12 0x0800
13 0x1000
14 0x2000
15 0x4000
16 0x8000

Lastly I want to note that the debug parameter is also enabled to help identify the channel ID in the sys log. This doesn't need to be there for the remote to work but it helps to my sure your remote is setup properly. You can remove it after you have finished.

2. I setup my remote control to match the channel ID by:
Pressing and holding the firefly button until it blinks then I release the the button. When it finishes blinking and the led is on, I select (using the number buttons) the corresponding channel ID. Which in my case was channel 5. Then I press and release the firefly button to end the setup. If all was correct, you should see the led blink the number of times that equals your channel ID.

3. Re-boot your computer.

4. Open the sys log. I open it by selecting System>Administration>System log.
Select sys log and scroll down. Press any key on the remote and will see something similar to this:

Code:
Code:
Dec 12 20:07:26 AMD kernel: [  173.162661] lirc_atiusb[2]: accept channel 5
Dec 12 20:07:26 AMD kernel: [  173.184459] lirc_atiusb[2]: data received 14 ab 96 40  (ep=0x81 length=4)
Dec 12 20:07:26 AMD kernel: [  173.184464] lirc_atiusb[2]: accept channel 5
"accept channel 5" tells me that my remote control is setup for channel 5. If you get any other number, go the step for setting up your remote to the correct channel ID.

5. Stop lirc.

Code:
sudo /etc/init.d/lirc stop
Use irrecord to create a new lircd.conf file. You can not use the old one, the codes will be different.

Code:
sudo irrecord -d /dev/lirc0 lircd.conf
Then copy / move the lircd.conf file to /etc/lirc

Code:
sudo mv lircd.conf /etc/lirc
restart lirc

Code:
sudo /etc/init.d/lirc start
or reboot your computer.

6. Test out your remote control. If you need more help with lirc refer to this link:

https://help.ubuntu.com/community/Install_Lirc_Gutsy

Good Luck!

Last edited by williammanda; December 13th, 2007 at 07:52 PM..
williammanda is offline   Reply With Quote
Old December 30th, 2009   #2
santhony
A Carafe of Ubuntu
 
Join Date: Apr 2008
Beans: 86
Re: How to setup channel ID for Snapstream Firefly RF remote R1000

Does anyone have any Snapstream Firefly codes that have been programmed from irrecord?

I can't get irrecord to complete, thus I cannot use different channels on my firefly remote.... I have 4 sets of them...
santhony is offline   Reply With Quote
Old December 30th, 2009   #3
williammanda
Quad Shot of Ubuntu
 
Join Date: Feb 2007
Beans: 427
Ubuntu 9.10 Karmic Koala
Re: How to setup channel ID for Snapstream Firefly RF remote R1000

If you are referring to the lirc.conf file that is created here is a link.

http://ubuntuforums.org/showpost.php...32&postcount=5
williammanda is offline   Reply With Quote
Old December 31st, 2009   #4
santhony
A Carafe of Ubuntu
 
Join Date: Apr 2008
Beans: 86
Smile Re: How to setup channel ID for Snapstream Firefly RF remote R1000

Thanks Wilammanda!

I've finally figured out the Snapstream Firefly and setting up with different channels. I had to reverse engineer and now can tell you what the codes are for any channel and any key.

I need to post my work so no one ever again has to figure this out...

I think I'll post this in a new thread.

Anyone who needs Snapstream Firefly codes, feel free to ask me.

Thanks!!
santhony is offline   Reply With Quote

Bookmarks

Thread Tools
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 -4. The time now is 10:32 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry