Today I wanted to use my Keyspan USB-to-Serial adapter on my Ubuntu (gutsy) box. Unfortunately, Ubuntu doesn’t ship with a driver for this because of some licensing restrictions. So after trying a few things the hard way, I found out an easy way to build the drivers.
Follow these steps.
Note: Wherever I use “amd64” in the below examples you’ll need to replace with your architecture if you’re not on 64-bit Intel or AMD.
Grab the kernel source package:
1 2 3 4 5
If you don’t already have the Ubuntu tools for building packages, you’ll need to run:
Now edit the following file:
Add the following under the line that reads
1 2 3 4 5 6 7 8 9 10 11 12 13
Rebuild the kernel like so:
And now install it:
You should now be able to insert a Keyspan USB-to-Serial adapter into the USB port and it’ll be recognized as
dmesg for any errors.