Page 1 of 1

GPIO Lirc kernel support

Posted: Sun Sep 22, 2013 4:58 am
by Takenover83
I would like to add GPIO lirc support, but to my understanding the kernel is not built with this. How daunting of a task is it to build the kernel with this support in? Kernel 3.6.11? I did find a guide here, but I am not sure how out of date it is, or if some parts needs changed for a arch kernel compile, etc..

I currently have a Raspbian install booting to emulation station. All controllable with a keyboard, remote (via gpio lirc), or my wired ps3 controller. From there I can launch XBMC, openbox, Q3A, or any of the emulators I have installed (retroarch being the main). I would like this same functionality but with arch as a base, as it seem's more lean, and boots a bit quicker.

Re: GPIO Lirc kernel support

Posted: Sun Sep 22, 2013 9:08 am
by wouterel
It's been a few months since I did this so I may not recall all the details, but I am 100% sure that I didn't need to do anything with the kernel to get lirc to work with a GPIO IR receiver.

If I remember correctly, all I had to do was install the lirc package and edit /etc/modules and /etc/lirc/hardware.conf.

http://alexba.in/blog/2013/01/06/settin ... spberrypi/ gives some info on what you might want to write in those files. If that doesn't help I can look up my configuration files for you.

Re: GPIO Lirc kernel support

Posted: Mon Sep 23, 2013 3:13 am
by Takenover83
You are talking about Arch right? /etc/modules needed to be created on my arch install, but I dont think arch even looks at that file, as it used files stored in "/etc/modules-load.d/" to load modules manually.

Re: GPIO Lirc kernel support

Posted: Mon Sep 23, 2013 8:23 am
by wouterel
I was talking about raspbian wheezy. The image I used at the time was the foundation's 2013-02-09 one but I have no reason to believe a newer one would work differently.

I don't know how to translate the instructions to Arch conventions. But I'm sure there are Arch experts around here who could help with that.

Re: GPIO Lirc kernel support

Posted: Tue Sep 24, 2013 1:42 am
by Takenover83
As I said in post #1, I have lirc running just fine on Rapbian. But want to switch my base to arch.

Re: GPIO Lirc kernel support

Posted: Tue Sep 24, 2013 8:10 am
by pepedog

Re: GPIO Lirc kernel support

Posted: Tue Sep 24, 2013 11:44 am
by wouterel
I'm sorry I misunderstood your original post. I would have thought the question whether lirc is built into the kernel or loaded as a module is completely separate from the question whether you use raspbian or arch. Either way, I hope you'll get it to work but since I have no experience with arch I'll leave you to it.

Re: GPIO Lirc kernel support

Posted: Tue Sep 24, 2013 9:44 pm
by pepedog
I think the modules are already done, check line 2084 onwards
https://github.com/archlinuxarm/PKGBUIL ... ypi/config
Then follow the module loading