[#5228] adp5520 keys doesn't function on branch head kernel
Submitted By: Mingquan Pan
Open Date
2009-06-11 00:23:55 Close Date
2009-06-16 05:06:54
Priority:
Medium High Assignee:
Michael Hennerich
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
09r1-r7
App binary format:
N/A
Summary: adp5520 keys doesn't function on branch head kernel
Details:
adp5520 keys doesn't function on branch head kernel, the event test case doesn't have receiving info printed when hitting the button on adp5520. while the led cases works ok.
root:/> event_test /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x1 product 0x5520 version 0x1
Input device name: "adp5520-keys"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event type 1 (Key)
Event code 2 (1)
Event code 3 (2)
Event code 4 (3)
Event code 5 (4)
Event code 6 (5)
Event code 7 (6)
Event code 8 (7)
Event code 9 (8)
Event code 10 (9)
Event code 11 (0)
Event code 12 (Minus)
Event code 13 (Equal)
Event code 14 (Backspace)
Event code 28 (Enter)
Event code 41 (Grave)
Event code 43 (BackSlash)
Testing ... (interrupt to exit)
^Croot:/>
root:/>
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1-svn6635, build #2 Thu Jun 11 11:56:49 CST 2009
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-8268, build #1 Thu Jun 11 11:55:57 CST 2009
Follow-ups
--- Michael Hennerich 2009-06-15 04:04:55
On the ADP5520 Demo Board:
How did you set J1 to J8 when testing the keypad?
-Michael
--- Mingquan Pan 2009-06-16 05:06:54
Yes, after setting J1-J8 to KP, the keys on adp5520 board works.
root:/bin> modprobe adp5520-keys
input: adp5520-keys as
/devices/platform/i2c-bfin-twi.0/i2c-adapter/i2c-0/0-0032/adp5520-keys.5520/input/input0
root:/bin> event_test /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x1 product 0x5520 version 0x1
Input device name: "adp5520-keys"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event type 1 (Key)
Event code 2 (1)
Event code 3 (2)
Event code 4 (3)
Event code 5 (4)
Event code 6 (5)
Event code 7 (6)
Event code 8 (7)
Event code 9 (8)
Event code 10 (9)
Event code 11 (0)
Event code 12 (Minus)
Event code 13 (Equal)
Event code 14 (Backspace)
Event code 28 (Enter)
Event code 41 (Grave)
Event code 43 (BackSlash)
Testing ... (interrupt to exit)
Event: time 285903.656000, type 1 (Key), code 41 (Grave), value 1
Event: time 285903.656000, type 0 (Reset), code 0 (Reset), value 0
Event: time 285903.968000, type 1 (Key), code 41 (Grave), value 0
Event: time 285903.968000, type 0 (Reset), code 0 (Reset), value 0
Event: time 285904.660000, type 1 (Key), code 5 (4), value 1
Event: time 285904.660000, type 0 (Reset), code 0 (Reset), value 0
Event: time 285904.920000, type 1 (Key), code 5 (4), value 0
Event: time 285904.920000, type 0 (Reset), code 0 (Reset), value 0
Event: time 285905.996000, type 1 (Key), code 9 (8), value 1
Event: time 285905.996000, type 0 (Reset), code 0 (Reset), value 0
Event: time 285906.176000, type 1 (Key), code 9 (8), value 0
Event: time 285906.176000, type 0 (Reset), code 0 (Reset), value 0
So close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found