Hi, Anyone tried/been able to run lirc (Linux Infrared Remote Control) on UDOO Neo? I followed http://funny-embeddings.blogspot.in/2013/12/udoo-adding-ir-and-building-lirc-kernel.html All works fine until I try to load module. It fails with udooer@udooneo:/lib/modules/3.14.56-udooneo-02013-gabdce68$ sudo modprobe lirc_udoo gpio_in_pin=25 debug=1 modprobe: ERROR: could not insert 'lirc_udoo': Exec format error
I am not at all a linux expert but loading a module compiled for an older kernel is no guarantee for success. Also the Neo is something different than a dual or quad where the original blog is talking about. Seems that you have to recompile and/or change the source to match the Neo pin layout. I personally have no other clue.
You module isn't correctly cross compiled for ARM, its most likely compiled for x86. You may be able to read the executable header info by: Code: readelf -h lirc_udoo.ko It should show details like below if you cross compiled correctly: Code: ELF Header: Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: ARM
Will confirm this later today. However I did compiled it on UDOO Neo itself. It should have built for ARM IMHO.