I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
IR keyboard patch and new webpage

New MessageIR keyboard patch and new webpage (modified 0 times) scratchy
Profile
I've been looking further into the IR keyboard key-rollover problem, and have created a patch to the keyboard driver. The problem seems to be that when two keys are momentarily pressed simultaneously, the second key incorrectly starts auto-repeating when the first is released. It appears that this is a problem in either the IR keyboard control logic on the Webpal board or in the keyboard itself. I reflashed a Webpal with the original Newcom code and found that the keyboard has exactly the same problem as when running the Linux kernel. This problem makes it extremely difficult to type at anything faster than a snail's pace!

Based on the experimentally-determined timing characteristics of the incorrect key sequences coming from the keyboard, I modified the IR keyboard driver to attempt to detect this situation and filter the incorrectly-repeated keys. I'm sure my algorithm is not perfect and that it could use improvement. But, it seems to work quite well for me. And, I can actually type normally now.

There is a different problem I have also noticed occasionally which sometimes causes the last key pressed to auto-repeat, even when the key has been released. This patch does not address that problem.

Anyway, the patch can be found on a new Webpal webpage I put up recently:

http://www.anycities.com/user/webpal

(Note that Bill's instructions to modify the keyboard driver Makefile manually must still be followed to enable the IR keyboard)

Feedback is more than welcome.

11-18-2002 01:30:50

New MessageIs there any way to look into the code in ATMEL controller ? (modified 0 times) newbee
Profile
As the title.. is there any way to look into the code in
the ATMEL microcontroller that interfaces the IR kbd and
the ARM processor ? It could be just it.

Well, it could be just the kbd as you said, though.
Would the repeating last key stops if you press some other key ?
Otherwise, that could be just a stuck key. :)

I found that sometimes my webpal (not hacked yet though) does not
recognise some of the key strokes from the remote. I hope I don't need
that remote that often after I hack it unless I can debug it. Since
the remote has another red led to tell the key stroke visible,
I can tell that it is not the key. But not sure that is the remote's
own problem or webpal itself's problem.. it does not have any
problem with the kbd though. I will try the key repeating thing
with my unit..

11-19-2002 04:32:34

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3