Ubuntu/Debian Serial-USB Adapter Drivers

From BUG Wiki

Jump to: navigation, search

Contents

Keyspan Drivers

Kernel version 2.6.22.52

You may need to repackage the driver with dependencies for your kernel version. It works with 2.6.22.52. If you download and install it without any complaints about dependencies, skip down.

Other kernel versions

To install the debian package according to your own kernel version, try following these steps (from Denis Lemire's Site: Keyspan USA-19HS on Gutsy Gibbon)

  1. Download the keyspan driver debian archive from here [1]:
  2. Extract the Debian archive to ./tmp
  3.  $ dpkg-deb -x keyspan-ubuntu-2.6.22.deb  ./tmp
    
  4. Extract the control information from the Debian archive to ./tmp2
  5.  $ dpkg-deb -e keyspan-ubuntu-2.6.22.deb  ./tmp2
    
  6. Edit the control information with vi
  7.  $ vi ./tmp2/control
    
  8. Change the line that starts with
  9.  Depends: linux-image-2.6.22-14-generic (= 2.6.22-14.52)
    

    to:

     Depends: linux-image-2.6.22-14-generic (>= 2.6.22-14.##)
    

    Where ## is your kernel version.

    (vi commands: place the cursor over the ##s that differ from your version and hit the r key. Then insert your numbers. Hit the : key, then wq to write and quit vi)

  10. Rebuild the Debian archive with the updated kernel dependencies
  11.  $ mkdir ./tmp/DEBIAN
     $ mv ./tmp2/* ./tmp/DEBIAN
     $ dpkg-deb -b tmp keyspan-ubuntu-2.6.22.52.deb
    
  12. Install the driver with the Debian archive
  13.  $ sudo dpkg -i keyspan-ubuntu-2.6.22.52.deb
    

Post driver-install

  1. Create the device node at /dev/ttyUSB0 with the following parameters
  2.  $sudo mknod /dev/ttyUSB0 c 188 0      # (re: Phil above)
    
  3. Unplug/plug Keyspan device

Next

Ubuntu/Debian_Serial_Terminal