It's been a while i'm stuck trying to get my arduino uno to work smoothly with my surface go, a windows tablet with USB type C connection. the bonding between the two is achieved through this usb 3.1 hub. When i try to write a sketch the loading often fails with the following error message:
ser_open(): can't set com-state for "\\.\COM3"
The arduino uno is correctely selected in the IDE and the same hold true for the serial com port, which is recognized.
Troubleshooting i attempted myself:
i tried my arduino uno on a different computer. it seems to work quite well. so we can conclude the board and the usb cable are not faulty.
i shorted the TX and RX pins and through a serial terminal i tried to communicate and receive from the board. only occasionally the board seems to be working. most of the times however the communication 'get stuck' at some point i.e. i do not receive what i try to communicate after a few seconds of communications. when this happens the sketch loading fails as reported.
i tried to search through the processes looking for something asking or making use of the serial port. i did this using microsoft process explorer. nothing seems to be using the com port besides arduino or the serial terminal itself when the board fails.
the troubleshooting suggests the problem having place in the hub, the type-c usb port or with the drivers of the two. where should i go from here? i really want my tablet to work smoothly with arduino :(. .@ other surface and arduino user: which hub do you use to connect the two?
hope to hear from you soon and thank you all in advance. i want to thank big time the developer team too: i think arduino is really what technology should be and what we should struggle towards.