OFW trackpad test woes

Mitch Bradley wmb at laptop.org
Sun Oct 5 14:54:08 EDT 2008

rihoward1 at gmail.com wrote:
> Mitch,
> Just been testing q2e19a and the self test mode is still buggy. I am 
> testing with a G1G1 laptop with Alps trackpad.
> Seen several different things happen.
> I ran the complete self test a couple of times by cold booting with 
> the left rocker  held down.
> 1.) One time when it went into the mouse test phase as soon as I 
> touched the right hand section of the touchpad it left the mouse test 
> and went to the next test.

That could be explained by a queued-up keyboard character causing the 
test to exit early - like if you typed more than one character when 
trying to exit the display test early.  I guess I should flush the input 
queue when starting the mouse test.

> 2.) When I ran test mouse from the ofw prompt the screen was left 
> black until I hit enter a few times.

That's sort of intentional, so you can see the last state of the 
screen.  That has some diagnostic value, but maybe not enough to justify 
the potential confusion.

> 3.) Another problem is when you  run 'test mouse' from the ofw prompt 
> the screen the following may occur:
> "Pressure:    10
> Touchpad protocol botched

This one I haven't seen.  I tried to reproduce it on three different 
machines to no avail.  The dual-mode touchpad protocol is somewhat 
twitchy, especially as regards switching back and forth between 
resistive and capacitive mode.  The Linux driver has gone through any 
number of revisions in hopes of stabilizing the behavior, with only 
partial success.

In light of the fact that we're about to switch to new touchpads, I'm 
inclined to let this one slide.  I'm not sure it's the best use of my 
time to try and beat this particular dead horse.

> mouse selftest failed.  Return code = -1
> ok
> Touchpad test. Both buttons clears screen.  Type a key to exit."
> I can repeat number 3 just by running finger around trackpad while 
> varying pressure.
> On Oct 5, 2008, at 2:48 AM, Mitch Bradley wrote:
>> http://dev.laptop.org/~wmb/q2e19a.rom is a test build that purports 
>> to fix http://dev.laptop.org/ticket/8451#comment:7 (This Time For 
>> Sure !)
>> If anybody is just itching to test a bleeding edge OFW, this is your 
>> chance.  (Okay, so it's not really all that bleeding.  It's not too 
>> different from Q2E18 which is going in the G1G1V2 build.)

More information about the Devel mailing list