Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapstream Firefly not properly supported #3

Open
eyal0 opened this issue Mar 13, 2014 · 4 comments
Open

Snapstream Firefly not properly supported #3

eyal0 opened this issue Mar 13, 2014 · 4 comments

Comments

@eyal0
Copy link

eyal0 commented Mar 13, 2014

I have a Snapstream Firefly IR remote that is not supported. This is the product:

http://www.snapstream.com/products/firefly/

I was able to get it working after adding some code to xbian's lirc package. Let me know if there is interest and I will contribute the code.

@mk01
Copy link
Member

mk01 commented Mar 15, 2014

yes, please.

if your work can be integrated to keep IR device & config file auto-configuration, feel free to commit changes into your copy & request a pull against this repo.

@eyal0
Copy link
Author

eyal0 commented Mar 17, 2014

The change is not too large but I see one problem: udev is not recognizing
the IR receiver. So, I can either add a rule to udev or I can leave the
device as /dev/input/event0 . The rest of the changes are the same,
however.

I'll write the change and make the pull request and you can decide if you
prefer to also have a change in udev rules to recognize the IR receiver.

On Sat Mar 15 2014 at 2:13:56 PM, Matus Kral [email protected]
wrote:

yes, please.

if your work can be integrated to keep IR device & config file
auto-configuration, feel free to commit changes into your copy & request a
pull against this repo.

Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-37724272
.

@mk01
Copy link
Member

mk01 commented Mar 24, 2014

@eyal0

what is name of kernel module ?
(and [vendor]:[product]) ?

@eyal0
Copy link
Author

eyal0 commented Mar 24, 2014

I am not an expert at udev, so I'm not sure what the right information that you need is.

This is the relevant output in "dmesg":

[ 11.933671] udevd[600]: starting version 175
[ 13.114511] Registered IR keymap rc-snapstream-firefly
[ 13.114944] input: X10 Wireless Technology Inc USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc0/input0
[ 13.115578] rc0: X10 Wireless Technology Inc USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc0
[ 13.115804] input: X10 Wireless Technology Inc USB Receiver mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input1

And here are my changes. After I figure out what to do about udev, maybe I can organize them.
One of the changes is to Lircmap.xml, however, which is not part of this git repository.

xbian@xbian /etc $ diff lirc/hardware/custom.conf{.orig,}
16c16
< #DRIVER=""
---
> DRIVER="devinput"
18c18
< #DEVICE=""
---
> DEVICE="/dev/input/event0"

xbian@xbian ~ $ diff /etc/lirc/remotes/devinput.conf{.orig,}
271a272
>           KEY_PHOTO                0x01BA
686a688
>           KEY_PHOTO                0x01BA

xbian@xbian / $ diff  ./usr/local/share/xbmc/system/Lircmap.xml.orig ./usr/local/share/xbmc/system/Lircmap.xml
434a435
>                 <forward>KEY_FORWARD</forward>
446a448
>                 <title>KEY_OPTION</title>
455a458
>                 <mypictures>KEY_PHOTO</mypictures>

@eyal0 eyal0 closed this as completed Mar 24, 2014
@eyal0 eyal0 reopened this Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants