Portál AbcLinuxu, 5. května 2025 06:30

TP-LINK TL-WN821N Ver:3.1

Technické parametry

Wifi usb adapter 802.11bgn v 2.4GHz

Identifikace pod Linuxem

lsusb -d 0cf3:7015 -v
Bus 001 Device 007: ID 0cf3:7015 Atheros Communications, Inc. 
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          0x7015 
  bcdDevice            2.02
  iManufacturer          16 ATHEROS
  iProduct               32 USB WLAN
  iSerial                48 12345
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           60
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           6
      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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 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     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
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      1
Device Status:     0x0000
  (Bus Powered)

Postup zprovoznění pod Linuxem

Ovladac je primo v jadre. Zkouseno na Ubuntu 10.10.

Linux version 2.6.38-10-generic (buildd@vernadsky) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011

Poznámka

Vypis jadra:
[13600.958312] usb 1-1.2: new high speed USB device using ehci_hcd and address 7
[13601.404493] usb 1-1.2: ath9k_htc: Transferred FW: ar7010_1_1.fw, size: 70624
[13601.468111] usb 1-1.2: ath9k_htc: HTC initialized with 45 credits
[13601.889407] ath: EEPROM regdomain: 0x809c
[13601.889413] ath: EEPROM indicates we should expect a country code
[13601.889418] ath: doing EEPROM country->regdmn map search
[13601.889422] ath: country maps to regdmn code: 0x52
[13601.889427] ath: Country alpha2 being used: CN
[13601.889430] ath: Regpair used: 0x52
[13601.889436] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[13601.889443] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889448] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[13601.889454] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889458] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
[13601.889464] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889469] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
[13601.889475] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889479] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
[13601.889485] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889490] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
[13601.889496] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889500] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
[13601.889506] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889511] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
[13601.889517] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889521] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
[13601.889527] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889532] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
[13601.889538] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889542] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
[13601.889548] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000 mBm)
[13601.889553] cfg80211: Disabling freq 2467 MHz as custom regd has no rule that fits a 20 MHz wide channel
[13601.889558] cfg80211: Disabling freq 2472 MHz as custom regd has no rule that fits a 20 MHz wide channel
[13601.889563] cfg80211: Disabling freq 2484 MHz as custom regd has no rule that fits a 20 MHz wide channel
[13601.889761] cfg80211: Ignoring regulatory request Set by core since the driver requires its own regulaotry domain to be set first
[13601.897524] cfg80211: Pending regulatory request, waiting for it to be processed...
[13601.898619] Registered led device: ath9k-phy1::radio
[13601.898887] Registered led device: ath9k-phy1::assoc
[13601.900294] Registered led device: ath9k-phy1::tx
[13601.900494] Registered led device: ath9k-phy1::rx
[13601.900500] usb 1-1.2: ath9k_htc: USB layer initialized
[13601.900595] usbcore: registered new interface driver ath9k_hif_usb

Dokument vytvořil: Rockfire, 31.7.2011 12:12 | Zobrazeno: 1169×

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

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