Open eyal0 opened 10 years ago
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.
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 notifications@github.com 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/xbianonpi/xbian-package-lirc/issues/3#issuecomment-37724272 .
@eyal0
what is name of kernel module ? (and [vendor]:[product]) ?
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>
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.