I know Lord Shiva showed his love towards Lord Vishnu by incarnating as Hanuman during Rama Avatar. But Hanuman didn't know he was incarnation of Shiva/ Vayu. (i think he still doesn't know it).

I read Hanuman's first meeting with Rama but i didn't find any reason why Hanuman became ardent devotee of Lord Rama. Lord Hanuman always chants name of Rama.

* Can anyone explain the reason behind his devotion to Rama?
* Did Hanuman know that Rama was avatar of Vishnu?

**Note:** Shiva Purana says Hanuman is devotee of Rama.

The Chapter [**Incarnation of Hanumat**" in "**Satarudrasamhita**" of **Shiva Purana**](http://dspace.wbpublibnet.gov.in:8080/jspui/bitstream/10689/12959/4/Chapter2_1149-1228p.pdf)" (Pg No- 1154) says " ***Himself a leader of devotees, he made Rama and Sita happy. He, Lord of Monkeys, established cult of devotion to Rama in the World***". Shiva Purana says Hanuman was born for Rama's work. No specific reason was mentioned for his devotion.