On Mon, Jul 27, 2009 at 12:28:32PM +0200, Nils Faerber wrote:
> Bas Wijnen schrieb:
> > For the kernel I'm writing, Iris, I have a better keyboard driver than
> > the code in 2.6.  On average it responds faster to keys, and it takes
> > less processor time.  I'm writing the details here, so they can be
> > ported to Linux if anyone is interested.  The essential parts are
> > interrupts:
> 
> I think I missed some parts of that thread, what is Iris?

That's a long story, which I've told in a separate, long, e-mail. :-)

> I also reworked the JZ keypad driver to a large extend:

I was very happy to see that.  I wanted to use code along these lines,
but wasn't sure if it could work.  Appearantly it could. :-)  Is there a
reason to set the column pin to 1 before setting it to input?  I copied
that part of the driver, but it seems useless.

> Though I also still do not use interrupts... but it work quite well now.

Yes, the problem that using interrupts solves is the amount of cpu time
that scanning uses.  With interrupts, you don't need to scan when no
keys are pressed.  It also gives slightly faster response times to most
key events, but that isn't important, as the response time is fast
enough with about 20 scans per second.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://a82-93-13-222.adsl.xs4all.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to