Portál AbcLinuxu, 14. června 2025 06:57

LINQ USB LINK CABLE (USL-101)

Ovladač: v jádře

Technické parametry

USB 1.1 kabel s chipem Prolific PL-2301 pro propojeni dvou PC pres USB port. Prenosova rychlost 4-8Mbps.

http://www.svethardware.cz/sh/sh1.nsf/v/25790DAD1FBFB566C12568930052A894
http://www.prolific.com.tw/fr_products.htm

Identifikace pod Linuxem

lsusb:
Bus 001 Device 007: ID 067b:0000 Prolific Technology, Inc. PL2301 USB-USB Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x067b Prolific Technology, Inc.
  idProduct          0x0000 PL2301 USB-USB Bridge
  bcdDevice            0.00
  iManufacturer           1 Prolific Technology Inc.
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          1
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)


ifconfig (2.4.x):
usb0      Link encap:Ethernet  HWaddr D0:9A:C7:C8:45:45
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

/var/log/messages: Jun 3 11:50:59 duronek kernel: usb.c: registered new driver usbnet Jun 3 11:50:59 duronek kernel: usb0: register usbnet 001/008, Prolific PL-2301/PL-2302

Postup zprovoznění pod Linuxem

http://www.linux-usb.org/USB-guide/x555.html

kernel 2.2.x: modul plusb PC1: ifconfig plusb0 192.168.0.1 pointopoint 192.168.0.2 PC2: ifconfig plusb0 192.168.0.2 pointopoint 192.168.0.1

kernel 2.4.x: modul usbnet PC1: ifconfig usb0 192.168.0.1 pointopoint 192.168.0.2 PC2: ifconfig usb0 192.168.0.2 pointopoint 192.168.0.1

Poznámka

Driver pro Win9x je tragicky (nespolehlive, a nejedna se tam o plnohodnotnou sit, ale jen nejakou aplikace ala NC)! Pod Linuxem funguje tento USB2USB kabel spolehlive, jsem spokojen... Testovano na MDK 8.2 s kernelem 2.4.18.

Pry ani Linuxovy driver neni uplne bezproblemovy. Pokud behem pripojeni jeden pocitac prebootujete, tak je potreba USB2USB kabel vytahnout a opetovne pripojit na obou koncich (hw reset). To by znamenalo, ze USB2USB kabel neni vhodny na trvale propojeni, aspon do doby, nez bude opraven driver... Ale mozna se nejedna o chybu driveru, ale chybu hw.

Dokument vytvořil: Petr Slansky, 3.6.2002 11:40 | Zobrazeno: 1816×

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

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