[mythtv-users] lirc woes (no output from mode2)

matt lutz myth.matt.lutz at gmail.com
Wed May 16 20:28:34 UTC 2007


On 5/16/07, R. G. Newbury <newbury at mandamus.org> wrote:
>
> matt lutz wrote:
> > All,
> >
> > I'm hoping someone can point me in the right direction.  I have a serial
> > receiver that I'm trying to get working with myth.
> >
> > It does work on one of my systems with an identical setup, so I don't
> think
> > the problem lies with lirc, lirc_serial, or the receiver itself.  The
> > problem is, I don't see errors anywhere, it just doesn't work.  I'm
> running
> > FC6 with kernel 2.6.20-1.2948.fc6.
> >
> > Here are the relevant log entries:
> >
> > [root at localhost ~]# dmesg | grep ttyS
> > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
> > 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
> >
> > [root at localhost ~]#cat /var/log/messages | grep lirc
> > May 15 20:05:15 localhost kernel: lirc_dev: no version for
> "struct_module"
> > found: kernel tainted.
> > May 15 20:05:15 localhost kernel: lirc_dev: IR Remote Control driver
> > registered, at major 61
> > May 15 20:05:15 localhost kernel: lirc_serial: auto-detected active low
> > receiver
> > May 15 20:05:15 localhost kernel: lirc_dev: lirc_register_plugin:
> > sample_rate: 0
> > May 15 21:19:40 localhost lircd-0.8.2-CVS[3756]: you should specify a
> valid
> > gap value
> > May 15 21:19:40 localhost lircd-0.8.2-CVS[3756]: lircd(userspace) ready
> > May 15 21:36:04 localhost lircd-0.8.2-CVS[3756]: caught signal
> >
> >
> > All of which is almost exactly the same as the working setups.  And yet
> > mode2 shows nothing on the receiver.  I even went as far as to load XP
> on
> > this machine and used WinLirc, which was fine.  Only weird thing was
> that I
> > had to use COM2, but with the same IRQ I/O settings.  I assumed that was
> > because of a built-in modem or something, but maybe it's screwing with
> > linux?
> >
> > The only other oddity is that on my working system , the dmesg | grep
> ttyS
> > shows the following:
> >
> > 00:0a: ttyS0 at I/0 0x3f8 (irq=4) is a NS16550A
> >
> > A bit different, but still nothing that would indicate an error.  Any
> > suggestions on what I can do to troubleshoot?
> >
>
> 2 things:
> 1       mode2 only works if lircd is NOT running. Run lsmodf and then
> 'modprobe -r lirc_your_driver' to make sure that mode2 can grab the
> hardware to see yo7ur keypresses.
> 2.       Run mode2 with the -d option to point to the correct hardwarew
> point
> in /dev. It is quite possible that mode2 is just looking in the wrong
> place.  Make a sym-link to /dev/lirc.
>
> Geoff
>
>
>
> --
>              R. Geoffrey Newbury
>
>        Helping with the HTTP issue
> <a href="http://www.w3.org/Protocols/">HTTP</a>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



Thanks for the reply.  I definately do not have lircd running when I use
mode2.  I'm not sure why you want me to do a 'modprobe -r lirc_serial'
though.. that removes the lirc module which definately causes mode2 to
fail.  Can you elaborate on that?

As for using the "-d" flag on mode2, I've definately done that.  It's
looking at the correct device.

matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070516/de681e94/attachment-0001.htm 


More information about the mythtv-users mailing list