metaruss

Keyspan USB to Serial Converter Driver

by on Oct.29, 2008, under Linux

Update 01/17/2012: Sorry for the broken links. I think I lost some .htaccess magic when moving around my site hosting. I’ve been using my Keyspan on my Debian box running the stock 2.6.32 kernel and have not had issues. That’s why this page is so stale…I forgot all about it.

This driver source code and firmware was taken directly from the kernel.org sources and packaged as a kernel module.  It supports several of the Keyspan “USA” Series USB to Serial converters.  This driver was removed from official Debian kernel sources due to its change in status as “non-free” per the Debian Free Software Guidelines (DFSG).  This was the result of some unclear language in the license found in the firmware header files.

I had invested in several of these dongles due to their quality, performance, and good Linux support.  Debian is the only distribution that is not happy with the licensing terms.  Even Ubuntu (a Debian-derived distribution) has added this driver back to its kernels.  I was a bit frustrated by this and have decided to package the driver for other Debian users.

Source Packages

The sources can currently be built for 2.6.18 and 2.6.26 kernels intended for Debian GNU/Linux 4.0 “etch” and Debian GNU/Linux 5.0 “lenny”, respectively.  Other kernels are likely supported as well, but will require Makefile and possibly source modifications due to internal API changes between kernel versions. You should be able to build the module by installing the keyspan-source package and then using module-assistant: “m-a prepare; m-a auto-install keyspan”.

Binary Packages

Debian GNU/Linux 4.0 “etch”:

Debian GNU/Linux 5.0 “lenny”:

Changes from Original Source

  • Created Makefile to build outside of kernel tree.
  • Initial release based on Linux Kernel 2.6.18.8 for Etch.
  • Added driver source and firmware from 2.6.26.6 for Lenny.
  • Modified Makefile to build for either kernel tree.
  • Added preinst script to divert existing keyspan module.
:,
6 comments for this entry:
  1. Avatar
    Bill Gatliff

    Thanks so much for these files! Any word on an amd64 .deb, or a quick procedure for creating one myself? Thanks!

  2. Avatar
    Russ

    I’ll probably build one at some point, since that machine will inevitably be upgraded.

  3. Avatar
    Russ

    I’ve added some details for building the source package.

  4. Avatar
  5. Avatar
    Bill Gatliff

    Question. Instead of modifying the kernel-specific keyspan.[ch] to incorporate the firmware files, could we not just include them as standalone objects in the output package, and install them under /lib/firmware just like how the original keyspan files do?

    That would make keeping the keyspan.[ch] files up-to-date a lot easier…

  6. Avatar
    vostod

    I’ve been wrestling with getting my Keyspan USA-19HSA to work for a couple of days, but haven’t found much.

    I’m running kernel 2.6.37 on an iomega iconnect (kirkwood marvell – ARM architecture)

    could you give me some direction in how to install these drivers there?

Leave a Reply

Search

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact me.

Sites that interest me

A few highly recommended friends...

Meta