The keyboard and trackpad on my macbook pro 3.1 stopped working after having frozen the operating system and reboot.
On my Mac I have Windows installed BootCamp and neither does the keyboard and trackpad.
However, I work a keyboard and mouse connect via USB external. You do not know if it really is a problem hardware or software.
Best Answer
For some possible solutions check out:
Solution 1
http://gigaom.com/apple/the-curious-case-of-the-missing-macbook-pro-keyboard-and-trackpad/
Solution 2
http://jasonrobb.com/v2/2008/11/24/macbook-pro-unresponsive-keyboard-trackpad-solution/
Solution 3 (Apple)
Apple support forum dedicated solely to this issue: https://discussions.apple.com/thread/1365569?start=270&tstart=0