I have used Logitech keyboards and wireless mice on not only H-P but also Dells which I used for 8 years without a bit of trouble, and now even Logitech has a nice matched pair of wireless keyboards and mouse combos that work with Macs. Been using one now for over 5 years on this iMac. Love Logitech Products in fact even my 2.1 computer stereo speakers are by Logitech. LOL
First: try putting the keyboard into a different port (you may have a bad port)try the one the mouse works in since you know that is a good one.
if that does not work:
Did you get a cd with the keyboard? if so load it, if not then download the keyboard drivers from the mfg website.
Its strange but not unheard of.
A forum community dedicated to living sustainably and self sufficiently. Come join the discussion about livestock, farming, gardening, DIY projects, hobbies, recipes, styles, reviews, accessories, classifieds, and more!