Portál AbcLinuxu, 5. května 2025 08:46

TP-LINK TL-WN821N Ver:2

Technické parametry

Wifi usb adapter 802.11bgn v 2.4GHz. Získal jsem ho dohromady s wifi routerem TP-LINK TL-WR841ND.

Identifikace pod Linuxem

uname -a
Linux debian-kubik 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux

lsusb -d 0cf3:1002 -v

Bus 001 Device 004: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 802.11n [Atheros AR9170]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x0cf3 Atheros Communications, Inc.
  idProduct          0x1002 TP-Link TL-WN821N v2 802.11n [Atheros AR9170]
  bcdDevice            1.06
  iManufacturer          16 ATHER
  iProduct               32 USB2.0 WLAN
  iSerial                48 12345
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0                                                           
      bInterfaceProtocol      0                                                           
      iInterface              0                                                           
      Endpoint Descriptor:                                                                
        bLength                 7                                                         
        bDescriptorType         5                                                         
        bEndpointAddress     0x01  EP 1 OUT                                               
        bmAttributes            2                                                         
          Transfer Type            Bulk                                                   
          Synch Type               None                                                   
          Usage Type               Data                                                   
        wMaxPacketSize     0x0200  1x 512 bytes                                           
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      0
Device Status:     0x0000
  (Bus Powered)

Postup zprovoznění pod Linuxem

Je nutný firmware. V Debianu sice existuje balíček firmware-atheros, ve kterém je uveden použitý čip, ale ty soubory asi nejsou to pravé. Je nutné stáhnout carl9170-1.fw, například z http://wireless.kernel.org/en/users/Drivers/carl9170 a umístit do adresáře s firmwarem (v Debianu /lib/firmware).

Dokument vytvořil: kubik, 9.11.2011 20:23 | Zobrazeno: 945×

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

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