Hello tech@, I got an ALFA AWUS036NHR ( http://www.alfa.com.tw/products_show.php?pc=34&ps=8 ) which has a RTL8188RU chip supported by the urtwn driver.
When I plugged it in, it attached as ugen, because it has an unknown ID. After adding the ID to usbdevs and then the name given there to if_urtwn.c it works perfectly (transfered several GB in each direction) on my Ultra 30. 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 15 May 2013 23:44:10 -0000 @@ -3373,6 +3373,7 @@ product REALTEK RTL8188CU_1 0x817a RTL81 product REALTEK RTL8188CU_2 0x817b RTL8188CU product REALTEK RTL8192CE 0x817c RTL8192CE product REALTEK RTL8188RU 0x817d RTL8188RU +product REALTEK RTL8188RU_3 0x817f RTL8188RU product REALTEK RTL8188CE_1 0x817e RTL8188CE product REALTEK RTL8187 0x8187 RTL8187 product REALTEK RTL8187B_0 0x8189 RTL8187B Index: if_urtwn.c =================================================================== RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v retrieving revision 1.25 diff -u -p -r1.25 if_urtwn.c --- if_urtwn.c 15 Apr 2013 09:23:01 -0000 1.25 +++ if_urtwn.c 15 May 2013 23:44:43 -0000 @@ -122,6 +122,7 @@ static const struct usb_devno urtwn_devs { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CUS }, { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188RU }, { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188RU_2 }, + { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188RU_3 }, { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8191CU }, { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8192CE }, { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8192CU }, # usbdevs -v Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x1106), rev 1.00 port 1 powered port 2 addr 2: high speed, power 250 mA, config 1, AX88772(0x7720), ASIX Electronics(0x0b95), rev 0.01 port 3 addr 3: high speed, self powered, config 1, USB to ATA/ATAPI bridge(0x2338), JMicron(0x152d), rev 1.00, iSerialNumber 000000000000 port 4 addr 4: high speed, power 500 mA, config 1, ALFA AWUS036NHR(0x817f), (0x0bda), rev 2.00, iSerialNumber 00e04c000001 Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x1106), rev 1.00 port 1 powered port 2 powered Don't know if I did it correctly, but I think people who know have all the info they might need. I did make a diff for the manpage, but didn't test it/don't know if that is all that's needed: Index: urtwn.4 =================================================================== RCS file: /cvs/src/share/man/man4/urtwn.4,v retrieving revision 1.19 diff -u -p -r1.19 urtwn.4 --- urtwn.4 11 May 2013 22:04:21 -0000 1.19 +++ urtwn.4 15 May 2013 23:48:37 -0000 @@ -92,6 +92,7 @@ The following adapters should work: .Pp .Bl -tag -width Ds -offset indent -compact .It Airlink101 AWLL5088 +.lt Alfa AWUS036NHR .It Aus. Linx AL-9604R1S .It B-Link BL-LW05-5R .It Belkin F7D1102 Surf Wireless Micro dmesg with GENERIC from snapshot: console is /pci@1f,4000/ebus@1/se@14,400000:a Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.3-current (GENERIC) #101: Mon May 13 17:27:07 MDT 2013 t...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 536870912 (512MB) avail mem = 515465216 (491MB) mainbus0 at root: Sun Ultra 30 UPA/PCI (UltraSPARC-II 296MHz) cpu0 at mainbus0: SUNW,UltraSPARC-II (rev 2.0) @ 295.984 MHz cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc2000: SUNW,psycho, impl 0, version 4, ign 7c0 psycho0: bus range 0-0, PCI bus 0 psycho0: dvma map fe000000-ffffffff, STC0 enabled pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ivec 0x25 ivec 0x32 "SUNW,pll" at ebus0 addr 504000-504002 not configured uperf0 at ebus0 addr 500000-500007: model SUNW,sc-up (0/0) ports 4 sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2 sabtty0 at sab0 port 0: console sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a wsmouse0 at comms0 mux 0 lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ivec 0x22: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x27 not configured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff, 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0 audio0 at audioce0 hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 08:00:20:d0:b7:3f nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x03: ivec 0x7e0, using 4K of on-board RAM scsibus0 at siop0: 16 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BD0186459A, B016> SCSI3 0/direct fixed eui.00000e11005c833e sd0: 17365MB, 512 bytes/sector, 35565080 sectors sd1 at scsibus0 targ 1 lun 0: <COMPAQ, BD018635C4, B020> SCSI2 0/direct fixed eui.00000e11002170de sd1: 17365MB, 512 bytes/sector, 35565080 sectors cd0 at scsibus0 targ 6 lun 0: <PIONEER, CD-ROM DR-U06S, 1.05> SCSI2 5/cdrom removable psycho1 at mainbus0 addr 0xfffd8000: SUNW,psycho, impl 0, version 4, ign 7c0 psycho1: bus range 128-128, PCI bus 128 psycho1: dvma map fe000000-ffffffff, STC0 enabled, STC1 enabled pci1 at psycho1 uhci0 at pci1 dev 1 function 0 "VIA VT83C572 USB" rev 0x61: ivec 0x7c0 uhci1 at pci1 dev 1 function 1 "VIA VT83C572 USB" rev 0x61: ivec 0x7c1 ehci0 at pci1 dev 1 function 2 "VIA VT6202 USB" rev 0x63: ivec 0x7c2 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 timer0 at mainbus0 addr 0xfffadc00 ivec 0x7ec, 0x7ed creator0 at mainbus0 addr 0xfe4c0000: Elite3D, model SUNW,XXX-XXXX, dac 0 wsdisplay0 at creator0 mux 1 wsdisplay0: screen 0 added (std, sun emulation) siop0: target 0 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers siop0: target 1 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers axe0 at uhub0 port 2 configuration 1 interface 0 "ASIX Electronics AX88772" rev 2.00/0.01 addr 2 axe0: AX88772, address 00:80:c9:00:3c:5b ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI 0x000ec6, model 0x0001 umass0 at uhub0 port 3 configuration 1 interface 0 "JMicron USB to ATA/ATAPI bridge" rev 2.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd2 at scsibus1 targ 1 lun 0: <ST325031, 0AS, > SCSI2 0/direct fixed serial.152d2338000000000000 sd2: 238475MB, 512 bytes/sector, 488397168 sectors ugen0 at uhub0 port 4 " ALFA AWUS036NHR" rev 2.00/2.00 addr 4 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets bootpath: /pci@1f,4000/scsi@3,0/disk@0,0 root on sd0a (e17c09a1f809aa56.a) swap on sd0b dump on sd0b creator0: firmware rev 1.3.11 dmesg with GENERIC and above kernel patches: console is /pci@1f,4000/ebus@1/se@14,400000:a Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.3-current (GENERIC) #0: Thu May 16 03:26:47 CEST 2013 root@XXX:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 536870912 (512MB) avail mem = 515465216 (491MB) mainbus0 at root: Sun Ultra 30 UPA/PCI (UltraSPARC-II 296MHz) cpu0 at mainbus0: SUNW,UltraSPARC-II (rev 2.0) @ 295.986 MHz cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l) psycho0 at mainbus0 addr 0xfffc2000: SUNW,psycho, impl 0, version 4, ign 7c0 psycho0: bus range 0-0, PCI bus 0 psycho0: dvma map fe000000-ffffffff, STC0 enabled pci0 at psycho0 ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003 power0 at ebus0 addr 724000-724003 ivec 0x25 ivec 0x32 "SUNW,pll" at ebus0 addr 504000-504002 not configured uperf0 at ebus0 addr 500000-500007: model SUNW,sc-up (0/0) ports 4 sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2 sabtty0 at sab0 port 0: console sabtty1 at sab0 port 1 comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a wsmouse0 at comms0 mux 0 lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ivec 0x22: polled "fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec 0x27 not configured clock1 at ebus0 addr 0-1fff: mk48t59 "flashprom" at ebus0 addr 0-fffff, 0-fffff not configured audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0 audio0 at audioce0 hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 08:00:20:d0:b7:3f nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1 siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x03: ivec 0x7e0, using 4K of on-board RAM scsibus0 at siop0: 16 targets, initiator 7 sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BD0186459A, B016> SCSI3 0/direct fixed eui.00000e11005c833e sd0: 17365MB, 512 bytes/sector, 35565080 sectors sd1 at scsibus0 targ 1 lun 0: <COMPAQ, BD018635C4, B020> SCSI2 0/direct fixed eui.00000e11002170de sd1: 17365MB, 512 bytes/sector, 35565080 sectors cd0 at scsibus0 targ 6 lun 0: <PIONEER, CD-ROM DR-U06S, 1.05> SCSI2 5/cdrom removable psycho1 at mainbus0 addr 0xfffd8000: SUNW,psycho, impl 0, version 4, ign 7c0 psycho1: bus range 128-128, PCI bus 128 psycho1: dvma map fe000000-ffffffff, STC0 enabled, STC1 enabled pci1 at psycho1 uhci0 at pci1 dev 1 function 0 "VIA VT83C572 USB" rev 0x61: ivec 0x7c0 uhci1 at pci1 dev 1 function 1 "VIA VT83C572 USB" rev 0x61: ivec 0x7c1 ehci0 at pci1 dev 1 function 2 "VIA VT6202 USB" rev 0x63: ivec 0x7c2 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 timer0 at mainbus0 addr 0xfffadc00 ivec 0x7ec, 0x7ed creator0 at mainbus0 addr 0xfe4c0000: Elite3D, model SUNW,XXX-XXXX, dac 0 wsdisplay0 at creator0 mux 1 wsdisplay0: screen 0 added (std, sun emulation) siop0: target 0 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers siop0: target 1 now using tagged 16 bit 20.0 MHz 15 REQ/ACK offset xfers axe0 at uhub0 port 2 configuration 1 interface 0 "ASIX Electronics AX88772" rev 2.00/0.01 addr 2 axe0: AX88772, address 00:80:c9:00:3c:5b ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI 0x000ec6, model 0x0001 umass0 at uhub0 port 3 configuration 1 interface 0 "JMicron USB to ATA/ATAPI bridge" rev 2.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd2 at scsibus1 targ 1 lun 0: <ST325031, 0AS, > SCSI2 0/direct fixed serial.152d2338000000000000 sd2: 238475MB, 512 bytes/sector, 488397168 sectors urtwn0 at uhub0 port 4 " ALFA AWUS036NHR" rev 2.00/2.00 addr 4 urtwn0: MAC/BB RTL8188RU, RF 6052 1T1R, address 00:c0:ca:6a:e1:1a vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets bootpath: /pci@1f,4000/scsi@3,0/disk@0,0 root on sd0a (e17c09a1f809aa56.a) swap on sd0b dump on sd0b creator0: firmware rev 1.3.11 urtwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:c0:ca:6a:e1:1a priority: 4 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "" Thanks for all the great wireless work (and everything else!) in OpenBSD! Regards, Sigi Rudzio