[mythtv-users] lirc: Unknown symbol for ledxmit but not lirc
Nick Morrott
knowledgejunkie at gmail.com
Mon Dec 1 01:35:07 UTC 2008
On 30/11/2008, Stephen Sassman <sassman1 at gmail.com> wrote:
> I am trying to compile a second instance of lirc for my irblaster. The first
> instance compiled and modprobed fine with the mceusb2 module. For the second
> instance, I am using the instructions here:
> http://www.mmdsi.com/mythtv/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html.
> After moving lirc to myth-ledxmit.WIP, I was able to compile and install the
> module. When I try to modprobe, however, I get:
>
> WARNING: Error inserting ledxmit_dev
> (/lib/modules/2.6.26/misc/ledxmit_dev.ko): Operation not
> permitted
> FATAL: Error inserting ledxmit_serial
> (/lib/modules/2.6.26/misc/ledxmit_serial.ko): Unknown
> symbol in module, or unknown parameter (see dmesg)
>
> Dmesg says:
>
> ledxmit_dev: register_chrdev failed
> ledxmit_serial: Unknown symbol ledxmit_unregister_plugin
> ledxmit_serial: Unknown symbol ledxmit_register_plugin
>
> As I understand it, this usually means that you are not using the right
> version of lirc for your kernel. However, I don't see how this can be the
> case since my first instance works. Maybe because I am using a different
> driver for the second instance, and that one is not compatible??? I am using
> kernel 2.6.26 and lirc-0.8.4a. It is listed for 2.6.27, but should work with
> 2.6.26? Any help is appreciated. My wife is very pissed as I've been working
> on this for five days.
If I remember correctly (it's been a while since I was actively
building 2 instances of LIRC to control 2 serial devices), you only
need to build a second instance if you want to use the same kernel
module (lirc_serial, lirc_i2c) to control multiple devices.
If you want to use the lirc_mceusb2 (or lirc_i2c...) module for your
remote control, and lirc_serial to control a serial port IR
transmitter, you should be able to use a single installation of lirc.
After updating modules.conf appropriately, modprobing the LIRC modules
should give you /dev/lirc0 and /dev/lirc1. Start 2 instances of LIRC,
each with its own LIRC socket (e.g. /dev/lircd for the remote, and
/devlircd1 for the blaster) and point your channel change script to
the serial-port instance.
--
Nick Morrott
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-users
mailing list