← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 563727] Re: lirc_imon.ko does not get installed through dkms

 

I just found out I've made an error in the initial case: I need to
overwrite the original kernel version, not copy the lirc_imon.ko into
the updates, but I need to copy it into
/lib/modules/2.6.32-21-generic/kernel/ubuntu/lirc/lirc_imon/.

To answer your question: I removed all the lirc_imon.ko files in
/lib/modules/2.6.32-21-generic, reinstalled the kernel package and did a
dpkg-reconfigure on lirc-modules-source. I then stopped lirc and LCDd
and did a rmmod on lirc_imon and lirc_dev.

At this point I only have one lirc_imon.ko in my
/lib/modules/2.6.32-21-generic due to dkms refusing to install its
version (I checked this, just to be sure):

Starting lirc now gives the following information in syslog:
Apr 16 10:32:33 localhost kernel: [  727.605729] lirc_dev: IR Remote Control driver registered, major 61 
Apr 16 10:32:33 localhost kernel: [  727.623131] lirc_imon: disagrees about version of symbol lirc_register_driver
Apr 16 10:32:33 localhost kernel: [  727.623136] lirc_imon: Unknown symbol lirc_register_driver

Needless to say that lirc fails.

There is also only one lirc_dev version available on the system, which
is in the original kernel location, NOT in the updates directory.

When I overwrite the original lirc_imon with the one from dkms
everything works.

-- 
lirc_imon.ko does not get installed through dkms
https://bugs.launchpad.net/bugs/563727
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “linux” package in Ubuntu: Triaged
Status in “lirc” package in Ubuntu: Incomplete

Bug description:
Binary package hint: lirc

Dkms does not install the lirc_imon.ko from lirc_modules_source when the kernel gets upgraded (in current lucid). The dkms output reads:

lirc_imon.ko:
Running module version sanity check.

Error! Module version 0.6 for lirc_imon.ko
is not newer than what is already found in kernel 2.6.32-21-generic (0.6).
You may override by specifying --force.

Fact is that the lirc_imon.ko provided by the default kernel does not work with the following imon controller:

15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

Manually copying the module built by DKMS solves the problem

sudo cp /var/lib/dkms/lirc/kernel-2.6.32-21-generic-i686/module/lirc_imon.ko /lib/modules/2.6.32-21-generic/updates/dkms/

It would be nice if dkms could copy this file regardless of the version available in the kernel (using the -f option?)





References