Hi, I previously sent out a patch for this device support here:
Linkname: 'USB Wireless Micro Adapter IWL 4000 support' - MARC URL: http://marc.info/?l=openbsd-tech&m=135342591418924&w=2 Now I've looked at the usbdevs file a little closer and finally replaced my PJPUK device with something a little more proper, here is patch: Index: if_urtwn.c =================================================================== RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v retrieving revision 1.25 diff -u -p -u -r1.25 if_urtwn.c --- if_urtwn.c 15 Apr 2013 09:23:01 -0000 1.25 +++ if_urtwn.c 11 May 2013 21:36:59 -0000 @@ -83,6 +83,7 @@ static const struct usb_devno urtwn_devs { USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_RTL8188CE_2 }, { USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_RTL8188CU }, { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F7D2102 }, + { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_RTL8192CU_4 }, { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_RTL8188CU }, { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_RTL8192CU }, { USB_VENDOR_CHICONY, USB_PRODUCT_CHICONY_RTL8188CUS_1 }, Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.598 diff -u -p -u -r1.598 usbdevs --- usbdevs 7 Mar 2013 23:39:14 -0000 1.598 +++ usbdevs 11 May 2013 21:39:19 -0000 @@ -1120,6 +1120,7 @@ product BELKIN RTL8188CU 0x1102 RTL8188C product BELKIN F5U120 0x1203 F5U120-PC Hub product BELKIN RTL8192CU 0x2102 RTL8192CU product BELKIN F7D2102 0x2103 F7D2102 +product BELKIN RTL8192CU_4 0x21f2 RTL8192CU product BELKIN ZD1211B 0x4050 ZD1211B product BELKIN F5D5055 0x5055 F5D5055 product BELKIN F5D7050 0x7050 F5D7050 54g USB Network Adapter The particular device doesn't always attach right, as you can see from this grep from my kernel dmesg: urtwn0 at uhub0 port 2 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: could not set configuration no urtwn0 detached urtwn0 at uhub0 port 1 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address ec:1a:59:0d:fa:1c urtwn0 at uhub0 port 1 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: could not set configuration no urtwn0 detached urtwn0 at uhub0 port 1 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: could not set configuration no urtwn0 detached urtwn0 at uhub0 port 2 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: could not set configuration no urtwn0 detached urtwn0 at uhub0 port 1 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address ec:1a:59:0d:fa:1c urtwn0 at uhub0 port 2 "Belkin Components PJPUK" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address ec:1a:59:0d:fa:1c urtwn0 at uhub0 port 2 "Belkin Components RTL8192CU" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address ec:1a:59:0d:fa:1c urtwn0 at uhub0 port 2 "Belkin Components RTL8192CU" rev 2.00/2.00 addr 2 urtwn0: could not set configuration no urtwn0 detached urtwn0 at uhub0 port 1 "Realtek Belkin Wireless Adapter" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address ec:1a:59:0d:fa:1c it sometimes (1 in 3 attempts) bails with "could not set configuration no" I looked at it a little closer and think it's probably in the usb device driver code that it determines this. -peter