From: Maxim L. <max...@gm...> - 2009-08-24 15:53:05
|
On Mon, 2009-08-24 at 11:14 -0400, Jarod Wilson wrote: > On Aug 24, 2009, at 9:29 AM, Maxim Levitsky wrote: > > > I have just tested my driver against the ubuntu stock kernel > > 2.6.28-11-generic > > > > It works just fine. > > > > Christoph, small question, you put my driver in > > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) > > > > Is there a reason, or this is a precaution? > > > > If no objections, I lower this to 2.6.28 > > 99% certain its just a precautionary measure, go ahead and lower it. > > > NOTE to anyone who needs to install this in ubuntu: > > > > If you want to get this driver working in ubuntu, you need first to > > remove ubuntu lirc kernel modules, if installed. > > Otherwise, lirc_dev from ubuntu will be used, and will conflict with > > new > > installed one. > > You don't *need* to remove them. You simply need to install the > lirc_dev and lirc_ene0100 modules built from cvs into a module path > with higher precedence and run depmod to update module dependency > info, and the newer one will get used. Of course, if you subsequently > try loading one of the other modules, it may well puke on itself, due > to an lirc_dev mismatch, so maybe removing the ubuntu-provided bits > isn't such a bad idea after all... Indeed. lirc installs the drivers to /lib/.../misc, and I guess that has lower precedence that kernel/ubuntu. I'll soon test this driver on older kernels as well, as I suspect that it will work there as well. (If not, porting probably is trivial) Best regards, Maxim Levitsky |