2003-07-10 22:56:18

by Flameeyes

[permalink] [raw]
Subject: [PATCH] LIRC drivers for 2.5.74 - 2nd version

Here (http://flameeyes.web.ctonet.it/patch-2.5.74-lirc.diff.bz2) there
is the second version of my patch that adds the LIRC
(http://lirc.sf.net/) drivers to 2.5 kernels (this patch was prepared
using 2.5.74 kernel, but it should work also with earlier kernels).

In this version I removed the lirc_i2c driver that need the i2c driver
code from lm_sensors, and therefor is not compatible with 2.5 (I don't
know how to make it works sorry).
I also corrected the Makefile as told me by Boszormenyi Zoltan, and also
merged his patch for MOD_[INC|DEC]_USE_COUNT.

Please note that I'm not a lirc developer, I only took the cvs of lirc,
looked at the drivers dir and fixed the code to be compiled in the
kernel tree for 2.5.

The userland utilities remain the one from lirc package, to build them
you need the to use a valid 2.4 kernel tree.

--
Flameeyes <[email protected]>


2003-07-13 11:45:45

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] LIRC drivers for 2.5.74 - 2nd version

Hi!

> Here (http://flameeyes.web.ctonet.it/patch-2.5.74-lirc.diff.bz2) there
> is the second version of my patch that adds the LIRC
> (http://lirc.sf.net/) drivers to 2.5 kernels (this patch was prepared
> using 2.5.74 kernel, but it should work also with earlier kernels).

If you want that patch to go in, you should post it here, plaintext.

> In this version I removed the lirc_i2c driver that need the i2c driver
> code from lm_sensors, and therefor is not compatible with 2.5 (I don't
> know how to make it works sorry).
> I also corrected the Makefile as told me by Boszormenyi Zoltan, and also
> merged his patch for MOD_[INC|DEC]_USE_COUNT.

Actually, 2.5 includes a *lot* of lm_sensors code. If there's
something else from lm_sensors thats needed, it should be easy to
port. [I thought lirc_i2c driver was the only interesting one?]
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]