I bought an Asus Black Diamond Dual Band (2.4Ghz / 5Ghz) Wireless-N USB Adapter (USB-N53). It didn't initially work but once I added it to usbdevs and the if_run driver and now it works. I was inspired by Zahemszky at FreeBSD.org. Only caveat is the driver is only work in 802.11g mode. It seems that the run driver does not support 802.11n yet. usbconfig dump: ugen2.5: <802.11 n WLAN Ralink> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0b05 idProduct = 0x179d bcdDevice = 0x0101 iManufacturer = 0x0001 <Ralink> iProduct = 0x0002 <802.11 n WLAN> iSerialNumber = 0x0003 <1.0> bNumConfigurations = 0x0001 Fix: Patch attached Patch attached with submission follows:
Author: hselasky Date: Fri Aug 17 16:27:11 2012 New Revision: 239358 URL: http://svn.freebsd.org/changeset/base/239358 Log: Add new USB device ID. PR: usb/170688 MFC after: 1 week Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Fri Aug 17 16:01:24 2012 (r239357) +++ head/sys/dev/usb/usbdevs Fri Aug 17 16:27:11 2012 (r239358) @@ -1118,6 +1118,7 @@ product ASUS A730W 0x4202 ASUS MyPal A7 product ASUS P535 0x420f ASUS P535 PDA product ASUS GMSC 0x422f ASUS Generic Mass Storage product ASUS RT2570 0x1706 RT2500USB Wireless Adapter +product ASUS USB_N53 0x179d ASUS Black Diamond Dual Band USB-N53 /* ATen products */ product ATEN UC1284 0x2001 Parallel printer Modified: head/sys/dev/usb/wlan/if_run.c ============================================================================== --- head/sys/dev/usb/wlan/if_run.c Fri Aug 17 16:01:24 2012 (r239357) +++ head/sys/dev/usb/wlan/if_run.c Fri Aug 17 16:27:11 2012 (r239358) @@ -136,6 +136,7 @@ static const STRUCT_USB_HOST_ID run_devs RUN_DEV(ASUS, RT2870_5), RUN_DEV(ASUS, USBN13), RUN_DEV(ASUS, RT3070_1), + RUN_DEV(ASUS, USB_N53), RUN_DEV(ASUS2, USBN11), RUN_DEV(AZUREWAVE, RT2870_1), RUN_DEV(AZUREWAVE, RT2870_2), _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
On Friday 17 August 2012 05:05:54 Thomas V. Crimi wrote: > 170688: patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53 > From: Hi, I think not all chips have the same features. Does the packing say that the stick supports 11n ? --HPS
On Aug 17, 2012, at 12:29 PM, Hans Petter Selasky <hselasky@c2i.net> = wrote: > On Friday 17 August 2012 05:05:54 Thomas V. Crimi wrote: >> 170688: patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53 > Does the packing say that the stick supports 11n ? >=20 Yes, I also see it doing 11n under windows. Knowing that it should = work, though, I'll see if I can dig anything up. I haven't used Wifi = under FBSD in many years. Are there any dump commands that would be helpful to send?
On Friday 17 August 2012 19:51:00 Thomas Crimi wrote: > On Aug 17, 2012, at 12:29 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: > > On Friday 17 August 2012 05:05:54 Thomas V. Crimi wrote: > >> 170688: patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53 > > > > Does the packing say that the stick supports 11n ? > > Yes, I also see it doing 11n under windows. Knowing that it should work, > though, I'll see if I can dig anything up. I haven't used Wifi under FBSD > in many years. > > Are there any dump commands that would be helpful to send? Check the if_run.c when it enables 11n support. --HPS
On Fri, Aug 17, 2012 at 1:36 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: > On Friday 17 August 2012 19:51:00 Thomas Crimi wrote: >> On Aug 17, 2012, at 12:29 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: >> > On Friday 17 August 2012 05:05:54 Thomas V. Crimi wrote: >> >> 170688: patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53 >> > >> > Does the packing say that the stick supports 11n ? >> >> Yes, I also see it doing 11n under windows. Knowing that it should work, >> though, I'll see if I can dig anything up. I haven't used Wifi under FBSD >> in many years. >> >> Are there any dump commands that would be helpful to send? > > Check the if_run.c when it enables 11n support. Adding 11n support is almost done. All I have left to do is to look after one LOR that almost guarantees deadlock. Stay tuned. AK
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
USB id is in the tree (as noted in comment #1)