The processing I need involves turning off other interrupts, so it probably needs to stay in the kernel.
When i do a dmesg to look at boot messages, I see a line of printouts that seems to pertain to the keyboard
keyboard initilaized.
I greped through the kernel source for this line (it especially helped since "initialized" was misspelled), and grep gave me the following results
root@sparrow:/home/mluk/linuxK# grep -Ri "keyboard initilaized." *
grep: drivers/char/collie_keyb.c: printk("keyboard initilaized.\n");
drivers/char/corgi_keyb.c: printk("keyboard initilaized.\n");
drivers/char/discovery_keyb.c: printk("keyboard initilaized.\n");
drivers/char/poodle_keyb.c: printk("keyboard initilaized.\n");
drivers/char/tosa_keyb.c: printk("keyboard initilaized.\n");
From what I read online, collie, corgi, poodle are codenames for different branches of the Sharp Zaurus development. In particular, it seems like 'tosa' corresponds to SL6000.
So, I'm guessing that tosa_keyb.c is the corresponding driver for my keyboard. Would I be on the right track if I just make my modifications to this file, make a module out of it, and insmod it?
thanks