[mythtv-users] Problems with LIRC (Now, with native lirc problems!)
Ryan Steffes
rbsteffes at gmail.com
Sat Sep 22 22:20:24 UTC 2007
On 9/21/07, Chuck Filson <mythtv at goodeid.com> wrote:
> On Friday 21 September 2007 19:03, Ryan Steffes wrote:
> > On 9/21/07, William Munson <william_munson at bellsouth.net> wrote:
> > > Ryan Steffes wrote:
> > > > I know this should be on the lirc list, but that's a heck of a lot
> > > > harder to search than the myth list, and usually less active. I
> > > > upgraded a bunch of my equipment and along the way managed to cause
> > > > enough trouble to make me have to reinstall. Of all the portions I've
> > > > had problems with, I was surprised the one I can find the least
> > > > information on is the setting lirc back up.
> > > >
> > > > It seemed very straightforward, download, make, install, copy the
> > > > config file back over and voila!
> > > >
> > > > However, I'm getting this error and can't find much information on it:
> > > >
> > > > #modprobe lirc_serial
> > > > FATAL: Error inserting lirc_serial
> > > > (/lib/modules/2.6.17-15mdv/misc/lirc_serial.ko): Input/output error
> > > > #dmesg |grep lirc
> > > >
> > > > lirc_dev: IR Remote Control driver registered, at major 61
> > > > lirc_serial: auto-detected active low receiver
> > > > lirc_dev: lirc_register_plugin: sample_rate: 0
> > > > lirc_dev: lirc_register_plugin: no module owner registered
> > > > lirc_serial: register_chrdev failed!
> > >
> > > It cannot find your module. Looks like you did not configure it for the
> > > serial module and it was never built.
> >
> > It's looks like it's the serial module that's giving that error. The
> > file definitely exists where it thinks it is, and modinfo returns
> > valid data.
> >
> > Ry
>
> I had this same error message before and found that it was caused by having
> two different versions of lirc_dev on the system.
>
> One was in the "/lib/modules/2.6.17-15mdv/misc/" (this was the new version)
> and the second one was in
> the "/lib/modules/2.6.17-15mdv/kernel/3rdparty/lirc/drivers/lirc_dev"
> directory.
>
> Renaming the lirc_dev.ko.gz file in
> the "kernel/3rdparty//lirc/driver/lirc_dev" directorie solved it for me.
>
Rolling back to lirc-0.8.1 solved this problem, but I've encountered
another. As far as I can remember, and as far as I can tell from the
docs, native lirc support just required adding the enable lirc flag to
configure, but I seem to be having a problem.
configure is reporting lirc support enabled, but lirc isn't actually
being linked in. The lirc client libraries are in /usr/local/lib,
which is in my /etc/ld.so.conf
Options: --enable-opengl-vsync --enable-xvmc-opengl
--enable-opengl-video --enable-proc-opt --enable-proc-opt
--enable-audio-alsa --enable-lirc
# Basic Settings
Compile type release
Compiler cache no
DistCC no
Install prefix /usr/local
CPU x86_32 (AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)
big-endian no
MMX enabled yes
CMOV enabled yes
CMOV is fast no
# Input Support
Joystick menu yes
lirc support yes
Apple Remote no
Video4Linux sup. yes
ivtv support yes
FireWire support no
DVB support yes [/usr/include]
DBox2 support yes
HDHomeRun sup. yes
IPTV support yes
# Sound Output Support
OSS support yes
ALSA support yes
aRts support no
JACK support no
DTS passthrough no
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support yes
XvMC VLD support yes
XvMC pro support no
XvMC OpenGL sup. no
XvMC libs -lXvMCW
OpenGL video yes
Mac acceleration no
OpenGL vsync yes
DirectFB yes
# Misc Features
Frontend yes
Backend yes
# Bindings
bindings_perl yes
Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
WARNING: When using --enable-proc-opt you must include the
output of ./configure along with any bug report.
[root at mythtv mythtv]# ldd /usr/local/bin/mythfrontend |grep lirc -i
[root at mythtv mythtv]#
[root at mythtv mythtv]# ll /usr/local/lib/liblirc*
-rw-r--r-- 1 root root 52292 Sep 22 17:12 /usr/local/lib/liblirc_client.a
-rwxr-xr-x 1 root root 853 Sep 22 17:12 /usr/local/lib/liblirc_client.la*
lrwxrwxrwx 1 root root 23 Sep 22 17:12
/usr/local/lib/liblirc_client.so -> liblirc_client.so.0.2.0*
lrwxrwxrwx 1 root root 23 Sep 22 17:12
/usr/local/lib/liblirc_client.so.0 -> liblirc_client.so.0.2.0*
-rwxr-xr-x 1 root root 36757 Sep 21 17:23
/usr/local/lib/liblirc_client.so.0.0.0*
-rwxr-xr-x 1 root root 49272 Sep 22 17:12
/usr/local/lib/liblirc_client.so.0.2.0*
[root at mythtv mythtv]# ll /usr/local/include/lirc/lirc_client.h
-rw-r--r-- 1 root root 2257 Sep 22 17:12 /usr/local/include/lirc/lirc_client.h
I've done a make distclean and no dice. Any clues, anyone?
More information about the mythtv-users
mailing list