[OLPC-devel] Software action items and status

Ray.Tseng at quantatw.com Ray.Tseng at quantatw.com
Sun Jul 9 23:19:03 EDT 2006


Ron,
	Assume you have the A test board, NOT pre-A test board.
	You can treat these two portions as a whole, the purpose is to stop the SPI ROM access from EC&KBC, to prepare for the erase/program operations.  	There is conflict between USB keyboard and PS/2 keyboard in InsydeBIOS, we disable the PS/2 support from BIOS side temporarily. It should work in LinuxBIOS.  				

Ray Tseng 7/10/06 

-----Original Message-----
From: devel-bounces at laptop.org [mailto:devel-bounces at laptop.org] On Behalf Of Ronald G Minnich
Sent: Saturday, July 08, 2006 11:36 AM
To: Ray Tseng (曾文瑞)
Cc: david at woodhou.se; walter at laptop.org; mark at laptop.org; devel at laptop.org
Subject: Re: [OLPC-devel] Software action items and status

some questions.

Ray.Tseng at quantatw.com wrote:

> void Before(void)
> {
> BYTE temp
> 	outportb(0x66, 0xD8);		// issue PreReset command to EC 
> 	while (inportb(0x66) & 0x02);

Does this really mean what it looks like? this resets the keyboard controller? What implications does this have for, e.g., the program trying to prompt the user in some way?
> 
> // force KBC into Reset Mode
> 	outportb(0x381, 0xFF);
> 	outportb(0x382, 0x14);
> 	Temp = inport(0x383) | 0x01;
> 	outportb(0x383, Temp);
> }

Is the keyboard actually functional at this point?

thanks
ron
_______________________________________________
Devel mailing list
Devel at laptop.org
http://mailman.laptop.org/mailman/listinfo/devel



More information about the Devel mailing list