Ok, random person here, but as long as you've got a couple of usb ports, you can always get a cheapo usb keyboard and mouse to use instead.
As far as fixing it, you can try going to (in Windows XP) Control Panel > Keyboard > Hardware > Troubleshoot to see what the official HP line is, and the Hardware window should also tell you what your OS thinks your keyboard is doing. If it says it doesn't recognize your keyboard, try Control Panel > Keyboard > Hardware > Properties > Driver to see if your driver is messed up. On that screen you can update your drivers if it looks like a driver problem.
You can do a similar thing with the mouse by doing Control Panel > Mouse > Hardware.
If your OS recognizes your keyboard and mouse and they still aren't working, it's probably a hardware problem and something you'll have more difficulty fixing yourself. :/
no subject
As far as fixing it, you can try going to (in Windows XP) Control Panel > Keyboard > Hardware > Troubleshoot to see what the official HP line is, and the Hardware window should also tell you what your OS thinks your keyboard is doing. If it says it doesn't recognize your keyboard, try Control Panel > Keyboard > Hardware > Properties > Driver to see if your driver is messed up. On that screen you can update your drivers if it looks like a driver problem.
You can do a similar thing with the mouse by doing Control Panel > Mouse > Hardware.
If your OS recognizes your keyboard and mouse and they still aren't working, it's probably a hardware problem and something you'll have more difficulty fixing yourself. :/