Portál AbcLinuxu, 7. května 2024 05:36

U232-P9

Ovladač: v jádře

Technické parametry

Prevodnik RS232/USB, USB 1.1, 9-pin CANNON

Identifikace pod Linuxem

/proc/bus/usb/devices
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0711 ProdID=0230 Rev= 1.02
S:  Manufacturer=USB-RS232 Interface Converter
S:  Product=USB Ver1.1 Device
S:  SerialNumber=759071
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=2ms
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
/var/log/messages:
Aug  8 10:06:56 localhost /etc/hotplug/usb.agent: Setup mct_u232 for USB product 711/230/102
Aug  8 10:06:56 localhost kernel: usb.c: registered new driver serial
Aug  8 10:06:56 localhost kernel: usbserial.c: USB Serial support registered for Generic
Aug  8 10:06:56 localhost kernel: usbserial.c: USB Serial Driver core v1.4
Aug  8 10:06:56 localhost kernel: usbserial.c: USB Serial support registered for Magic Control Technology USB-RS232
Aug  8 10:06:56 localhost kernel: usbserial.c: Magic Control Technology USB-RS232 converter detected
Aug  8 10:06:56 localhost kernel: usbserial.c: Magic Control Technology USB-RS232 converter now attached to ttyUSB0 (or usb/tt
s/0 for devfs)
Aug  8 10:06:56 localhost kernel: mct_u232.c: Magic Control Technology USB-RS232 converter driver v1.1
#lsusb
Bus 002 Device 002: ID 0711:0230 Magic Control Technology Corp.
string descriptor 2 invalid (24 02; len=36)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0711 Magic Control Technology Corp.
  idProduct          0x0230
  bcdDevice            1.02
  iManufacturer           1 USB-RS232 Interface Converter
  iProduct                2
  iSerial                 3 759071
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval               2
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize         64
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         16
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)

Postup zprovoznění pod Linuxem

modul: mct_u232

Poznámka

Testovano s RH 7.3, kernel 2.4.20 Testovana jen zakladni funkcnost pres minicom, zjisteno vytuhnuti systemu po "echo AT >/dev/ttyUSB0". Minicom fungoval dobre.

Dokument vytvořil: Petr Slansky, 26.8.2003 20:32 | Zobrazeno: 3251×

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

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