When mine ('17 CX5) started to have this issue on and off...
I did everything people recommended here... cleaning, insertion again and again, reboot, etc.
No help.
I got a new one from A*m*n for $50, and it works fine so far.
Last thing you can try.
BTW, MID software could sometimes miss a beat...