But I wanted to now why is it perfectly working in safe mode and not when coming back to normal mode. And also when I remote logged-in to my laptop it perfectly gives the input. And I forgot to mention that it works fine when plugged into laptop.
I have still not found what is causing the problem but when I tried this guy method mentioned in the link below then it was working in safe mode but I still don't know what to do. Please help guys.