[RFC PATCH] lirc IR receiver drivers

Eric Sandeen sandeen at redhat.com
Sat Aug 25 06:26:43 UTC 2007


Jarod Wilson wrote:
> Hey all,
> 
> So... As I've mentioned on various forums here and there in the recent 
> past, I'd really like to see fedora carry the lirc drivers 
> (http://www.lirc.org/) in-kernel, and help push them into the upstream 
> kernel. I finally got around to doing something significant about it 
> this evening. The link below is the completion of my first attempt at a 
> patch tailored for upstream, based partially on work done by Mario 
> Limonciello for Ubuntu (cc'd).
> 
> http://people.redhat.com/jwilson/lirc/linux-2.6-lirc.patch

Cool, I tossed a few build-related fixes (warnings, deprecated
interfaces/flags, etc..) on top of this up at

http://people.redhat.com/esandeen/lirc/

(There's also usb stuff going on I don't understand in the commandir
driver :) but with the warning about the callback it will probably
explode when run.)

Also given that each subdir under drivers/input/lirc generally has just
one .c file, I'd probably flatten it out, and drop everything into
drivers/input/lirc/*.c

Also in Kconfig, INPUT_LIRC and LIRC_DEV seem a little redundant -
perhaps each individual driver should just do "select LIRC_DEV" rather
than "depends on?" and remove the prompt for LIRC_DEV?


-Eric




More information about the Fedora-kernel-list mailing list