This is what I had suspected all along, but I was hoping to get someone to take waveforms of SERIRQ and the PS/2 line showing broken, and then proper operation. Do you have those waveforms? Just changing settings until things work is very dangerous. Checking them into a code tree without proper validation is also dangerous.
<br><br>Also, can you (quanta) audit the PRS? The platform designers are really the ones who should know about the hardware, and can create recommended settings.<br><br>Tom<br><br><div><span class="gmail_quote">On 9/21/06,
<b class="gmail_sendername"><a href="mailto:Vance.Ke@quantatw.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Vance.Ke@quantatw.com</a></b> <<a href="mailto:Vance.Ke@quantatw.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Vance.Ke@quantatw.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>We find where is the main problem. There are two MSR registers needed to set correctly in LinuxBIOS. One is 0x51400025 (IRQ Mapper LPC Mask) , setting its value for 0x00001002 ; the other one is 0x5140004E (LPC Serial IRQ Control) , setting its value for 0xEFFD0080.
<br><br>Thanks.<br><br>Best regards,<br>Vance<br><br>================================================================<br>-----Original Message-----<br>From: <a href="mailto:devel-bounces@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
devel-bounces@laptop.org
</a> [mailto:<a href="mailto:devel-bounces@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">devel-bounces@laptop.org</a>] On Behalf Of Tom Sylla<br>Sent: Thursday, September 21, 2006 11:17 AM
<br>To: Mitch Bradley<br>Cc: Ray Tseng (曾文瑞); <a href="mailto:devel@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
devel@laptop.org</a>; <a href="mailto:Warp@debian.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Warp@debian.org</a><br>Subject: Re: Touchpad testing.<br><br>Mitch Bradley wrote:<br>> Will do. I'm currently writing a PRS parser that will run in my diag
<br>> environment, so I can do PRS verification without having to install
<br>> giant wads o' TCL.<br><br>Ah, people aren't understanding the PRS parser. You run it in FS2. You<br>don't need wads of TCL, it comes with your FS2 installation.<br><br>In FS2:<br> source PRSCheck.tcl<br><br>and have the prs file in the same dir, and it will run. It reads the
<br>MSRs, I/Os, etc through JTAG, and checks them. The PRS is always going<br>to be very dependent on where the thing is run, so porting it to a<br>different environment is usually a bad idea. Part of the OLPC PRS<br>process has to include at what point in the boot to run the PRS.
<br><br><br>> Will a complete PRS scan cover the SERIRQ settings?<br><br>The utility of the PRS is only as good as the quality of the input file.<br>The LPC section is probably very much wrong, since the specs were not
<br>available, and even now that they are, there will probably still need to<br>be some reverse engineering of the way the IRQs work.<br><br><br>><br>> Tom Sylla wrote:<br>>> look at SERIRQ. It will probably be in continuous mode, where it
<br>>> shouldn't be or the polarity settings will be wrong. None of the EC<br>>> init is being done, there is no "super I/O" configured into LB. The<br>>> 5536 config is a best guess back when the EC spec was not available,
<br>>> so that is probably wrong too. If you look at the PS/2 and SERIRQ at<br>>> the same time, the answer will just fall out.<br>>><br>>> Mitch Bradley wrote:<br>>>> These pictures show what happens on the OLPC board when you
<br>>>><br>>>> a) Don't drain the queue (QueueHoldoff.png)<br>>>> b) Drain the queue every so often (RateControl.png)<br>>>><br>>>> Conclusion: the EC is able to handle normal-rate mouse reports when the
<br>>>> software services it at the correct rate.<br>>><br>><br>><br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Devel@laptop.org</a>
<br><a href="http://mailman.laptop.org/mailman/listinfo/devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mailman.laptop.org/mailman/listinfo/devel</a><br><br><br></blockquote></div><br>