Keyboard and trackpad failure

One morning my keyboard and trackpad stopped working. External keyboard and mouse worked fine. I put in a new trackpad wire but still didn’t fix the problem. However I found that only when the trackpad wire is disconnected, the keyboard backlight will turn on. I wonder what’s the problem, many thanks.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0