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