Difference between revisions of "USB to serial adapter"

From ArmadeusWiki
Jump to: navigation, search
m (Usage)
(Tested materials)
Line 6: Line 6:
 
The commercial adapters can be separated in 2 categories, because there are only 2 USB<->serial low cost chipmakers:
 
The commercial adapters can be separated in 2 categories, because there are only 2 USB<->serial low cost chipmakers:
 
* FTDI one
 
* FTDI one
* Prolific one
+
* Prolific one (pl23xx)
 +
 
 +
{| border="1" cellpadding="5" cellspacing="0" summary="Adapters"
 +
|- style="background:#efefef;"
 +
!'''Model''' || Chip || '''Status''' | '''Driver''' || '''Comments'''
 +
|----------------
 +
|'''Trendnet TU-S9''' || pl2303 || NT || NA
 +
|----------------
 +
|''' ''' || style="background:#00ff00;" |working || NT || NA
 +
|----------------
 +
|}
  
 
==Installation==
 
==Installation==

Revision as of 14:18, 14 December 2008

Page under construction... Construction.png Informations on this page are not guaranteed !!

This type of adapter allows you to add several serial (RS232) ports to your APF board, through the USB Host interface (only available on DevFull & APF27)

Tested materials

The commercial adapters can be separated in 2 categories, because there are only 2 USB<->serial low cost chipmakers:

  • FTDI one
  • Prolific one (pl23xx)
Model Chip Driver Comments
Trendnet TU-S9 pl2303 NT NA
working NT NA

Installation

$ make linux-menuconfig
Device Drivers  ---> [*] USB support  ---> <M>   USB Serial Converter support
Device Drivers  ---> [*] USB support  ---> <M>   USB Serial Converter support  ---> <M>   USB FTDI Single Port Serial Driver
Device Drivers  ---> [*] USB support  ---> <M>   USB Serial Converter support  ---> <M>   USB Prolific 2303 Single Port Serial Driver

$ make

copy following drivers on your target or reflash your rootfs (for more infos, see this page)

drivers/usb/serial/ftdi_sio.ko
drivers/usb/serial/pl2303.ko
drivers/usb/serial/usbserial.ko

Usage

Load the module, for example if you have a Prolific based adapter:

# modprobe pl2303

usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for pl2303
pl2303 1-1.1:1.0: pl2303 converter detected
usb 1-1.1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
#

Links