As per the google search results I tried recording my TV remote keys to create lirc.conf file. Its creating the conf file, but the 'irw' not detecting the keys .
Not sure anything wrong I am doing while recording the keys in the TV remote.
pi@raspberrypi ~ $ irrecord -d /dev/lirc0 ~/lircd.conf
http://www.lirc.org/html/irrecord.html