Thought I'd share this in case it's useful to someone else.
I bought a broken Analog Discovery on ebay that was described as not recognized by the computer anymore. After opening the case the problem is pretty obvious. The traces for USB D+/D- have sheared off, the traces for 5V and gnd connect towards the front of the connector so they are ok. After bridging the gap on D+/- with some solder it works again. I fixed the the connector in place with some epoxy, so hopefully it won't bend as much and crack the solder bridges.