On Sat, Jan 29, 2011 at 10:25:15PM -0500, Ted Unangst wrote:
> usbdevs -v output:
>
> port 1 addr 2: high speed, power 450 mA, config 1, 802.11 n WLAN(0x3c2c),
> Ralink(0x14b2), rev 1.01, iSerialNumber 1.0
>
> I don't know if it's strictly a 3070, but it's new and very tiny, so it
> seemed like the best guess.
You don't mention if the guess makes it work. :-)
.... Ken
>
> Index: if_run.c
> ===================================================================
> RCS file: /home/tedu/cvs/src/sys/dev/usb/if_run.c,v
> retrieving revision 1.84
> diff -u -r1.84 if_run.c
> --- if_run.c 25 Jan 2011 20:03:35 -0000 1.84
> +++ if_run.c 30 Jan 2011 03:17:32 -0000
> @@ -142,6 +142,7 @@
> USB_ID(CONCEPTRONIC2, RT2870_8),
> USB_ID(CONCEPTRONIC2, RT3070_1),
> USB_ID(CONCEPTRONIC2, RT3070_2),
> + USB_ID(CONCEPTRONIC2, RT3070_3),
> USB_ID(CONCEPTRONIC2, VIGORN61),
> USB_ID(COREGA, CGWLUSB300GNM),
> USB_ID(COREGA, RT2870_1),
> Index: usbdevs
> ===================================================================
> RCS file: /home/tedu/cvs/src/sys/dev/usb/usbdevs,v
> retrieving revision 1.538
> diff -u -r1.538 usbdevs
> --- usbdevs 17 Jan 2011 10:26:43 -0000 1.538
> +++ usbdevs 30 Jan 2011 03:17:46 -0000
> @@ -1207,6 +1207,7 @@
> product CONCEPTRONIC2 C54RU 0x3c02 C54RU WLAN
> product CONCEPTRONIC2 RT3070_1 0x3c08 RT3070
> product CONCEPTRONIC2 RT3070_2 0x3c11 RT3070
> +product CONCEPTRONIC2 RT3070_3 0x3c2c RT3070
> product CONCEPTRONIC2 C54RU2 0x3c22 C54RU
> product CONCEPTRONIC2 VIGORN61 0x3c25 VIGORN61
> product CONCEPTRONIC2 RT2870_1 0x3c06 RT2870
> Index: usbdevs.h
> ===================================================================
> RCS file: /home/tedu/cvs/src/sys/dev/usb/usbdevs.h,v
> retrieving revision 1.548
> diff -u -r1.548 usbdevs.h
> --- usbdevs.h 17 Jan 2011 10:29:05 -0000 1.548
> +++ usbdevs.h 30 Jan 2011 03:17:47 -0000
> @@ -1,4 +1,4 @@
> -/* $OpenBSD: usbdevs.h,v 1.548 2011/01/17 10:29:05 kevlo Exp $ */
> +/* $OpenBSD$ */
>
> /*
> * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
> @@ -1214,6 +1214,7 @@
> #define USB_PRODUCT_CONCEPTRONIC2_C54RU 0x3c02 /* C54RU WLAN */
> #define USB_PRODUCT_CONCEPTRONIC2_RT3070_1 0x3c08 /*
> RT3070 */
> #define USB_PRODUCT_CONCEPTRONIC2_RT3070_2 0x3c11 /*
> RT3070 */
> +#define USB_PRODUCT_CONCEPTRONIC2_RT3070_3 0x3c2c /*
> RT3070 */
> #define USB_PRODUCT_CONCEPTRONIC2_C54RU2 0x3c22 /*
> C54RU */
> #define USB_PRODUCT_CONCEPTRONIC2_VIGORN61 0x3c25 /*
> VIGORN61 */
> #define USB_PRODUCT_CONCEPTRONIC2_RT2870_1 0x3c06 /*
> RT2870 */
> Index: usbdevs_data.h
> ===================================================================
> RCS file: /home/tedu/cvs/src/sys/dev/usb/usbdevs_data.h,v
> retrieving revision 1.542
> diff -u -r1.542 usbdevs_data.h
> --- usbdevs_data.h 17 Jan 2011 10:29:05 -0000 1.542
> +++ usbdevs_data.h 30 Jan 2011 03:17:47 -0000
> @@ -1,4 +1,4 @@
> -/* $OpenBSD: usbdevs_data.h,v 1.542 2011/01/17 10:29:05 kevlo Exp $
> */
> +/* $OpenBSD$ */
>
> /*
> * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
> @@ -1663,6 +1663,10 @@
> },
> {
> USB_VENDOR_CONCEPTRONIC2, USB_PRODUCT_CONCEPTRONIC2_RT3070_2,
> + "RT3070",
> + },
> + {
> + USB_VENDOR_CONCEPTRONIC2, USB_PRODUCT_CONCEPTRONIC2_RT3070_3,
> "RT3070",
> },
> {