Thank you for your suggestions.
Yes, I have yamaha 675 and I made sure that subwoofer is set to on. The gain nob is turned to something like 80% way.
I tested the cable with another subwoofer and it worked fine. In fact what I noticed is, the subwoofer correctly switches to ON mode when I am playing music on Auto setting. I removed the amp and did not notice anything wrong. No signs of burns or loose connections. I will take out woofer and see what happens.
I am pretty sure its something with subwoofer because I connected other subwoofer in place and it worked fine.