USB keyboard no longer works in one USB port on a MacBook
I have the same problem. Have you tried resetting SMC and NVRAM?

Sometimes a SMC and NVRAM reset might solve weird issues, but in my case they didn't fix the problem.