Has anyone gotten lirc cross compiled?
-
I want to build something which requires the sending of IR signals, so lirc would be what I want to use. Before I put major work in trying to cross compile etc., has anyone done it?
Regards, Ulf.
-
Hi @Ulf-Zimmermann, I haven't successfully compiled it due to some missing dependencies, but what you need to do is to download this file here: https://s3-us-west-2.amazonaws.com/onion-downloads/openwrt/lirc-gpioblaster-CC.zip and place the unzipped folders in the
package
folder in your buildroot.In
make menuconfig
you can findlirc
under Utilities and Kernel Modues > Other Modules.lirc
is also dependent onalsa-utils
m which can also be found under Utilities.Cheers!
-
Well, I just got back from an evening of german beer and kicked off a make on the openwrt build, see how far it gets.
When you say haven't compiled successfully, you are talking about the rest of the userland utilities?
-
@Ulf-Zimmermann Yes, i wasn't able to compile the utilities. The dependencies that were missing were
libusb-1.0
andlibftdi1
.
-
My overnight compiled failed in lircd as fortifying the code won't allow:
if (opt2host_port(opt, &address, &port, errmsg) != 0){ fprintf(stderr, errmsg);
Did you compile without fortify? Or did you modify the code?
-
@Ulf-Zimmermann I compiled without fortify.
-
Hey guys,
just compiled as suggested by @Boken-Lin and it apparently worked. However, I missed the irSend command. How can I grab that?Thanks a lot!
-
Hi @Vinicius-Batista, if you go into the
make menuconfig
, after selectinglirc
, you will see an arrow--->
appear to the right, pressENTER
, and you will be taken to a submenu. Just selectirsend
there as well to include the package.
-
Thank you @Boken-Lin . Now I'll try to figure out how to use a IR led to send some commands to my TV. I noted there's a ton of materials over the internet, but mostly related to Pi. BTW, I think it's a good start.
-
@Vinicius-Batista Let me know if you run into any problems. We are working on a tutorial to make a Wifi-based remote control
-
@Vinicius-Batista have you achieved to compile lirc and get it working? I want to build a system to send IR commands to an air conditioner device, but I just started to tinker with the omega, so I'm pretty much a noob...
I'm trying to cross compile it as an ipk file, but my progress is really slow, so I just want to make sure nobody has already done it.
-
@iuri-aranda: Seems like @Vinicius-Batista was able to get it to compile. I will revisit this to see why I was missing
libusb-1.0
andlibftdi1
.