you can test the keyboard out using UnleashX, just to see if it works, you can also try running XDSL to see if it works there, it might be a driver problem.
my keyboard works well within xbmc,unleashx,avalaunch,gentoox,xdsl,mouse only works in linux, but i have to unplug the mouse, to boot into linux, if I try to boot while both are plugged in, it locks up.I can boot with a controller, and the keyboard plugged in, but not the mouse.
good luck, maybe try another mouse/keyboard.
my mouse is an old generic HP scroll wheel mouse (came with an old PC) I spliced it.
my keyboard is a Logitech Elite, (not expensive) that I spliced with a switch so I can use it on XBOX or 360.
I know this isnt much help to you, but every lil bit helps eh?