USB Serial driver issue on Windows 10

376 views
Skip to first unread message

Eric Netherland

unread,
Dec 12, 2015, 2:34:38 PM12/12/15
to TouchKeys
Hi fellow Touchkey users,

There is a known issue with the usbser.sys USB serial driver on Windows 10. Unfortunately, this is preventing the Touchkeys control application to connect to the device COM port on Windows 10. Apparently this driver was re-written and has caused issues for many others as well. The following link is an example:

I have debugged the code and can confirm the error 87 issue. I tried replacing the usbser.sys file with a copy from windows 8.1 but this did not work for me.
I'll post a solution if I find one.

Eric

Andrew McPherson

unread,
Dec 13, 2015, 12:35:43 PM12/13/15
to Eric Netherland, TouchKeys
Hi Eric,

Thanks for looking into this. It sounds like a more general USB serial issue with Windows 10. 

While we wait for someone to find a fix to that, though, I wonder about trying a workaround: the broken function GetDefaultCommConfig() is used for detecting valid ports but not actually for opening the port itself. If you change the code in availableTouchkeyDevices() to automatically add all COMx ports without checking them (or alternatively, ignoring error 87), does the TK device still open and run properly if you select the right port?

Andrew

--
You received this message because you are subscribed to the Google Groups "TouchKeys" group.
To unsubscribe from this group and stop receiving emails from it, send an email to touchkeys+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Netherland

unread,
Dec 13, 2015, 3:52:34 PM12/13/15
to TouchKeys, ericnet...@gmail.com
Hi Andrew,

I tried your idea and it works. The COM port opens and functions normally if you explicitly add it in the code. I'll play around with ignoring the error to see if the detection can still be used rather than having to remember which port the Touchkey hardware is on. Then you could add a condition for win10 to trigger the workaround.

Thanks!
Eric

Guy Hawke

unread,
Aug 31, 2016, 6:38:09 PM8/31/16
to TouchKeys, ericnet...@gmail.com
So yes Touch Keys works with Windows 10??

Eric Netherland

unread,
Sep 5, 2016, 12:52:45 AM9/5/16
to TouchKeys, ericnet...@gmail.com
Hi Guy,

As far as I know, no changes to the open source project have been made to add support for Windows 10. I made a software workaround that resolves the problem for my own needs and gave a copy of that to Andrew.
I'm happy to contribute my changes to a public repository but there is no Windows configuration up on the published site:

Eric
Reply all
Reply to author
Forward
0 new messages