FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Posts
    16

    How To Install Snapstream Firefly Remote Using lirc

    Here are the directions for setting up the Snapstream Firefly Remote with lirc.

    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. Add these lines to your /etc/modprobe.conf file

    alias char-major-61 lirc_atiusb
    alias lirc_dev lirc_atiusb

    5. Please look below and copy the contents of my lircd.conf config file to /etc/lircd.conf
    6. 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.
    7. start the lircd daemon
    8. Run "irw" and press buttons on your remote you should see output for each button.
    9. For MythTV users Make your /home/username/.mythtv/lircrc file (I have not completed mine yet but when I do I will make it available)
    10. 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.

    I hope this will be of help to someone.




    # 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

  2. #2
    Join Date
    Apr 2005
    Posts
    3
    If you could post your lircrc file that would really help me out. I'm having trouble getting something that works. At first i thought the lircd.conf and lircrc files are one and the same a closer look, reveals they are not. Thanks

  3. #3
    Join Date
    Mar 2005
    Posts
    16

    Here is the lircrc file

    Here is the file that you wanted. I added the .txt extension so just take off the .txt and place it in your ~/.mythtv directory and you shoud be good to go. I have special buttons in there that I prefer so you may have to do some tinkering of you own. Good luck.
    Attached Files Attached Files

  4. #4
    Join Date
    May 2006
    Location
    NY
    Age
    35
    Posts
    117
    Okay, having some trouble, cannot get irw to run.
    Code:
    [root@BaGwa ~]# lsmod
    Module                  Size  Used by
    autofs4                55369  1
    hidp                   83265  2
    nls_utf8               35265  1
    cifs                  247201  1
    rfcomm                105313  0
    l2cap                  91585  10 hidp,rfcomm
    bluetooth             117573  5 hidp,rfcomm,l2cap
    sunrpc                195209  1
    video                  50761  0
    button                 40545  0
    battery                43337  0
    ac                     38473  0
    ipv6                  399073  16
    lp                     47633  0
    parport_pc             62953  0
    parport                74445  2 lp,parport_pc
    floppy                100617  0
    nvram                  42441  0
    snd_emu10k1_synth      40513  0
    snd_emux_synth         69313  1 snd_emu10k1_synth
    snd_seq_virmidi        41153  1 snd_emux_synth
    snd_seq_midi_emul      39617  1 snd_emux_synth
    snd_emu10k1           154565  4 snd_emu10k1_synth
    snd_rawmidi            61633  2 snd_seq_virmidi,snd_emu10k1
    8139too                61889  0
    snd_ac97_codec        135961  1 snd_emu10k1
    snd_ac97_bus           35777  1 snd_ac97_codec
    ohci1394               68377  0
    snd_seq_dummy          37061  0
    snd_seq_oss            66113  0
    snd_seq_midi_event     41025  2 snd_seq_virmidi,snd_seq_oss
    snd_seq                90465  8 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    ieee1394              392793  1 ohci1394
    snd_pcm_oss            85585  0
    sg                     68969  0
    snd_mixer_oss          50881  1 snd_pcm_oss
    8139cp                 57153  0
    r8169                  64457  0
    mii                    38849  2 8139too,8139cp
    snd_pcm               127049  4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
    ehci_hcd               66509  0
    ohci_hcd               55261  0
    snd_seq_device         43217  7 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
    snd_timer              60489  3 snd_emu10k1,snd_seq,snd_pcm
    snd_page_alloc         44753  2 snd_emu10k1,snd_pcm
    snd_util_mem           38977  2 snd_emux_synth,snd_emu10k1
    snd_hwdep              44617  2 snd_emux_synth,snd_emu10k1
    snd                    97897  18 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
    soundcore              44129  1 snd
    emu10k1_gp             37185  0
    gameport               50513  2 emu10k1_gp
    i2c_nforce2            40769  0
    i2c_core               57793  1 i2c_nforce2
    dm_snapshot            49553  0
    dm_zero                35393  0
    dm_mirror              55617  0
    dm_mod                 92433  8 dm_snapshot,dm_zero,dm_mirror
    ext3                  165329  1
    jbd                    94057  1 ext3
    sata_nv                43589  0
    sata_sil               44489  2
    libata                 94297  2 sata_nv,sata_sil
    sd_mod                 51009  2
    scsi_mod              183569  3 sg,libata,sd_mod

    Code:
    alias eth0 r8169
    alias eth1 8139too
    alias scsi_hostadapter sata_sil
    alias scsi_hostadapter1 sata_nv
    alias snd-card-0 snd-emu10k1
    options snd-card-0 index=0
    options snd-emu10k1 index=0
    remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/$alias char-major-61 lirc_atiusb
    alias lirc_dev lirc_atiusb
    Also, I had to create /etc/lircd.conf, it wasnt there. Mine is just like the one posted in the thread, not the file you attached, i copied the contents from the post above. Using Firefly r1000
    Last edited by notmyrealemail; 20th July 2006 at 06:46 AM.
    "It's awfully considerate of you to think of me here
    And I'm much obliged to you for making it clear that I'm not here."

    -Syd

  5. #5
    Join Date
    Mar 2005
    Posts
    16

    About the Firefly Remote

    It looks like your Firefly Receiver is not showing up in the loaded modules. What version of Linux are you using? What is the kernel version? Do you have lirc installed? Oh and the reason that lsmod might not work is, if you logon as a regular user and then "su" up to root, it still recognizes the "regular" users PATH so you have to actually type the full path to the command "/sbin/lsmod" or add that to the "regular" users $PATH variable. Hope I helped get back to me and I will try to help get up and running, I know how frustrating it is when you can't get something to work

  6. #6
    Join Date
    Oct 2006
    Posts
    1
    Sorry to sound like a complete idiot here but how the HELL do you edit ANY file? I'm running MythDora v2 which I believe is Fedora Core 4 right? I'm having ZERO luck editing the file. I've tried sudo gedit /etc/modprobe.conf and it says the gedit is an unrecongized command. Any help would be great appreicated!

  7. #7
    Join Date
    Feb 2007
    Posts
    1
    <<You should see a module called "lirc_atiusb">>

    I don't see that when I run lsmod

    thanks -

Similar Threads

  1. lirc and MCE OEM remote
    By ibd12c in forum Hardware & Laptops
    Replies: 3
    Last Post: 13th July 2007, 01:31 PM
  2. LIRC + MythTV + MCE remote
    By mitchell2345 in forum Using Fedora
    Replies: 0
    Last Post: 4th December 2006, 07:24 PM
  3. mythtv LIRC remote infared help
    By biruru in forum Using Fedora
    Replies: 0
    Last Post: 28th August 2006, 07:31 PM
  4. Snapstream Firefly Remote Working With Mythtv!!!!!
    By fedorafitz in forum Hardware & Laptops
    Replies: 5
    Last Post: 14th March 2005, 10:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •