Dominic,
I wrote a keypad driver for the TS-7800 a couple of years ago. I've since
updated the source so that it works with the latest builds from TS. I don't
know about the TS-7250, but I was under the impression that the TS-7200 and
TS-7800 are compatible. If so, then I'd be interested to know if my driver
works for you. You can find it at my TS-7800 page:
codeconcepts.com/ts-7800
and more specifically at:
codeconcepts.com/ts-7800/src/trunk.
You'll have to create an entry in ts7xxx_board_info[] for your board so that it
will probe (see src/trunk/common/src/ts-7xxx.c).
It's hooked into the linux timer subsystem and so polls every 10ms or so... I
don't like polling for this purpose either, but an interrupt driven solution
requires a bit of custom hardware.
Lemme know if you have any questions,
Greg
--- In "Dom Storey" <> wrote:
>
> I'm struggling with getting a kernel keypad driver to work. I have a TS-7250
> + technologic's 4x4 keypad. I have tried Matthieu's ts72xx driver, but that
> causes my machine to reboot after I hit a couple of keys, and I've looked at
> Hartley Sweeten's ep93xx_keypad driver but I don't seem to get that to
> register at all and I'm not sure if it needs adapting to use the 4x4 keypad.
> Both Matt's and Hartley's drivers cause an oops when I unload them. There
> seem to be all sorts of gpio_keys drivers but none of them seem to work. Has
> anyone else had any positive experiences getting this stuff to work?
>
> The keypad *does* work as I can use the userland keypad example to run, but I
> would prefer an interrupt-driven driver not a wait-loop one.
>
> I'm using a 2.6.32.3 kernel with Matt's patches. I am using the CodeSourcery
> 2009q3 compiler build
>
> thanks Dominic
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|