In my case it suddenly stopped detecting my device, but from time to time it detected it, which drived me crazy.
After many kills and restarts, it ended up being something wrong with the USB cable. Changing it solved the problem, tho I have no clue why this could happen.