Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

GPIO Lirc kernel support

Sun Sep 22, 2013 4:58 am

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.

wouterel
Posts: 52
Joined: Thu Feb 14, 2013 3:09 pm

Re: GPIO Lirc kernel support

Sun Sep 22, 2013 9:08 am

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.

Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

Re: GPIO Lirc kernel support

Mon Sep 23, 2013 3:13 am

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.

wouterel
Posts: 52
Joined: Thu Feb 14, 2013 3:09 pm

Re: GPIO Lirc kernel support

Mon Sep 23, 2013 8:23 am

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.

Takenover83
Posts: 166
Joined: Mon Sep 02, 2013 5:39 am

Re: GPIO Lirc kernel support

Tue Sep 24, 2013 1:42 am

As I said in post #1, I have lirc running just fine on Rapbian. But want to switch my base to arch.


wouterel
Posts: 52
Joined: Thu Feb 14, 2013 3:09 pm

Re: GPIO Lirc kernel support

Tue Sep 24, 2013 11:44 am

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.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: GPIO Lirc kernel support

Tue Sep 24, 2013 9:44 pm

I think the modules are already done, check line 2084 onwards
https://github.com/archlinuxarm/PKGBUIL ... ypi/config
Then follow the module loading

Return to “Arch”