Subject: kern/34654: added USB ID for my Belkin F5D6050 802.11b USB dongles
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <szilagyi@alum.mit.edu>
List: netbsd-bugs
Date: 09/28/2006 18:30:00
>Number:         34654
>Category:       kern
>Synopsis:       my Belkin F5D6050 802.11b USB dongle not detected by atu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 28 18:30:00 +0000 2006
>Originator:     Peter Szilagyi
>Release:        NetBSD 3.0.1
>Organization:
not much
>Environment:
System: NetBSD aptiva.szilagyi 3.0.1 NetBSD 3.0.1 (netbsd) #0: Thu Aug 31 08:12:32 EDT 2006 szilagyi@aptiva:/home/szilagyi/src/netbsd i386
Architecture: i386
Machine: i386
>Description:

atu didn't detect my pile of craptastical 802.11b USB dongles, branded
Belkin F5D6050, because it didn't have their USB IDs in it.

>How-To-Repeat:

Plug some of these craptastical dongles into your system:

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA Technologies(0x1106), rev 1.00
 port 1 addr 2: full speed, power 500 mA, config 1, 2662W-AR Wireless Adapter(0xa002), Standard Microsystems(0x0d5c), rev 1.00
 port 2 addr 3: full speed, power 500 mA, config 1, 2662W-AR Wireless Adapter(0xa002), Standard Microsystems(0x0d5c), rev 1.00

Again, they are branded Belkin F5D6050, no version number.

>Fix:

Based on the USB product ID (same as Lexar 2662WAR), I guessed the
radio and added this entry for my dongles.  This has been working for
me for weeks now, although stats are not reported to wiconfig,
particularly signal strength.

Retrospectively, my guess for the radio matches
http://atmelwlandriver.sourceforge.net/usbtable.html, so yay for me.

Linux at76c503a also works with these dongles.

--- if_atu.c.~1.10~	2006-09-28 11:51:33.000000000 -0400
+++ if_atu.c	2006-09-28 11:50:02.000000000 -0400
@@ -122,6 +122,9 @@
 	  RadioIntersil,	ATU_NO_QUIRK },
 	{ USB_VENDOR_LEXAR,	USB_PRODUCT_LEXAR_2662WAR,
 	  RadioRFMD,		ATU_NO_QUIRK },
+	/* Belkin F5D6050 */
+	{ USB_VENDOR_SMC3,	USB_PRODUCT_SMC3_2662WUSB,
+	  RadioRFMD,		ATU_NO_QUIRK },
 	{ USB_VENDOR_LINKSYS2,	USB_PRODUCT_LINKSYS2_WUSB11,
 	  RadioRFMD,		ATU_NO_QUIRK },
 	{ USB_VENDOR_LINKSYS3,	USB_PRODUCT_LINKSYS3_WUSB11V28,