Ubuntu/Debian Serial-USB Adapter Drivers
From BUG Wiki
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)
- Download the keyspan driver debian archive from here [1]:
- Extract the Debian archive to ./tmp
- Extract the control information from the Debian archive to ./tmp2
- Edit the control information with vi
- Change the line that starts with
- Rebuild the Debian archive with the updated kernel dependencies
- Install the driver with the Debian archive
$ dpkg-deb -x keyspan-ubuntu-2.6.22.deb ./tmp
$ dpkg-deb -e keyspan-ubuntu-2.6.22.deb ./tmp2
$ vi ./tmp2/control
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)
$ mkdir ./tmp/DEBIAN $ mv ./tmp2/* ./tmp/DEBIAN $ dpkg-deb -b tmp keyspan-ubuntu-2.6.22.52.deb
$ sudo dpkg -i keyspan-ubuntu-2.6.22.52.deb
Post driver-install
- Create the device node at /dev/ttyUSB0 with the following parameters
- Unplug/plug Keyspan device
$sudo mknod /dev/ttyUSB0 c 188 0 # (re: Phil above)
