So I ended up ditching the USB hub and connected the phidgets directly to the computer. (Originally I had the hub so that I only had one USB cord to route out of the control box.) For the past couple of days I haven't any sporadic detaches. Before this I had tried three different hubs and with each one I got detaches. So it looks like there was some weird interaction between the hubs and the computer.