bad code, can lock up a processor interrupt, kills/freeze the VST host, your daw.
connect directly on motherboard ? bad idea... you are using a driver, it is for the port, behind the port is an interface to the motherboard
this shoudlnt work at all unless you mean, the port is directly on the board ? boards are cheap, and dont work.. you cant fix onboard net/usb/sound, they break..
you should try another computer, if it works there - asume the mobo usb system is broken
start in bios, just turn of all power saving - now the usb port wont shut on/off - this can cure it all