Seems to be alot of older threads which mention that LIRC needs to be patched in order to support the IR Toy. But it appears that a newer version of LIRC which is not in the repos (needs to be compiled yourself) supports it, correct?
I think I flashed my firmware to v22, but I was wondering if there was a way to verify what firmware you have (from Linux, I hate Windows).
Also, if anybody has a newer method for LIRC+RPi+IRToy that works today, can you please let me know?
Lirc (upstream) officially supports Irtoy since version 0.9.2, which was released on December 9. So if your distro does not have it yet, ask for it.
You can use IrScrutinizer (http://http://www/harctoolbox(IrScrutinizer.html) for checking the FW version of the IrToy. It runs on Linux.
I did read that it was added to LIRC, but the distros only have 0.9.0. I'm having issues getting LIRC installed and running from git/src. I get through the entire configure/make/make install and when trying to run lircd, irrecord, irw, I get:
error while loading shared libraries: liblirc.so.0: cannot open shared object file: No such file or directory
I've tried this on multiple computers, Raspberry Pi and Xubuntu; same result. Not sure if I'm missing something? I noticed there was already a post with this same error but they did not explain how they resolved this issue.
Hi clueo8,
did you fixed that issue? I am still fighting to get this running at Raspi2.
At least I managed to solve the problem
error while loading shared libraries: liblirc.so.0: cannot open shared object file: No such file or directory
by creating links from /usr/lib/ to /usr/local/lib/ (where LIRC installation copied the shared libs):
liblirc.so.0 -> /usr/local/lib/liblirc.so.0
libirrecord.so.0 -> /usr/local/lib/libirrecord.so.0
But at the end it's still not working. Tried to record a lircd configuration by running:
sudo /usr/local/bin/irrecord -U plugins/.libs/ -n -H irtoy -d /dev/ttyACM0 irTEST.conf
And got message:
Could not init hardware (lircd running ? --> close it, check permissions)
(And lircd is not running!) So I am afraid that hardware initialisation with driver irtoy is not (yet) working.
Any ideas welcome!
DerIng
Look for Peter Kooiman's patches or use version 0.9.2 which has usb_irtoy support!
If you use IrScrutinizer (v1.1.3) here is how to find the firmware version of your IR Toy.
Options -> Capturing Hardware -> IrToy
Next, click on the "Capturing hw" tab.
Click on "IrToy" tab, then click "Open". Your firmware version will be displayed.
My device showed V212 which means Hardware V2 and firmware V12. Since latest firmware is V22, it is time to upgrade it.
I had the same issues as DerIng (above). I was able to get around the shared lib issue by running:
./configure --prefix=/usr
By default, it installs everything in /usr/local