I am trying to use a USB keypad (Targus PAUK10) and I am having some difficulty. I want you to know that I am still relatively new to Linux and it may be something quite simple. I am trying to run the keypad off kernel 2.4.18. It is being run on a stand-alone board and will be the only keypad. I only need the keypad for user input to a simple application, key presses don't necessarily need to be sent to the OS if that will make my life easier (I believe I can get the events from evdev).
I load the evdev, keybdev and hid modules and the device seems to register correctly, producing the following:
hub.c: USB new device connect on bus1/2/3, assigned device number 5 input0: USB HID v1.00 Keyboard [099a:5321] on usb1:5.0
When I press a key on the keypad (other than Num Lock) I get the following output and I lose communication with the OS:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<00000000>] lr : [<c00cad08>] Not tainted
sp : c01f9d3c ip : 20000093 fp : c01f9d5c
r10: c3fb4fe0 r9 : 00000000 r8 : c000cea8
r7 : 00000000 r6 : 00000045 r5 : 00000045 r4 : 00000000
r3 : c02353f0 r2 : 00000000 r1 : c01f9d3f r0 : 00000045
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: A3F94000 DAC: 0000001D
Process swapper (pid: 0, stackpage=c01f9000)
Stack: (0xc01f9d2c to 0xc01fa000)
9d20: c00cad08 00000000 60000093 ffffffff 00000000
9d40: 00000045 0000008a 00000001 c6880520 c01f9d7c c01f9d60 c6880110 c00cac5c
9d60: 00000045 c000ce94 00000001 00000001 c01f9d90 c01f9d80 c68801ec c688006c
9d80: 00000045 c01f9db8 c01f9d94 c011cee8 c68801d4 c3e0c000 00000001 c3e0c42c
9da0: c000ce94 00000008 00000000 c01f9dd8 c01f9dbc c6892bfc c011cb60 c000c000
9dc0: c3e0c42c 00000001 c3e0c000 c01f9df4 c01f9ddc c6890f50 c6892a74 c01f9df8
9de0: 00000000 00000000 c01f9e54 c01f9df8 c6891338 c6890f30 00000053 00000000
9e00: 00000000 00000000 00000000 00000000 00000018 00000040 c01f9df8 000000ff
9e20: 00000006 c000ccd4 c000c000 c3d87800 00000001 00000008 c000ccd4 c000c000
9e40: c01f9f5c c0212400 c01f9e78 c01f9e58 c689147c c6890f7c c3a7b2e0 c03ee12c
9e60: c3a7b2e0 c000cc80 c03ee058 c01f9e88 c01f9e7c c68914c8 c6891378 c01f9eb0
9e80: c01f9e8c c0110d28 c68914a8 c3a7b2e0 c03ee12c 00000001 00000000 60000093
9ea0: c0212400 c01f9ecc c01f9eb4 c01123cc c0110bcc 20000013 c03ee058 c0206020
9ec0: c01f9ee8 c01f9ed0 c0111474 c0112364 c020600c 00000000 c01fa080 c01f9f08
9ee0: c01f9eec c002e7dc c0111428 00000001 c01fa0d8 fffffff7 c0212400 c01f9f2c
9f00: c01f9f0c c002e574 c002e770 00000000 00000002 20000000 c0209b5c c0209b1c
9f20: c01f9f58 c01f9f30 c001b194 c002e504 c01f9f90 f8d00000 00000100 c001bd5c
9f40: 60000013 ffffffff a00179e4 c01f9fb4 c01f9f5c c001a4c0 c001b078 00000001
9f60: 00000032 f8e00000 c01f8000 60000013 c001bd18 c01fae3c c020a8d0 c01fac48
9f80: 69052904 a00179e4 c01f9fb4 c01f9fb8 c01f9fa4 c001bd58 c001bd5c 60000013
9fa0: ffffffff c01f8000 c01f9fd0 c01f9fb8 c001b634 c001bd24 00004000 c022ea04
9fc0: c020a8dc c01f9fe0 c01f9fd4 c001a030 c001b5e0 c01f9ffc c01f9fe4 c00088bc
9fe0: c001a00c c020acf0 c023540c c023540c 00000000 c01fa000 c0008080 c0008788
Backtrace:
Function entered at [<c00cac50>] from [<c6880110>]
r7 = C6880520 r6 = 00000001 r5 = 0000008A r4 = 00000045
Function entered at [<c6880060>] from [<c68801ec>]
r7 = 00000001 r6 = 00000001 r5 = C000CE94 r4 = 00000045
Function entered at [<c68801c8>] from [<c011cee8>]
r4 = 00000045
Function entered at [<c011cb54>] from [<c6892bfc>]
Function entered at [<c6892a68>] from [<c6890f50>]
r7 = C3E0C000 r6 = 00000001 r5 = C3E0C42C r4 = C000C000
Function entered at [<c6890f24>] from [<c6891338>]
r6 = 00000000 r5 = 00000000 r4 = C01F9DF8
Function entered at [<c6890f70>] from [<c689147c>]
Function entered at [<c689136c>] from [<c68914c8>]
r8 = C03EE058 r7 = C000CC80 r6 = C3A7B2E0 r5 = C03EE12C
r4 = C3A7B2E0
Function entered at [<c689149c>] from [<c0110d28>]
Function entered at [<c0110bc0>] from [<c01123cc>]
Function entered at [<c0112358>] from [<c0111474>]
r6 = C0206020 r5 = C03EE058 r4 = 20000013
Function entered at [<c011141c>] from [<c002e7dc>]
r6 = C01FA080 r5 = 00000000 r4 = C020600C
Function entered at [<c002e764>] from [<c002e574>]
r7 = C0212400 r6 = FFFFFFF7 r5 = C01FA0D8 r4 = 00000001
Function entered at [<c002e4f8>] from [<c001b194>]
r8 = C0209B1C r7 = C0209B5C r6 = 20000000 r5 = 00000002
r4 = 00000000
Function entered at [<c001b06c>] from [<c001a4c0>]
Function entered at [<c001bd18>] from [<c001b634>]
r4 = C01F8000
Function entered at [<c001b5d4>] from [<c001a030>]
r6 = C020A8DC r5 = C022EA04 r4 = 00004000
Function entered at [<c001a000>] from [<c00088bc>]
Function entered at [<c000877c>] from [<c0008080>]
Code: bad PC value.
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
Thank you very much for your time, Mark
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
