Portál AbcLinuxu, 1. května 2025 08:06

USB/RS232 (chip FTDI FT232BM)

Ovladač: v jádře

Technické parametry

Prevodnik USB/RS232; USB 1.1 chip FTDI FT232BM
http://www.ftdichip.com/FTProduct.htm
http://ftdi-usb-sio.sourceforge.net/

Identifikace pod Linuxem

# lsusb
Bus 001 Device 006: ID 0403:6001 Future Technology Devices

# /var/logs/messages:
Nov  8 21:38:34 localhost kernel: hub.c: new USB device 00:06.2-1.4, assigned address 6
Nov  8 21:38:34 localhost kernel: usb.c: USB device 6 (vend/prod 0x403/0x6001) is not claimed by any active dri
ver.
Nov  8 21:38:39 localhost /etc/hotplug/usb.agent: Setup ftdi_sio for USB product 403/6001/400
Nov  8 21:38:39 localhost kernel: usb.c: registered new driver serial
Nov  8 21:38:39 localhost kernel: usbserial.c: USB Serial support registered for Generic
Nov  8 21:38:39 localhost kernel: usbserial.c: USB Serial Driver core v1.4
Nov  8 21:38:39 localhost kernel: usbserial.c: USB Serial support registered for FTDI SIO
Nov  8 21:38:39 localhost kernel: usbserial.c: USB Serial support registered for FTDI 8U232AM
Nov  8 21:38:39 localhost kernel: usbserial.c: FTDI 8U232AM converter detected
Nov  8 21:38:39 localhost kernel: usbserial.c: FTDI 8U232AM converter now attached to ttyUSB0 (or usb/tts/0 for
 devfs) 
Nov  8 21:38:39 localhost kernel: ftdi_sio.c: v1.2.1:USB FTDI Serial Converters 

# /proc/bus/usb/devices:
T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6001 Rev= 4.00
S:  Manufacturer=FTDI
S:  Product=USB <-> Serial
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

# lsusb -v
Bus 001 Device 006: ID 0403:6001 Future Technology Devices 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0403 Future Technology Devices
  idProduct          0x6001 
  bcdDevice            4.00
  iManufacturer           1 FTDI
  iProduct                2 USB <-> Serial
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower               90mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 USB <-> Serial
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)

Postup zprovoznění pod Linuxem

modul: ftdi_sio, usbserial, usbcore

http://ftdi-usb-sio.sourceforge.net/

Poznámka

Testovano pod MDK 9.2 (kernel 2.4.21-0.32mdk)

Dokument vytvořil: Petr Slansky, 8.11.2004 22:00 | Zobrazeno: 3098×

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.