Am Montag 19 November 2007 18:26:32 schrieben Sie:
Sorry, bad writing. What I want to say, apanel loads fine and works for the 4
keys. Apanel and fsc_btns works side by side too and (in this case) keys
reported twice, that's the bug.
For my T4010, apanel found 2 devices, devno 1 and 6 both with method=4 chip=4
slave=25. The working keys are scrolldown (reported as prog2), scrollup
(prog1), display rotation (www) and Fn (mail). If I find a way to make the
other keys work, I will happily add it. Currently I have no idea.
By the way, input-kbd segv for apanel on my box. This fixed it for me:
--- orig/apanel.c 2007-11-19 20:41:58.000000000 +0100
+++ apanel.c 2007-11-19 20:44:54.000000000 +0100
@@ -274,8 +274,8 @@
idev->phys = "apanel/input0";
idev->id.bustype = BUS_HOST;
idev->dev.parent = &ap->client.dev;
- idev->getkeycode = apanel_getkeycode;
- idev->setkeycode = apanel_setkeycode;
+ idev->keycode = ap->keymap;
+ idev->keycodesize = sizeof(ap->keymap[0]);
set_bit(EV_KEY, idev->evbit);
Robert
-