TracNav
- Home
- Research Overview
- MPhil Information
Research Projects
- Wireless Comms
- Bat System
- Broadband Phone
Visual tags
- Sentient Vehicles
- Task Assignment
- NLMaP
- Computing for the Future of the Planet
- SESAME
- Active Floor
- Open-Source CSK Energy
Development Info
DTG Local Pages
- Cambridge Weather
- Contact Details
USB to RS232 Adapters
Author: Jonathan Davies
This page describes how to get an AlphaMicro Components RS232 to USB converter (model AMC-232USB01) working under Linux.
The adapter cable contains a Future Technology Devices International (FTDI) FT232BM-compatible chip. See http://www.ftdichip.com/Products/FT232BM.htm for further details.
Unfortunately, the FTDI driver supplied with Linux 2.6.11 is not compatible with this particular cable: it does not recognise the device ID, 0xFF00, as being an FT232BM-compatible device. The attached patch addresses this issue. The patch can be applied as follows:
cd /usr/src/linux/drivers/usb/serial patch -p1 < ftdi-sio-amc232usb01.patch
Once the patch has been installed, the ftdi-sio module should be recompiled:
cd /usr/src/linux make && make modules_install
And finally the module can be inserted using:
modprobe ftdi-sio
When the adapter cable is inserted, dmesg reports:
usb 1-4.3: FTDI FT232BM Compatible converter now attached to ttyUSB0
Now, the device /dev/ttyUSB0 will behave like any other serial port device.
Attachments
-
ftdi-sio-amc232usb01.patch
(1.2 KB) - added by jjd27
8 years ago.
Patch for ftdi-sio driver to permit use of AMC-232USB01 USB to RS232 adapter cable
-
amc232usb01.png
(182.8 KB) - added by jjd27
8 years ago.
picture of the cable
