From owner-freebsd-usb@FreeBSD.ORG Thu Jul 18 15:39:02 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D679EE48; Thu, 18 Jul 2013 15:39:02 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6726A5; Thu, 18 Jul 2013 15:39:02 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id s14so1884754qeb.1 for ; Thu, 18 Jul 2013 08:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=icF1Bf3J2Ipxlm2KEU9JOCkk7lPUeDaniI/kcoCw6IQ=; b=zfMKpiBGQH/GyvX3v0ttQ1DRyqOkSpc26tgWhySavYGnmfITHX+W/rL+vWvzerHKmV g21nFr0TF0aVd5sk0m7teEO0rIlvfobC2ZPbn2oHiZfpSBSiE10qw92MhUBuZ8qlo1Wm 75my73/uuqr+TwCm74vRXCUSSSbo+OGAYarB74id8sincX3+XeY7LBR1d/UvfeZ5lQ5Y 0bQxIlY9b0U2AHJopmr5x8vEIaY/V8N7Azmp1Nc8TIRPeibxu+LJkDU7xaJoveyurP0u 0lvaygC6WNFCDsne40S0s9bGMaYheQlkrx+LnU3DOzrYAIQWYWz+057k5qX7Y4DYsh+6 meJw== MIME-Version: 1.0 X-Received: by 10.224.122.66 with SMTP id k2mr14619432qar.47.1374161942000; Thu, 18 Jul 2013 08:39:02 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Thu, 18 Jul 2013 08:39:01 -0700 (PDT) Date: Thu, 18 Jul 2013 17:39:01 +0200 X-Google-Sender-Auth: SwoMlP39CdiFpGsTHACONQxUpMU Message-ID: Subject: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD From: CeDeROM To: "freebsd-usb@FreeBSD.org" , freebsd-net@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 15:39:02 -0000 Hello :-) I have just bought USB WiFi b/g/n dongle from TP-LINK model TL-WN822B Ver:2.0 [1] which use following chipsets: Atheros AR9002U-2NG, Atheros AR7010, Atheros AR9287. It looks nice bacuse it cost ~20EUR it has external antennas and has very good opinions. Now, I start to think that finding Ver:3.0 based on RTL8192CU [2] might be a better choice..? Still I consider Atheros to be a better solution than Realtek..? I have made simple modification of /usr/src/sys/dev/usb/usbdevs and /usr/src/sys/dev/usb/wlan/if_uath.c to get it recognised, but uath driver seems to only support AR5005UG according to manpage. Is there any known driver to operate AR9002 chips? Here is what dmesg shows after my kernel modification/rebuild: ugen1.3: at usbus1 uath0: on usbus1 uath0: could not allocate USB transfers, err=USB_ERR_NO_PIPE device_attach: uath0 attach returned 12 So it looks this driver will not operate with this chipset..? Any hints appreciated! :-) Tomek [1] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2 [2] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v3 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info