read 1: http://aron.ws/projects/lirc_rpi/
read 2: http://forum.stmlabs.com/showthread.php?tid=1954
basically you make:
* a kernel driver and specify GPIO pin number
* install lirc (installed by apt-get) and init.d auto start, make a conf file enable lirc to decode and sends input back to kernel (/dev/input/uinput something like this)
it is very reliable so far. and basically you can make a IR remote to become a keyboard device to your beaglebone.
Hello c2h2,I'm trying to get something similar working. Could you possibly explain how you were able to get lirc working on the beaglebone? I've written a user space program in C to read the IR signals, but I would like a more reliable way of doing this. Also, are you outputting the signals back to an IR LED, and if so, have you find a way to reliably do this? I've written C code to output saved IR signals to a GPIO pin, but since it's in user space, and relies on software timing, it doesn't always work correctly. Any help would be very appreciated, thanks!-Nathan
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I am interested in this too. Could you make your code available on github?Thanks,Ovidiu
Sorry. Can't remember. But i think i installed it via apt-get install lirc . But i'm not 100% sure.
http://www.mythtv.org/wiki/Ubuntu_lirc_install
apt-get install lirc
I'm not so good at linux especially in kernel compiling, but i got it working by downloading kernel sources, and then applyed that patch to kernel and at menuconfig , enabled lirc_bbb.
Hope it clears things up. Also, i have not tested it with latest kernels. When i get some time, i'll try to compile it again/test and make some sort of tutorial or so...
Ps. You are not first person who asks about "how to get it working"
Currently i have so limited time that i can't even get to computer, but i'll start looking at it in few days.
(Also, i know my "english" is not good, but i hope you get the point, that i wanted to say...)
Martin