IR Remote model which I am using is “Noah Company MediaGate HA-IR01SV Windows Vista Home Premium and Windows Vista Ultimate MCE Remote Control, 1 Channel IR (Silver)”.

Steps to get it working*Connect the IR receiver to the USB port.

*Install lirc

sudo apt-get install lirc

*In the configuration page shown for lirc during installation, you have to choose the type of remote. Here choose as “Windows Media Center Transceivers/Remotes (all)”. Select OK

*For any of the other selections asked in next configuration pages, proceed with the default option selected.

*To test if setup is proper, open console and enter command “irw”. It should appear to hang, now press buttons in the remote, and you should see the key presses printed on the terminal. Now you are ready to use your remote with XBMC.

References

https://help.ubuntu.com/community/LIRC