From owner-freebsd-hardware@FreeBSD.ORG Thu Jul 18 17:06:42 2013 Return-Path: Delivered-To: freebsd-hardware@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 3E074B3F; Thu, 18 Jul 2013 17:06:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id 7F62BB9D; Thu, 18 Jul 2013 17:06:41 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so3155716wgh.7 for ; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=aAivkRBM66BfJK6pIGUJ2cx2n9RTIeRBR/yFc6FG5yA=; b=jGkHqGOvJ1fcU9o1ZopUtiWo/tWppBTv8E2tCPf9orCyJPrD9ZqtDpT6iYptoiHsbC ZotvJmOmwNYK9rmZu9Eqx5ovXlM9j3MPW6pfuNJih3IMzDOO3kXBNzQ90HfiGCf2u7PM rKhTW2kGcv5g4lgXGxm7nYkkNBS6dP7rSqPWrJWD65xpLdHKgm0TFBHcKvO0mxjqvCim atsjjmjvtcRYvS3gSWhdle42nvdbzDeVr1BMbOsux57E8Y4JLzLeemUiBmavQ3tOJaeF aRhl87gZTx/BN9oMB8zYGPzCpWix8GdMfXjmIBA32evqAUb7gKO+Dlv9kf18tMUAS0mF 9rbQ== MIME-Version: 1.0 X-Received: by 10.194.11.72 with SMTP id o8mr9510653wjb.0.1374167200553; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Thu, 18 Jul 2013 10:06:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jul 2013 10:06:40 -0700 X-Google-Sender-Auth: HnmeY0EcbnSm-lW2yJR1YmP1YHU Message-ID: Subject: Re: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD From: Adrian Chadd To: CeDeROM Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 17:06:42 -0000 It's not uath. It's a different beast entirely. Basically, it requires someone with USB clue to write the USB glue between the ath(4) and ath_hal(4) code and the USB interface. Look at what ath9k_htc implements. It uses most of ath9k, but it implements a data/control pipe over USB and some commands to tell the firmware to do things (like new/delete client, etc.) -adrian On 18 July 2013 08:39, CeDeROM wrote: > 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 > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"