You could try this patch; apply, then run "cd /sys/dev/usb && make" before building a new kernel.
However looking at http://lists.freebsd.org/pipermail/freebsd-wireless/2012-November/002601.html I suspect it will not be enough. Index: if_run.c =================================================================== RCS file: /cvs/src/sys/dev/usb/if_run.c,v retrieving revision 1.92 diff -u -p -r1.92 if_run.c --- if_run.c 15 Apr 2013 09:23:01 -0000 1.92 +++ if_run.c 23 Apr 2013 12:31:16 -0000 @@ -254,6 +254,7 @@ static const struct usb_devno run_devs[] USB_ID(RALINK, RT3072), USB_ID(RALINK, RT3370), USB_ID(RALINK, RT3572), + USB_ID(RALINK, RT5370), USB_ID(RALINK, RT8070), USB_ID(SAMSUNG2, RT2870_1), USB_ID(SENAO, RT2870_1), Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.598 diff -u -p -r1.598 usbdevs --- usbdevs 7 Mar 2013 23:39:14 -0000 1.598 +++ usbdevs 23 Apr 2013 12:31:16 -0000 @@ -3348,6 +3348,7 @@ product RALINK RT3071 0x3071 RT3071 product RALINK RT3072 0x3072 RT3072 product RALINK RT3370 0x3370 RT3370 product RALINK RT3572 0x3572 RT3572 +product RALINK RT5370 0x5370 RT5370 product RALINK RT8070 0x8070 RT8070 product RALINK RT2570_3 0x9020 RT2570 product RALINK RT2573_2 0x9021 RT2573 On 2013/04/23 13:15, Christian Doenges wrote: > >Synopsis: "Ralink 802.11 n WLAN" not recognized by run driver > >Category: i386 > >Environment: > System : OpenBSD 5.2 > Details : OpenBSD 5.2 (GENERIC) #278: Wed Aug 1 10:04:16 MDT 2012 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > > Architecture: OpenBSD.i386 > Machine : i386 > >Description: > A device claiming to be a "Ralink 802.11 n WLAN" (no labeling on the > device itself) > is not recognized by the run driver: > > $ dmesg | egrep -i 'wlan|usb|run' > ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, > version 1.0, legacy support > ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > ugen0 at uhub0 port 2 "Ralink 802.11 n WLAN" rev 2.00/1.01 addr 2 > > $ usbdevs -v > Controller /dev/usb0: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > AMD(0x1022), rev 1.00 > port 1 powered > port 2 addr 2: high speed, power 450 mA, config 1, 802.11 n > WLAN(0x5370), Ralink(0x148f), rev 1.01, iSerialNumber 1.0 > port 3 powered > port 4 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > AMD(0x1022), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > > Sorry, but I can not be more specific about the device, there is neither > a model nor manufacturer info on it. > >How-To-Repeat: > Plug in the device. > >Fix: > I suspect that adding 0x5370 to the file sys/dev/usb/usbdevs.h might > fix the problem. > (I did not try this.)