I ran into a similar problem with a Dell. I do not remember the exact command but there is one that will "listen" for key-press and then report "what" key it was. Then I took that information and added some "stuff" to my ?xorg.conf? to get them working correctly (or correctly for me anyway).
On my newer system and newer install of Fedora (7 or might have been 8 when it first released -- so not really all that new
) it picked them up correctly right out of the box.
I'm sorry I can not be more specific at this time. I'll try to remember to look at that system when I'm at home and see if I can't get more specific for you if no one has posted anything more accurately before then...