1
USB Infrared Toy / Re: IR Toy and lirc on Linux
It will require some custom support to get it working. We just finished a python plugin for event ghost this week. We used the existing UIRT(2?) plugin. There were two major changes, one is a little questionable long-term.
1. We changed the setup to the IR Toy commands, simple enough.
2. UIRT2 and others use an 8bit measurement value at 50us resolution, and the remote decoder in eventghost expects 8bit data. The IR Toy gives 16bit data with 21.3333uS resolution. We adjusted down by multiplying by 21.333 then dividing by 50, and just sending an 8bit value. There are probably going to be some shortcomings in this that will have to be worked out, but it's enough to get started and find out what happens next.
Next I'd like to work on getting support in LIRC. I plan to take the same approach - see if it has UIRT2 support, then hacking that to work with the IR Toy. Just taking a quick look, it seems like there's a few uirt2 related files here:
http://lirc.cvs.sourceforge.net/viewvc/ ... c/daemons/
[/quote]
Yeah, I've been poking around a bit in the source for LIRC as well, from what I see the interesting part is the "driver" folder, which to my eye corresponds to the plugin-folder for WinLIRC.
However I can't find the source for the WinLIRC-plugin that Dukey wrote so I can't say for sure if it will straight up work if the code is just compiled for Linux. If it works that would be the preferred way I'm sure, as that would mean we get true sampling and can make use of the rather excellent support for figuring out protocols that LIRC already has.
/Shadowsoul