Thu, 15 Dec 2005 16:27:00 GMT
Treo 650 Keypad Works
Using the PXA matrix keypad driver from the LifeDrive Linux port, I managed to get full keyboard support for the Treo 650. It took a lot of manual keyboard matrix decoding, but you can now type into the Busybox shell!
I need to figure out why Busybux isn’t accepting the KP_ENTER key as a proper return. I’ll bet it’s some sort of userspace keyboard mapping, but I’ve never played with that sort of thing.

Need a hand with userspace debugging?
Have you tried toggling num-lock? The keypad enter doesn’t work for me under X when num-lock is off, strangely enough it does work in the console, but quite likely that’s Gentoo fiddling with the keyboard mappings.
Have you tried using KEYENTER instead, or is there a reason you want to use KPENTER?
Alex,
Actually, it turned out that I had misconfigured one of the GPIOs for the matrix keyboard. Once I switched to an alternate GPIO everything started working.
BTW, I started reading through your patches for the Lifedrive stuff and I think I can re-use most of it! The keypad driver I’m using is the same one you’ve written for the LifeDrive, with extra rows and columns for the many extra keys.
Matt,
Feel free to drop by irc.shadowmite.com:3399, channel #shadowmite. We can use people interested in doing kernel or userspace work there.
Whoops… that’s KPENTER typo. I meant that I used KEYENTER. Before I realized that a whole column wasn’t working I tried switching to KEY_KPENTER, which didn’t work either. :)