On Thu, 25 Mar 2010, 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 sorry I can't specifically help, but some points,
just because it's in the kernel, doesn't mean it's interupt driven
there are timer driven loop drivers
just because it is a userland wait-loop program doesn't mean it has
to be horribly inefficient.
of course you can do timer driven userland "drivers"
It might just be simpler overall to do a good userland "driver".
------------------------------------
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/
|