But the TV doesn't detect the notebook, anyway.
Does the notebook detect TV? With other words, when you use FN+F5 are several options available including HDMI option?
I presume your TV has several HDMI ports so if you use HDMI1 switch TV to HDMI1 port and when you do this use FN+F5 key combination on your notebook and chose HDMI option on TV only.