Unable to load LIRC kernel modules.

Bug #207991 reported by fhloston
6
Affects Status Importance Assigned to Milestone
Mythbuntu
Won't Fix
Undecided
Unassigned

Bug Description

My Hauppauge Hauppauge WinTV Nova-T 500 remote does not work 100%. While trouble shooting I found this message

julia@mythbox:~$ sudo /etc/init.d/lirc start --verbose
[sudo] password for julia:
 * Loading LIRC modules [ OK ]
 * Unable to load LIRC kernel modules. Verify your
 * selected kernel modules in /etc/lirc/hardware.conf

According to http://ubuntuforums.org/showthread.php?t=713418 this might be due to 386 kernel being installed, but I have generic:
julia@mythbox:~$ uname -r
2.6.24-12-generic

Running Mythbuntu 8.04 Beta updated with update manager 2008-03-27 approx 22:00 CET.

Revision history for this message
fhloston (fhloston) wrote :
Revision history for this message
Nick Fox (nickj-fox) wrote :

Please post your hardware.conf as well.

Revision history for this message
fhloston (fhloston) wrote :

Sorry missed that

Revision history for this message
Nick Fox (nickj-fox) wrote : Re: [Bug 207991] Re: Unable to load LIRC kernel modules.
  • unnamed Edit (914 bytes, text/html; charset=ISO-8859-1)

When it say its not working 100%, what doesn't work?

On Thu, Mar 27, 2008 at 5:21 PM, fhloston <email address hidden> wrote:

> Sorry missed that
>
> ** Attachment added: "hardware.conf"
> http://launchpadlibrarian.net/12928868/hardware.conf
>
> --
> Unable to load LIRC kernel modules.
> https://bugs.launchpad.net/bugs/207991
> You received this bug notification because you are a member of
> Mythbuntu, which is subscribed to Mythbuntu.
>

Revision history for this message
fhloston (fhloston) wrote :

The key mapping does not work as expected. As far as I can understand it should be the file /usr/share/lirc/remotes/hauppauge/lircd.conf.hauppauge_novat500 that should be used by Mythbuntu?

The OK button does not work as expected, nor does the channel up and down etc. Arrow up, down, right and left does work thoug. For instance, I can browse the Main menu (Watch TV, Media libr...) and go into Watch TV by using the right arrow. I cannot back out with left or back/exit left arrow rewinds.

This together with the earlier described "Unable to load LIRC kernel modules" it seems like it does not work properly. I have in earlier manual installations following the instructions in http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_500_PCI been able to get it to work. If I remember that installation correctly I had to involve the mythtv-user in some way even though both this and the other installation is defaulting on the "logon user" in this case julia.

Attached files:
/etc/lirc/lircd.conf
/usr/share/lirc/remotes/hauppauge/lircd.conf.hauppauge_novat500
/home/julia/.lircrc
/home/julia/.lirc/mplayer

Revision history for this message
fhloston (fhloston) wrote :
Revision history for this message
fhloston (fhloston) wrote :
Revision history for this message
fhloston (fhloston) wrote :
Revision history for this message
jruss (jruss) wrote :

I recently did a distribution upgrade from 7.10 to 8.04 beta. After the upgrade I get the same error indicating the that the lirc modules will not load. I am running the 2.6.24-15-generic kernel. I am using the Hauppauge pvr-150 remote, but it does not work at all since the upgrade. When I run irw it says, 'connect: No such file or directory'. I am attaching my hardware.conf. I will put my dpkg.log in the next post.

Revision history for this message
jruss (jruss) wrote :
Revision history for this message
jruss (jruss) wrote :

I tried manually inserting the modules listed in my hardware.conf and this is what it said:
pvr:~$ sudo modprobe -a lirc_dev lirc_i2c
WARNING: Error inserting lirc_dev (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_dev.ko): Invalid module format
WARNING: Error inserting lirc_dev (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_dev.ko): Invalid module format
WARNING: Error inserting lirc_i2c (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_i2c.ko): Invalid module format

Revision history for this message
jruss (jruss) wrote :

I used dkms to uninstall and remove the lirc modules:

sudo dkms uninstall -m lirc -v 0.8.3~pre1
sudo dkms remove -m lirc -v 0.8.3~pre1 --all

Then reinstalled the lirc-modules-source to compile the lirc modules from source. After that I could install the modules with modprobe. I restarted lirc and everything works now. It seems like the precompiled lirc modules have some problem. Compiling from source seems to fix the problem.

Revision history for this message
Mario Limonciello (superm1) wrote :
  • unnamed Edit (1.3 KiB, text/html; charset=ISO-8859-1)

Please try removing the lirc-modules-source package. It shouldn't cause any
conlficts, but it sounds like it is.

On Wed, Apr 9, 2008 at 12:52 PM, jruss <email address hidden> wrote:

> I tried manually inserting the modules listed in my hardware.conf and this
> is what it said:
> pvr:~$ sudo modprobe -a lirc_dev lirc_i2c
> WARNING: Error inserting lirc_dev
> (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_dev.ko): Invalid module
> format
> WARNING: Error inserting lirc_dev
> (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_dev.ko): Invalid module
> format
> WARNING: Error inserting lirc_i2c
> (/lib/modules/2.6.24-15-generic/updates/dkms/lirc_i2c.ko): Invalid module
> format
>
> --
> Unable to load LIRC kernel modules.
> https://bugs.launchpad.net/bugs/207991
> You received this bug notification because you are a member of
> Mythbuntu, which is subscribed to Mythbuntu.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
jruss (jruss) wrote :

I removed lirc-modules-source and reinstalled lirc and things work that way. But I had them working already as noted above.

Revision history for this message
Mario Limonciello (superm1) wrote :
  • unnamed Edit (986 bytes, text/html; charset=ISO-8859-1)

The precompiled modules are the ones that come without dkms. So if you take
out lirc-modules-source, it's those modules.

On Wed, Apr 9, 2008 at 2:47 PM, jruss <email address hidden> wrote:

> I removed lirc-modules-source and reinstalled lirc and things work that
> way. But I had them working already as noted above.
>
> --
> Unable to load LIRC kernel modules.
> https://bugs.launchpad.net/bugs/207991
> You received this bug notification because you are a member of
> Mythbuntu, which is subscribed to Mythbuntu.
>

--
Mario Limonciello
<email address hidden>

Changed in mythbuntu:
status: New → Won't Fix
Revision history for this message
Ryan Sinn (ryan-sinn) wrote :

I had a problem yesterday where LIRC would not load my remote control config... rebooting and recompiling the modules from source with m-a (for a second time) fixed the issue.

Revision history for this message
Mario Limonciello (superm1) wrote :

module assistant isn't available in hardy...

Revision history for this message
Ryan Sinn (ryan-sinn) wrote :

yes it is and here's the link to the package page.

http://packages.ubuntu.com/hardy/module-assistant

You can start it by typing either module-assistant or m-a

I checked both hardy systems I have here (one that was a fresh hardy install and the other was a gutsy upgrade) and they both have module-assistant installed.

Revision history for this message
Mario Limonciello (superm1) wrote :

Ryan Sinn wrote:
> yes it is and here's the link to the package page.
>
> http://packages.ubuntu.com/hardy/module-assistant
>
>
> You can start it by typing either module-assistant or m-a
>
> I checked both hardy systems I have here (one that was a fresh hardy
> install and the other was a gutsy upgrade) and they both have module-
> assistant installed.
>
I mean to install lirc. That framework was removed.

--
Mario Limonciello
<email address hidden>

Revision history for this message
Nick Fox (nickj-fox) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.