PS2 Keyboard compatibilty problem in Arduino and Galileo

Hi.
I connected PS2 keyboard to Uno and it worked properly. I used Digital IO 3 for interrupt and IO 4 for data.

I have been trying to do the same for Intel Galileo but it does not work.. Is it because the IO pins in Galileo have different functions ? I read that shields for Arduino Uno is compatible with Galileo so I tried same connection for Galileo also. If not, what other options do I have for using interrupt pins in Galileo ?

Any help would be greatly appreciated ..