Tag Archives: windows

Building a 64-bit Vim with Python support on Windows 7

I spent a good day trying to build 64-bit vim with Python support, and if I had just known these two tips, I could have saved an enormous amount of time: Install Microsoft .NET Framework 4.0 Make sure Python is in your PATH Part 1: Building Vim I’ve built vim before, quite a few times. […]

Posted in python | Also tagged , , , | 4 Responses

Windows and Linux Serial Port Enumeration

Gathering a list of all available serial ports in a system is a trickier task than you might expect. While it is not difficult, it is rather obscure. On Windows, for example, you are probably used to having serial ports enumerated from COM1 to COM9, and on Linux from /dev/ttyS0 and up. However, modern versions […]

Posted in embedded, python | Also tagged , , , , , | Leave a comment

virtualenvwrapper is for Windows users too!

For a long time I’ve allowed myself to suffer without virtualenvwrapper on Windows because I didn’t think it would work. It turns out I am not only wrong, but that I can use it in all of my daily activity. Virtualenvwrapper provides convenience commands and a central location for storing Python virtualenvs. Virtualenvs are an […]

Posted in python | Also tagged , , , , , | 9 Responses

FTDI USB Serial Port Enumeration on Windows

FTDI is one of the two major manufacturers of USB UART chips, and they provide regularly updated and reliable drivers. Most devices I’ve used don’t bother to implement a custom VID/PID, so you can just use the drivers directly from FTDI. When you connect a large number of USB serial ports, it is often difficult to determine […]

Posted in troubleshooting | Also tagged , , , | 3 Responses

Debugging USB Device Installation on Windows

Recently, I ran into a problem trying to install a USB keyboard on Windows XP at work. Given that HID devices always just work with Windows, I wasn’t quite sure how to go about troubleshooting such a ridiculous problem. My first step was to investigate the problem, repeating the process to see what went wrong. […]

Posted in troubleshooting | Also tagged , , | 16 Responses