<div>&nbsp;</div>
<div><span class="gmail_quote">On 5/16/07, <b class="gmail_sendername">matt lutz</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:myth.matt.lutz@gmail.com" target="_blank">myth.matt.lutz@gmail.com
</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span><br><br>
<div><span class="gmail_quote">On 5/16/07, <b class="gmail_sendername">R. G. Newbury</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:newbury@mandamus.org" target="_blank">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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/Protocols/" target="_blank">
 http://www.w3.org/Protocols/</a>&quot;&gt;HTTP&lt;/a&gt; <br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org" target="_blank">
mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users 
</a><br></blockquote></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div></span></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><span>
<div>&nbsp;</div>
<div>matt</div>
<div><br>&nbsp;</div></span></blockquote></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>okay, this problem just&nbsp;went from a pain in&nbsp;the ass to bizarre.&nbsp; I decided to use Geoff&#39;s suggestions on my working PC.&nbsp; Everything acted exactly the same.&nbsp; However, when I moved the&nbsp;serial receiver back to the&nbsp;non-working PC, it&nbsp;magically started working.
</div>
<div>&nbsp;</div>
<div>What I&#39;ve been able to find out is that *sometimes* when I connect &amp; reconnect the&nbsp;serial receiver it will work, and sometimes it won&#39;t.&nbsp; Once it starts working, and I disconnect it, the same thing happens (sometime it works, sometimes not).
</div>
<div>&nbsp;</div>
<div>I don&#39;t think there&#39;s anything wrong with my actual serial port, because it works every time when Windows is loaded on the exact same computer.&nbsp; What&nbsp;could cause this to happen?&nbsp; I don&#39;t think it&#39;s the&nbsp;IR receiver&nbsp;either since&nbsp;again,&nbsp;it works every time on windows, as well as other PCs.&nbsp; Any suggestions?
</div>
<div>&nbsp;</div>
<div>thanks,</div>
<div>matt</div>
<div><br>&nbsp;</div>